diff --git a/src/app.css b/src/app.css index 5ca67e0..06dd7c0 100644 --- a/src/app.css +++ b/src/app.css @@ -1,6 +1,6 @@ @import "tailwindcss"; @plugin "@tailwindcss/typography"; -@config "../tailwind.config.ts"; +@config "$src/../tailwind.config.ts"; @font-face { font-family: 'Lineyka'; @@ -29,4 +29,8 @@ .no-x-scroll { max-width: 100%; overflow-x: hidden; +} + +.hero-background { + @apply bg-[url('/common/background-day.webp')] dark:bg-[url('/common/background-night.webp')] bg-cover bg-fixed; } \ No newline at end of file diff --git a/src/lib/components/HoverIcon.svelte b/src/lib/components/HoverIcon.svelte index c2c5a01..7fbff3c 100644 --- a/src/lib/components/HoverIcon.svelte +++ b/src/lib/components/HoverIcon.svelte @@ -6,17 +6,22 @@ export let src: string | null = null; export let text: string; export let size: number = 32; + export let black: boolean = false; let isUrl; $: isUrl = src?.startsWith('/') || src?.startsWith('http'); -
+
{#if src} {#if isUrl} {text} {:else} - + {/if} {:else} {text} diff --git a/src/lib/components/NavBar.svelte b/src/lib/components/NavBar.svelte new file mode 100644 index 0000000..398decc --- /dev/null +++ b/src/lib/components/NavBar.svelte @@ -0,0 +1,44 @@ + + + + + diff --git a/src/lib/components/SocialHyperlink.svelte b/src/lib/components/SocialHyperlink.svelte index 93920e9..27efb4c 100644 --- a/src/lib/components/SocialHyperlink.svelte +++ b/src/lib/components/SocialHyperlink.svelte @@ -13,9 +13,7 @@ diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte index 244bfd7..0f5e7ab 100644 --- a/src/routes/+error.svelte +++ b/src/routes/+error.svelte @@ -3,11 +3,11 @@ - 404 — Tea Sanctuary + {page.status} — Tea Sanctuary
@@ -25,4 +25,8 @@
- \ No newline at end of file + + + \ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 1aca0ff..ac454fb 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,20 +1,15 @@ @@ -25,16 +20,21 @@ Tea Sanctuary -
- -
+
+ +
+
+ +
-
-
-

- © 2025 Tea Sanctuary -

+
+
+

+ © 2025 Tea Sanctuary +

+
+
-
+
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 67b2cf0..073d202 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -4,10 +4,13 @@ import { PUBLIC_TS_DISCORD } from '$env/static/public'; + + Tea Sanctuary + +
-
@@ -138,13 +141,7 @@