diff --git a/src/lib/components/BackToTop.svelte b/src/lib/components/BackToTop.svelte new file mode 100644 index 0000000..59d8e1b --- /dev/null +++ b/src/lib/components/BackToTop.svelte @@ -0,0 +1,29 @@ + + + + +{#if showButton} +
+ +
+{/if} diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index d81253c..ce217b3 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,5 +1,5 @@ + diff --git a/src/routes/blog/+page.svelte b/src/routes/blog/+page.svelte index c19719d..d5865f2 100644 --- a/src/routes/blog/+page.svelte +++ b/src/routes/blog/+page.svelte @@ -43,7 +43,7 @@ {#if loaded}

my blog on computer science, math, games, art, and more.