From 4739326cb2d47a3e0212f9bbe635e482d8c12ee2 Mon Sep 17 00:00:00 2001 From: denizk0461 Date: Tue, 3 Feb 2026 22:22:53 +0100 Subject: [PATCH] added new GalleryRow for main page links; added Gitea to main page links --- src/lib/lists/gallery-row.svelte | 94 +++++++++++++++++++++++++ src/routes/+page.svelte | 36 ++++++---- static/main/3ds.webp | Bin 0 -> 118232 bytes static/{common => main}/hypertext.webp | Bin static/main/magic.webp | Bin 0 -> 121820 bytes static/projects/project-mix.webp | Bin 74838 -> 0 bytes 6 files changed, 118 insertions(+), 12 deletions(-) create mode 100644 src/lib/lists/gallery-row.svelte create mode 100644 static/main/3ds.webp rename static/{common => main}/hypertext.webp (100%) create mode 100644 static/main/magic.webp delete mode 100644 static/projects/project-mix.webp diff --git a/src/lib/lists/gallery-row.svelte b/src/lib/lists/gallery-row.svelte new file mode 100644 index 0000000..468e39a --- /dev/null +++ b/src/lib/lists/gallery-row.svelte @@ -0,0 +1,94 @@ + + +
+ {#each entries as entry} + +
+ {entry.altText} +
+
+

> {entry.title}

+

{@html entry.description}

+
+
+ {/each} +
+ + \ No newline at end of file diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 7856cd6..4bb2013 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -2,6 +2,7 @@ import Content from "$lib/viewport/content.svelte"; import GamedevWebring from "$lib/webrings/gamedev.svelte"; import Gallery, { type GalleryEntry } from "$lib/lists/gallery.svelte"; + import GalleryRow, { type GalleryRowEntry } from "$lib/lists/gallery-row.svelte"; import { posts as devlogPosts } from "./projects/projectn5/devlog/posts"; import { posts as blogPosts } from "./blog/posts"; @@ -13,35 +14,45 @@ let changelogEntriesTrimmed = changelogEntries.slice(0, 4); - const galleryEntries: GalleryEntry[] = [ + const galleryTopRow: GalleryRowEntry[] = [ { title: "Project N5 – devlog", - subtitle: `my active Godot game project about finding yourself in an unfamiliar future. latest update: ${latestDevlogDate}`, + description: `My active Godot game project about finding yourself in an unfamiliar future. latest update: ${latestDevlogDate}`, img: "projects/projectn5/devlog/2025/0523/birds_eye.webp", - imgAlt: "Project N5 screenshot of Laura looking down at two cuboids", + altText: "Project N5 screenshot of Laura looking down at two cuboids.", link: "projects/projectn5", }, { title: "Projects", - subtitle: "an overview of what I do and have done", - img: "projects/project-mix.webp", - imgAlt: "A collage of multiple projects: the Unity default third-person character and CJ from GTA San Andreas in the top left; purple protagonist from Project N5 holding a massive rocket launcher in the top right; two wizards in the bottom left; a breadboard with a microcontroller and input components in the bottom right", + description: "An overview of what I do and have done", + img: "main/3ds.webp", + altText: "An upside-down New 3DS XL lying open on a desk. A small USB-C breakout board is attached to the 3DS, and a USB-C cable is plugged in. The 3DS is glowing to indicate that it is charging.", link: "projects", }, + ]; + + const galleryBottomRow: GalleryRowEntry[] = [ { title: "Blog", - subtitle: `A place where I write about random things. latest post: ${latestBlogDate}`, + description: `A place where I write about random things. latest post: ${latestBlogDate}`, img: "blog/robert.webp", - imgAlt: "View at a tram bridge rising and then curving to the left.", + altText: "View at a tram bridge rising and then curving to the left.", link: "blog", }, { title: "Files", - subtitle: "find things I've put for download on my copyparty instance", - img: "common/hypertext.webp", - imgAlt: "Screenshot of Hypertext Unity level. Crates are strewn across the floor, Waluigi is flying in front of the camera, and text such as 'COME AND TRY OUR ALL-NEW BLENDER' and 'omg! it's the brandenburg er tor!' is displayed", + description: "Find things I've put for download on my Copyparty instance", + img: "main/hypertext.webp", + altText: "Screenshot of Hypertext Unity level. Crates are strewn across the floor, Waluigi is flying in front of the camera, and text such as 'COME AND TRY OUR ALL-NEW BLENDER' and 'omg! it's the brandenburg er tor!' is displayed.", link: "//files.denizk0461.dev/", }, + { + title: "Gitea", + description: "I now also self-host a Gitea instance where I am likely migrating all my projects to", + img: "main/magic.webp", + altText: "A 'magic' command written in Java. The command shuts down the computer when ran.", + link: "//code.denizk0461.dev/", + }, ]; @@ -73,7 +84,8 @@ - + +