From 98802dc862d54c33bc75bc477a9cbff91917c84b Mon Sep 17 00:00:00 2001 From: SquidSpirit Date: Wed, 23 Jul 2025 03:26:55 +0800 Subject: [PATCH] BLOG-58 feat: add FirstView and SelfTags components, refactor Footer, and update main page structure --- .../src/lib/common/framework/ui/Footer.svelte | 3 - .../lib/home/framework/ui/FirstView.svelte | 17 ++++ .../src/lib/home/framework/ui/SelfTags.svelte | 77 +++++++++++++++++++ frontend-v2/src/routes/+page.svelte | 9 ++- 4 files changed, 101 insertions(+), 5 deletions(-) create mode 100644 frontend-v2/src/lib/home/framework/ui/FirstView.svelte create mode 100644 frontend-v2/src/lib/home/framework/ui/SelfTags.svelte diff --git a/frontend-v2/src/lib/common/framework/ui/Footer.svelte b/frontend-v2/src/lib/common/framework/ui/Footer.svelte index 1f12e13..b0814d1 100644 --- a/frontend-v2/src/lib/common/framework/ui/Footer.svelte +++ b/frontend-v2/src/lib/common/framework/ui/Footer.svelte @@ -1,6 +1,3 @@ - -
+ import SelfTags from '$lib/home/framework/ui/SelfTags.svelte'; + + +
+

Hello 大家好!

+

+ 我是 +
+ Squid +
+ 魷魚 +

+ +
diff --git a/frontend-v2/src/lib/home/framework/ui/SelfTags.svelte b/frontend-v2/src/lib/home/framework/ui/SelfTags.svelte new file mode 100644 index 0000000..b35dd60 --- /dev/null +++ b/frontend-v2/src/lib/home/framework/ui/SelfTags.svelte @@ -0,0 +1,77 @@ + + +
+
+
+ {#each showingTags as tag (tag)} + # {tag} + {/each} +
+
diff --git a/frontend-v2/src/routes/+page.svelte b/frontend-v2/src/routes/+page.svelte index cc88df0..226e475 100644 --- a/frontend-v2/src/routes/+page.svelte +++ b/frontend-v2/src/routes/+page.svelte @@ -1,2 +1,7 @@ -

Welcome to SvelteKit

-

Visit svelte.dev/docs/kit to read the documentation

+ + +
+ +