From 663a0f08b36ce6e3c7b2463e5d57a5623c64a0b4 Mon Sep 17 00:00:00 2001 From: static Date: Sat, 4 Jan 2025 04:15:46 +0900 Subject: [PATCH] =?UTF-8?q?=EB=94=94=EB=A0=89=ED=84=B0=EB=A6=AC=20?= =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=EC=97=90=EC=84=9C,=20=ED=95=AD?= =?UTF-8?q?=EB=AA=A9=EC=9D=B4=20=EB=A7=8E=EC=9D=84=20=EB=95=8C=20=EB=A0=88?= =?UTF-8?q?=EC=9D=B4=EC=95=84=EC=9B=83=EC=9D=B4=20=EA=B9=A8=EC=A7=80?= =?UTF-8?q?=EB=8D=98=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/components/TopBar.svelte | 2 +- .../components/buttons/FloatingButton.svelte | 32 +++++++++++++------ src/routes/(main)/+layout.svelte | 8 +++-- src/routes/(main)/BottomBar.svelte | 10 +++--- .../(main)/directory/[[id]]/+page.svelte | 19 ++++++----- 5 files changed, 43 insertions(+), 28 deletions(-) diff --git a/src/lib/components/TopBar.svelte b/src/lib/components/TopBar.svelte index de2346e..38dc550 100644 --- a/src/lib/components/TopBar.svelte +++ b/src/lib/components/TopBar.svelte @@ -16,7 +16,7 @@ }); -
+
diff --git a/src/lib/components/buttons/FloatingButton.svelte b/src/lib/components/buttons/FloatingButton.svelte index 823af8d..4d5ee0f 100644 --- a/src/lib/components/buttons/FloatingButton.svelte +++ b/src/lib/components/buttons/FloatingButton.svelte @@ -1,22 +1,36 @@ + let { bottom = "bottom-20", icon: Icon, onclick }: Props = $props(); - + }; + + +
+
+ +
+
+ +
+
+
+
+
diff --git a/src/routes/(main)/+layout.svelte b/src/routes/(main)/+layout.svelte index 0bebf88..f726970 100644 --- a/src/routes/(main)/+layout.svelte +++ b/src/routes/(main)/+layout.svelte @@ -6,8 +6,10 @@
- - {@render children()} - +
+ + {@render children()} + +
diff --git a/src/routes/(main)/BottomBar.svelte b/src/routes/(main)/BottomBar.svelte index f0c14db..3360a75 100644 --- a/src/routes/(main)/BottomBar.svelte +++ b/src/routes/(main)/BottomBar.svelte @@ -19,14 +19,14 @@ // TODO: Navigation -
+
{#each pages as { path, label, icon: Icon }} - {@const isCurrent = page.url.pathname.startsWith(path)} -