From 43f0245ff9d5959e18114a96829fe122e9b0bcbc Mon Sep 17 00:00:00 2001 From: static Date: Tue, 28 Jan 2025 23:34:21 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=86=8C=ED=95=9C=20=EB=A6=AC?= =?UTF-8?q?=ED=8C=A9=ED=86=A0=EB=A7=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../organisms/modals/TextInputModal.svelte | 2 +- src/routes/(main)/+layout.svelte | 8 ++---- src/routes/(main)/BottomBar.svelte | 28 +++++++++---------- 3 files changed, 17 insertions(+), 21 deletions(-) diff --git a/src/lib/components/organisms/modals/TextInputModal.svelte b/src/lib/components/organisms/modals/TextInputModal.svelte index 9131a11..e1fd2c4 100644 --- a/src/lib/components/organisms/modals/TextInputModal.svelte +++ b/src/lib/components/organisms/modals/TextInputModal.svelte @@ -22,7 +22,7 @@ title, }: Props = $props(); - let value = $state(defaultValue); + let value = $state(""); $effect.pre(() => { if (isOpen) { diff --git a/src/routes/(main)/+layout.svelte b/src/routes/(main)/+layout.svelte index e58d5e1..50c9af4 100644 --- a/src/routes/(main)/+layout.svelte +++ b/src/routes/(main)/+layout.svelte @@ -6,10 +6,8 @@
-
- - {@render children()} - -
+ + {@render children()} +
diff --git a/src/routes/(main)/BottomBar.svelte b/src/routes/(main)/BottomBar.svelte index d3e7a74..51d5d2d 100644 --- a/src/routes/(main)/BottomBar.svelte +++ b/src/routes/(main)/BottomBar.svelte @@ -19,20 +19,18 @@
- -
- {#each pages as { path, label, icon: Icon }} - {@const textColor = !page.url.pathname.startsWith(path) ? "text-gray-600" : ""} - - {/each} -
+ + {#each pages as { path, label, icon: Icon }} + {@const textColor = !page.url.pathname.startsWith(path) ? "text-gray-600" : ""} + + {/each}