diff --git a/src/lib/components/changelog-entry.svelte b/src/lib/components/changelog-entry.svelte
new file mode 100644
index 0000000..a477f1f
--- /dev/null
+++ b/src/lib/components/changelog-entry.svelte
@@ -0,0 +1,57 @@
+
+
+
+
{entry.date}, {entry.time} ::
+
+ {entry.content}
+ {#if entry.link}
+ »
+ {/if}
+
+
+
+
\ No newline at end of file
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index e281a46..7856cd6 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -5,7 +5,8 @@
import { posts as devlogPosts } from "./projects/projectn5/devlog/posts";
import { posts as blogPosts } from "./blog/posts";
- import { entries as changelogEntries, type ChangelogEntry } from "./changelog";
+ import { entries as changelogEntries } from "./changelog/changelog";
+ import ChangelogEntry from "$lib/components/changelog-entry.svelte";
let latestDevlogDate = devlogPosts[0].post.date;
let latestBlogDate = blogPosts[0].post.date;
@@ -49,18 +50,6 @@
-
{entry.date}, {entry.time} ::
-
- {entry.content}
- {#if entry.link}
- »
- {/if}
-
-
-{/snippet}
-
Moin! ~ welcome to my website :)
@@ -70,13 +59,13 @@
Hi! I'm Deniz (he/him/they). I'm a hobbyist programmer based in 🇩🇪 Northern Germany who does coding, 3D modelling, and sometimes music too. I am also studying to become a secondary school teacher. Welcome to my webpage!
Here I publish my projects in programming, electronics (Arduino, Raspberry Pi etc.), and gamedev specifically, but I also set up a blog to talk about random things on my mind. Feel free to explore.
- 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.
+ 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! I'm also adding new things and seeing which things I enjoy maintaining. If anything's outright broken, please do let me know.
-
+
{#each changelogEntriesTrimmed as entry}
- {@render changelogEntry({entry})}
+
{/each}
@@ -99,41 +88,18 @@
padding: 8px 24px;
border: 2px var(--color-highlight) dashed;
}
+
+ .changelog-header-link {
+ text-decoration: none;
+ }
+ .changelog-header-link:hover {
+ text-decoration: underline dashed 2px var(--color-highlight);
+ }
.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;
- }
-
- .changelog-entry-link:hover {
- font-weight: 700;
- }
-
.webring-container {
display: flex;
flex-direction: row;
diff --git a/src/routes/changelog/+page.svelte b/src/routes/changelog/+page.svelte
new file mode 100644
index 0000000..78fb8c3
--- /dev/null
+++ b/src/routes/changelog/+page.svelte
@@ -0,0 +1,21 @@
+
+
+
+ Changelog | denizk0461
+
+
+
+
+
+
+ {#each entries as entry}
+
+ {/each}
+
+
\ No newline at end of file
diff --git a/src/routes/changelog.ts b/src/routes/changelog/changelog.ts
similarity index 69%
rename from src/routes/changelog.ts
rename to src/routes/changelog/changelog.ts
index 59a0a93..3fa1272 100644
--- a/src/routes/changelog.ts
+++ b/src/routes/changelog/changelog.ts
@@ -1,10 +1,4 @@
-export interface ChangelogEntry {
- date: string;
- time: string;
-
- content: string;
- link?: string;
-}
+import { type ChangelogEntry } from "$lib/components/changelog-entry.svelte";
export const entries: ChangelogEntry[] = [
{