swapped copyparty for drawing gallery link on main page; display latest drawing date there too; added drawing gallery link to header and footer

This commit is contained in:
2026-04-26 12:30:15 +02:00
parent 1cc7323c36
commit 9ff26d3c0b
3 changed files with 20 additions and 6 deletions

View File

@@ -28,6 +28,7 @@
<a class="link-level-2" href="/projects/projectn5">Homesick</a> <a class="link-level-2" href="/projects/projectn5">Homesick</a>
<a href="/feed">Feed</a> <a href="/feed">Feed</a>
<a href="/blog">Blog</a> <a href="/blog">Blog</a>
<a href="/drawings">Drawing Gallery</a>
</div> </div>
<div class="content-box"> <div class="content-box">
<h6>Meta</h6> <h6>Meta</h6>
@@ -128,6 +129,7 @@
.commit { .commit {
display: inline; display: inline;
font-size: inherit;
} }
@media screen and (max-width: 800px) { @media screen and (max-width: 800px) {

View File

@@ -3,6 +3,7 @@
<a href="/projects">projects</a> <a href="/projects">projects</a>
<a href="/feed">feed</a> <a href="/feed">feed</a>
<a href="/blog">blog</a> <a href="/blog">blog</a>
<a href="/drawings">drawings</a>
<a href="/meta/about">about</a> <a href="/meta/about">about</a>
{/snippet} {/snippet}

View File

@@ -6,14 +6,17 @@
import { posts as blogPosts } from "./blog/posts"; import { posts as blogPosts } from "./blog/posts";
// import IndieButton from "$lib/components/indie-button.svelte"; // import IndieButton from "$lib/components/indie-button.svelte";
// import { buttons } from "$lib/components/indie-button"; // import { buttons } from "$lib/components/indie-button";
import { getContext, onMount, setContext } from "svelte"; import { onMount } from "svelte";
import { getLatestPostDate } from "./feed/feed"; import { getLatestPostDate } from "./feed/feed";
import { drawings } from "./drawings/drawings";
let latestDevlogDate = devlogPosts[0].post.date; let latestDevlogDate = devlogPosts[0].post.date;
// this only fetches the updated date if the latest post has been updated // this only fetches the updated date if the latest post has been updated
let latestBlogDate = blogPosts[0].post.dateUpdated ?? blogPosts[0].post.date; let latestBlogDate = blogPosts[0].post.dateUpdated ?? blogPosts[0].post.date;
let latestDrawingDate = drawings[drawings.length - 1].date;
let latestStatusContent = $state("fetching status..."); let latestStatusContent = $state("fetching status...");
let latestStatusTimestamp = $state("?"); let latestStatusTimestamp = $state("?");
@@ -124,12 +127,20 @@
link: "blog", link: "blog",
}, },
{ {
title: "Files", title: "Drawing Gallery",
description: "find things I've put for download on my copyparty instance.", description: "a collection of my digital and physical drawings.",
img: "main/hypertext.webp", latestUpdate: latestDrawingDate,
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 brandenbur ger tor!' is displayed.", img: "drawings/banner.webp",
link: "https://files.natconf.dev/public/", altText: "Several Faber-Castell Polychromos colour pencils lined up with markings next to them in the same colour on a sheet of paper.",
link: "drawings",
}, },
// {
// title: "Files",
// 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 brandenbur ger tor!' is displayed.",
// link: "https://files.natconf.dev/public/",
// },
]} /> ]} />
<hr> <hr>