sorted project assets into new folder structure and added (temporary?) banners for all projects

This commit is contained in:
2026-04-09 21:56:23 +02:00
parent 9bc15030b3
commit 8647da389d
19 changed files with 16 additions and 23 deletions

View File

@@ -49,6 +49,7 @@
color: var(--color-text); color: var(--color-text);
padding: 4px 12px; padding: 4px 12px;
margin: 0; margin: 0;
font-weight: 600;
border-top: var(--border-style) var(--border-dash-size) var(--color-highlight-alt); border-top: var(--border-style) var(--border-dash-size) var(--color-highlight-alt);
border-bottom: var(--border-style) var(--border-dash-size) var(--color-highlight-alt); border-bottom: var(--border-style) var(--border-dash-size) var(--color-highlight-alt);

View File

@@ -3,17 +3,8 @@ import { projects, type Project } from '../../projects2';
export async function load({ params }) { export async function load({ params }) {
const post = await import(`../../${params.category}/${params.id}.md`); const post = await import(`../../${params.category}/${params.id}.md`);
// const tag: string = `${params.year}/${params.date}`; // link to the page. not to be confused with tags. i know it's confusing naming const projectDetails: Project = projects.find((p: Project) => p.category.toString() == params.category.toString() && p.id == params.id)!;
const projectDetails = projects.find((p: Project) => p.category.toString() == params.category.toString() && p.id == params.id);
const content = post.default; const content = post.default;
// const title: string = postValues?.title ?? "";
// const subtitle: string = postValues?.subtitle ?? "";
// const date: string = postValues?.date ?? "";
// const dateUpdated: string = postValues?.dateUpdated ?? "";
// const time: string = postValues?.time ?? "";
// const banner: string = postValues?.banner ?? "";
// const description: string = postValues?.description ?? "";
// const tags: BlogPostTag[] = postValues?.tags ?? []; // blog post tags. should be renamed 'keywords'
return { return {
content, content,

View File

@@ -9,6 +9,7 @@ export interface Project {
description: string; description: string;
isOngoing: boolean; // whether the project is currently active (true) or a past project (false) isOngoing: boolean; // whether the project is currently active (true) or a past project (false)
date: string; date: string;
dateUpdated?: string;
status: ProjectStatus; status: ProjectStatus;
links: Link[]; // may pass an empty array links: Link[]; // may pass an empty array
isHighlight?: boolean; isHighlight?: boolean;
@@ -128,7 +129,7 @@ export const projects: Project[] = [
{ {
category: ProjectCategory.GAMES, category: ProjectCategory.GAMES,
id: "magician", id: "magician",
banner: "/projects/magician/banner.webp", banner: "banner.webp",
bannerAlt: "", bannerAlt: "",
title: "Magician", title: "Magician",
subtitle: "Online Multiplayer Card Game", subtitle: "Online Multiplayer Card Game",
@@ -146,7 +147,7 @@ export const projects: Project[] = [
{ {
category: ProjectCategory.GAMES, category: ProjectCategory.GAMES,
id: "projektike", id: "projektike",
banner: "/projects/projektike/banner.webp", banner: "banner.webp",
bannerAlt: "", bannerAlt: "",
title: "Projektike", title: "Projektike",
subtitle: "Local PvP Game", subtitle: "Local PvP Game",
@@ -162,7 +163,7 @@ export const projects: Project[] = [
{ {
category: ProjectCategory.ELECTRONICS, category: ProjectCategory.ELECTRONICS,
id: "3ds-usb-c", id: "3ds-usb-c",
banner: "", banner: "finished.webp",
bannerAlt: "", bannerAlt: "",
title: "3DS USB-C mod", title: "3DS USB-C mod",
subtitle: "DIY charging port mod", subtitle: "DIY charging port mod",
@@ -198,7 +199,7 @@ export const projects: Project[] = [
{ {
category: ProjectCategory.ELECTRONICS, category: ProjectCategory.ELECTRONICS,
id: "deej0461", id: "deej0461",
banner: "", banner: "finished.webp",
bannerAlt: "", bannerAlt: "",
title: "deej0461", title: "deej0461",
subtitle: "PC companion audio source controller", subtitle: "PC companion audio source controller",
@@ -212,7 +213,7 @@ export const projects: Project[] = [
{ {
category: ProjectCategory.APPS, category: ProjectCategory.APPS,
id: "weserplaner", id: "weserplaner",
banner: "/projects/weserplaner/banner.webp", banner: "banner.webp",
bannerAlt: "", bannerAlt: "",
title: "WeserPlaner", title: "WeserPlaner",
subtitle: "University Timetable & Canteen Info App", subtitle: "University Timetable & Canteen Info App",
@@ -236,7 +237,7 @@ export const projects: Project[] = [
{ {
category: ProjectCategory.APPS, category: ProjectCategory.APPS,
id: "textbasic", id: "textbasic",
banner: "", banner: "icon.webp",
bannerAlt: "", bannerAlt: "",
title: "Text Basic", title: "Text Basic",
subtitle: "Extremely Basic Text Widget App", subtitle: "Extremely Basic Text Widget App",
@@ -258,7 +259,7 @@ export const projects: Project[] = [
{ {
category: ProjectCategory.GAMES, category: ProjectCategory.GAMES,
id: "swordsnstuff", id: "swordsnstuff",
banner: "/projects/swordsnstuff/banner.webp", banner: "banner.webp",
bannerAlt: "", bannerAlt: "",
title: "Swords & Stuff", title: "Swords & Stuff",
subtitle: "Unity 2D RPG", subtitle: "Unity 2D RPG",
@@ -276,7 +277,7 @@ export const projects: Project[] = [
{ {
category: ProjectCategory.GAMES, category: ProjectCategory.GAMES,
id: "tads", id: "tads",
banner: "/projects/tads/banner.webp", banner: "banner.webp",
bannerAlt: "", bannerAlt: "",
title: "Totally Accurate Dating Simulator", title: "Totally Accurate Dating Simulator",
subtitle: "HTML Text Adventure", subtitle: "HTML Text Adventure",
@@ -300,7 +301,7 @@ export const projects: Project[] = [
{ {
category: ProjectCategory.MUSIC, category: ProjectCategory.MUSIC,
id: "dreamworld", id: "dreamworld",
banner: "/projects/dreamworld/banner.webp", banner: "banner.webp",
bannerAlt: "", bannerAlt: "",
title: "Dreamworld", title: "Dreamworld",
subtitle: "My First Album", subtitle: "My First Album",
@@ -320,7 +321,7 @@ export const projects: Project[] = [
{ {
category: ProjectCategory.APPS, category: ProjectCategory.APPS,
id: "qwark", id: "qwark",
banner: "", banner: "icon.webp",
bannerAlt: "", bannerAlt: "",
title: "Qwark Grade Log", title: "Qwark Grade Log",
subtitle: "Grade Logging App", subtitle: "Grade Logging App",
@@ -338,7 +339,7 @@ export const projects: Project[] = [
{ {
category: ProjectCategory.APPS, category: ProjectCategory.APPS,
id: "avhplan", id: "avhplan",
banner: "", banner: "icon.webp",
bannerAlt: "", bannerAlt: "",
title: "AvH-Vertretungsplan", title: "AvH-Vertretungsplan",
subtitle: "Substitution Plan App", subtitle: "Substitution Plan App",
@@ -362,7 +363,7 @@ export const projects: Project[] = [
{ {
category: ProjectCategory.MUSIC, category: ProjectCategory.MUSIC,
id: "anewbeginning", id: "anewbeginning",
banner: "", banner: "cover.webp",
bannerAlt: "", bannerAlt: "",
title: "A New Beginning", title: "A New Beginning",
subtitle: "Coming-of-age EP", subtitle: "Coming-of-age EP",
@@ -382,7 +383,7 @@ export const projects: Project[] = [
{ {
category: ProjectCategory.MUSIC, category: ProjectCategory.MUSIC,
id: "soundcloud", id: "soundcloud",
banner: "", banner: "icon2.webp",
bannerAlt: "", bannerAlt: "",
title: "Soundcloud", title: "Soundcloud",
subtitle: "Demo Dump & Archive", subtitle: "Demo Dump & Archive",

View File

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

View File

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View File

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 102 KiB

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 180 KiB

After

Width:  |  Height:  |  Size: 180 KiB

View File

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

View File

Before

Width:  |  Height:  |  Size: 135 KiB

After

Width:  |  Height:  |  Size: 135 KiB

View File

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB