From 8233c4c49bbd96d61056e3079f8ff3889013a949 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sat, 6 Apr 2024 01:01:15 -0700 Subject: [PATCH] feat: add back to top button and view archived link --- src/lib/components/BackToTop.svelte | 2 +- src/lib/components/Blog/PostCard.svelte | 2 +- src/routes/+page.svelte | 2 +- src/routes/blog/+page.svelte | 7 +++++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/lib/components/BackToTop.svelte b/src/lib/components/BackToTop.svelte index 59d8e1b..4a20ab2 100644 --- a/src/lib/components/BackToTop.svelte +++ b/src/lib/components/BackToTop.svelte @@ -24,6 +24,6 @@ {#if showButton}
- +
{/if} diff --git a/src/lib/components/Blog/PostCard.svelte b/src/lib/components/Blog/PostCard.svelte index 11a931b..a860079 100644 --- a/src/lib/components/Blog/PostCard.svelte +++ b/src/lib/components/Blog/PostCard.svelte @@ -10,7 +10,7 @@ -

{doc.title}

+

{doc.title}

{doc.blurb}


-

I'm building and designing software, for humans.

+

Building and designing libre software, for everyone.

diff --git a/src/routes/blog/+page.svelte b/src/routes/blog/+page.svelte index 26ae687..a97913c 100644 --- a/src/routes/blog/+page.svelte +++ b/src/routes/blog/+page.svelte @@ -11,6 +11,7 @@ import { onMount } from 'svelte'; import PostCard from '$lib/components/Blog/PostCard.svelte'; import { faker } from '@faker-js/faker'; + import Button from '$lib/components/ui/button/button.svelte'; let loaded = false; @@ -47,8 +48,10 @@ > my blog on computer science, math, games, art, and more.

- - all + + Archived Posts