sorted project assets into new folder structure and added (temporary?) banners for all projects
@@ -49,6 +49,7 @@
|
||||
color: var(--color-text);
|
||||
padding: 4px 12px;
|
||||
margin: 0;
|
||||
font-weight: 600;
|
||||
|
||||
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);
|
||||
|
||||
@@ -3,17 +3,8 @@ import { projects, type Project } from '../../projects2';
|
||||
export async function load({ params }) {
|
||||
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 = projects.find((p: Project) => p.category.toString() == params.category.toString() && p.id == params.id);
|
||||
const projectDetails: Project = projects.find((p: Project) => p.category.toString() == params.category.toString() && p.id == params.id)!;
|
||||
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 {
|
||||
content,
|
||||
|
||||
@@ -9,6 +9,7 @@ export interface Project {
|
||||
description: string;
|
||||
isOngoing: boolean; // whether the project is currently active (true) or a past project (false)
|
||||
date: string;
|
||||
dateUpdated?: string;
|
||||
status: ProjectStatus;
|
||||
links: Link[]; // may pass an empty array
|
||||
isHighlight?: boolean;
|
||||
@@ -128,7 +129,7 @@ export const projects: Project[] = [
|
||||
{
|
||||
category: ProjectCategory.GAMES,
|
||||
id: "magician",
|
||||
banner: "/projects/magician/banner.webp",
|
||||
banner: "banner.webp",
|
||||
bannerAlt: "",
|
||||
title: "Magician",
|
||||
subtitle: "Online Multiplayer Card Game",
|
||||
@@ -146,7 +147,7 @@ export const projects: Project[] = [
|
||||
{
|
||||
category: ProjectCategory.GAMES,
|
||||
id: "projektike",
|
||||
banner: "/projects/projektike/banner.webp",
|
||||
banner: "banner.webp",
|
||||
bannerAlt: "",
|
||||
title: "Projektike",
|
||||
subtitle: "Local PvP Game",
|
||||
@@ -162,7 +163,7 @@ export const projects: Project[] = [
|
||||
{
|
||||
category: ProjectCategory.ELECTRONICS,
|
||||
id: "3ds-usb-c",
|
||||
banner: "",
|
||||
banner: "finished.webp",
|
||||
bannerAlt: "",
|
||||
title: "3DS USB-C mod",
|
||||
subtitle: "DIY charging port mod",
|
||||
@@ -198,7 +199,7 @@ export const projects: Project[] = [
|
||||
{
|
||||
category: ProjectCategory.ELECTRONICS,
|
||||
id: "deej0461",
|
||||
banner: "",
|
||||
banner: "finished.webp",
|
||||
bannerAlt: "",
|
||||
title: "deej0461",
|
||||
subtitle: "PC companion audio source controller",
|
||||
@@ -212,7 +213,7 @@ export const projects: Project[] = [
|
||||
{
|
||||
category: ProjectCategory.APPS,
|
||||
id: "weserplaner",
|
||||
banner: "/projects/weserplaner/banner.webp",
|
||||
banner: "banner.webp",
|
||||
bannerAlt: "",
|
||||
title: "WeserPlaner",
|
||||
subtitle: "University Timetable & Canteen Info App",
|
||||
@@ -236,7 +237,7 @@ export const projects: Project[] = [
|
||||
{
|
||||
category: ProjectCategory.APPS,
|
||||
id: "textbasic",
|
||||
banner: "",
|
||||
banner: "icon.webp",
|
||||
bannerAlt: "",
|
||||
title: "Text Basic",
|
||||
subtitle: "Extremely Basic Text Widget App",
|
||||
@@ -258,7 +259,7 @@ export const projects: Project[] = [
|
||||
{
|
||||
category: ProjectCategory.GAMES,
|
||||
id: "swordsnstuff",
|
||||
banner: "/projects/swordsnstuff/banner.webp",
|
||||
banner: "banner.webp",
|
||||
bannerAlt: "",
|
||||
title: "Swords & Stuff",
|
||||
subtitle: "Unity 2D RPG",
|
||||
@@ -276,7 +277,7 @@ export const projects: Project[] = [
|
||||
{
|
||||
category: ProjectCategory.GAMES,
|
||||
id: "tads",
|
||||
banner: "/projects/tads/banner.webp",
|
||||
banner: "banner.webp",
|
||||
bannerAlt: "",
|
||||
title: "Totally Accurate Dating Simulator",
|
||||
subtitle: "HTML Text Adventure",
|
||||
@@ -300,7 +301,7 @@ export const projects: Project[] = [
|
||||
{
|
||||
category: ProjectCategory.MUSIC,
|
||||
id: "dreamworld",
|
||||
banner: "/projects/dreamworld/banner.webp",
|
||||
banner: "banner.webp",
|
||||
bannerAlt: "",
|
||||
title: "Dreamworld",
|
||||
subtitle: "My First Album",
|
||||
@@ -320,7 +321,7 @@ export const projects: Project[] = [
|
||||
{
|
||||
category: ProjectCategory.APPS,
|
||||
id: "qwark",
|
||||
banner: "",
|
||||
banner: "icon.webp",
|
||||
bannerAlt: "",
|
||||
title: "Qwark Grade Log",
|
||||
subtitle: "Grade Logging App",
|
||||
@@ -338,7 +339,7 @@ export const projects: Project[] = [
|
||||
{
|
||||
category: ProjectCategory.APPS,
|
||||
id: "avhplan",
|
||||
banner: "",
|
||||
banner: "icon.webp",
|
||||
bannerAlt: "",
|
||||
title: "AvH-Vertretungsplan",
|
||||
subtitle: "Substitution Plan App",
|
||||
@@ -362,7 +363,7 @@ export const projects: Project[] = [
|
||||
{
|
||||
category: ProjectCategory.MUSIC,
|
||||
id: "anewbeginning",
|
||||
banner: "",
|
||||
banner: "cover.webp",
|
||||
bannerAlt: "",
|
||||
title: "A New Beginning",
|
||||
subtitle: "Coming-of-age EP",
|
||||
@@ -382,7 +383,7 @@ export const projects: Project[] = [
|
||||
{
|
||||
category: ProjectCategory.MUSIC,
|
||||
id: "soundcloud",
|
||||
banner: "",
|
||||
banner: "icon2.webp",
|
||||
bannerAlt: "",
|
||||
title: "Soundcloud",
|
||||
subtitle: "Demo Dump & Archive",
|
||||
|
||||
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 180 KiB After Width: | Height: | Size: 180 KiB |
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 135 KiB After Width: | Height: | Size: 135 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
BIN
static/projects/music/soundcloud/icon2.webp
Normal file
|
After Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 132 KiB |