From c748913d5ace3ae0970c0c5f9eac35448fbf1dfb Mon Sep 17 00:00:00 2001 From: Bit-Barron Date: Tue, 29 Oct 2024 04:24:26 +0100 Subject: [PATCH] clean up --- .../components/container/navbar/navbar.svelte | 3 + src/lib/components/ui/badge/badge.svelte | 18 +++++ src/lib/components/ui/badge/index.ts | 22 ++++++ src/lib/components/utils/theme-switch.svelte | 17 +++++ src/routes/(home)/+page.svelte | 2 + src/routes/(home)/pricing/+page.svelte | 75 ++++++++----------- 6 files changed, 95 insertions(+), 42 deletions(-) create mode 100644 src/lib/components/ui/badge/badge.svelte create mode 100644 src/lib/components/ui/badge/index.ts create mode 100644 src/lib/components/utils/theme-switch.svelte diff --git a/src/lib/components/container/navbar/navbar.svelte b/src/lib/components/container/navbar/navbar.svelte index 4ffa5a3..4f64f71 100644 --- a/src/lib/components/container/navbar/navbar.svelte +++ b/src/lib/components/container/navbar/navbar.svelte @@ -10,6 +10,7 @@ SheetTrigger } from '$lib/components/ui/sheet'; import { Separator } from '$lib/components/ui/separator'; + import ThemeSwitch from '$lib/components/utils/theme-switch.svelte'; export let data; @@ -47,6 +48,8 @@