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:
@@ -6,14 +6,17 @@
|
||||
import { posts as blogPosts } from "./blog/posts";
|
||||
// import IndieButton from "$lib/components/indie-button.svelte";
|
||||
// import { buttons } from "$lib/components/indie-button";
|
||||
import { getContext, onMount, setContext } from "svelte";
|
||||
import { onMount } from "svelte";
|
||||
import { getLatestPostDate } from "./feed/feed";
|
||||
import { drawings } from "./drawings/drawings";
|
||||
|
||||
let latestDevlogDate = devlogPosts[0].post.date;
|
||||
|
||||
// this only fetches the updated date if the latest post has been updated
|
||||
let latestBlogDate = blogPosts[0].post.dateUpdated ?? blogPosts[0].post.date;
|
||||
|
||||
let latestDrawingDate = drawings[drawings.length - 1].date;
|
||||
|
||||
let latestStatusContent = $state("fetching status...");
|
||||
let latestStatusTimestamp = $state("?");
|
||||
|
||||
@@ -124,12 +127,20 @@
|
||||
link: "blog",
|
||||
},
|
||||
{
|
||||
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/",
|
||||
title: "Drawing Gallery",
|
||||
description: "a collection of my digital and physical drawings.",
|
||||
latestUpdate: latestDrawingDate,
|
||||
img: "drawings/banner.webp",
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user