From 730ec4bc24cb9976fa891cda57aeaba081e98a59 Mon Sep 17 00:00:00 2001 From: denizk0461 Date: Mon, 2 Feb 2026 20:09:18 +0100 Subject: [PATCH] added changelog --- src/routes/+page.svelte | 58 ++++++++++++++++++++++++++++++++++++++++- src/routes/changelog.ts | 16 ++++++++++++ 2 files changed, 73 insertions(+), 1 deletion(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 93ee29f..64a0a89 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -5,10 +5,13 @@ import { posts as devlogPosts } from "./projects/projectn5/devlog/posts"; import { posts as blogPosts } from "./blog/posts"; + import { entries as changelogEntries, type ChangelogEntry } from "./changelog"; let latestDevlogDate = devlogPosts[0].post.date; let latestBlogDate = blogPosts[0].post.date; + let changelogEntriesTrimmed = changelogEntries.slice(0, 4); + const galleryEntries: GalleryEntry[] = [ { title: "Project N5 – devlog", @@ -46,6 +49,18 @@ +{#snippet changelogEntry({ entry }: { entry: ChangelogEntry })} +
+ +

+ {entry.content} + {#if entry.link} + » + {/if} +

+
+{/snippet} +

Moin! ~ welcome to my website :)

@@ -58,6 +73,13 @@

This place is a constant work-in-progress – while I try to keep URLs intact, a lot of stuff is being modified and moved around! If anything's broken, please do let me know.

+
+
website changelog (new!)
+ {#each changelogEntriesTrimmed as entry} + {@render changelogEntry({entry})} + {/each} +
+
@@ -69,11 +91,45 @@ .me-img { width: 110px; min-width: 110px; - /* margin-top: 12px; */ float: left; margin-right: 12px; } + .changelog-container { + padding: 8px 24px; + border: 2px var(--color-highlight) dashed; + } + + .changelog-header { + margin-top: 8px; + } + + .changelog-entry * { + margin: 0; + } + + .changelog-entry { + display: flex; + flex-direction: row; + gap: 8px; + margin: 4px 0; + } + + .changelog-entry-timestamp { + font-family: var(--font-mono); + font-size: 0.9rem; + color: var(--color-highlight); + min-width: fit-content; + } + + .changelog-entry-link { + font-family: var(--font-mono); + font-size: 1.3rem; + color: var(--color-highlight); + text-decoration: none; + line-height: 1rem; + } + .webring-container { display: flex; flex-direction: row; diff --git a/src/routes/changelog.ts b/src/routes/changelog.ts index e69de29..59a0a93 100644 --- a/src/routes/changelog.ts +++ b/src/routes/changelog.ts @@ -0,0 +1,16 @@ +export interface ChangelogEntry { + date: string; + time: string; + + content: string; + link?: string; +} + +export const entries: ChangelogEntry[] = [ + { + date: "2026-02-02", + time: "19:30", + content: "updated some texts and moved my contact info to the about page. also created this changelog!", + link: "/meta/about", + }, +]; \ No newline at end of file