From 3955fbabc9ed05116be07c9f659cd550734f8593 Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Mon, 9 Feb 2026 01:24:23 +0300 Subject: go FAST --- src/app.html | 3 +- src/lib/components/Giscus.svelte | 88 +++---------------------- src/lib/components/PostCard.svelte | 2 +- src/lib/components/ThemeToggle.svelte | 118 ++++++++++++---------------------- src/lib/styles/global.css | 12 ++++ src/lib/styles/global.pruned.css | 12 ++++ src/routes/+layout.svelte | 42 +----------- src/routes/+layout.ts | 1 + static/boot.js | 84 ++++++++++++++++++++++++ static/favicon.svg | 1 + static/giscus-loader.js | 90 ++++++++++++++++++++++++++ svelte.config.js | 2 +- 12 files changed, 254 insertions(+), 201 deletions(-) create mode 100644 static/boot.js create mode 100644 static/favicon.svg create mode 100644 static/giscus-loader.js diff --git a/src/app.html b/src/app.html index 60ddb65..e9369b4 100644 --- a/src/app.html +++ b/src/app.html @@ -19,10 +19,11 @@ } })(); + %sveltekit.head% - +
%sveltekit.body%
diff --git a/src/lib/components/Giscus.svelte b/src/lib/components/Giscus.svelte index 3179764..4caf6e7 100644 --- a/src/lib/components/Giscus.svelte +++ b/src/lib/components/Giscus.svelte @@ -1,83 +1,11 @@ - - -
- {#if !hasLoaded} - - {/if} - -
-
+ + + + +
+ +
+