diff --git a/src/lib/assets/sprite.svg b/src/lib/assets/sprite.svg index 04282cf..139597f 100644 --- a/src/lib/assets/sprite.svg +++ b/src/lib/assets/sprite.svg @@ -1,8 +1,2 @@ - - - - - - - - \ No newline at end of file + + diff --git a/src/lib/components/icon/Sprite.svelte b/src/lib/components/icon/Sprite.svelte index 36f31bc..997546e 100644 --- a/src/lib/components/icon/Sprite.svelte +++ b/src/lib/components/icon/Sprite.svelte @@ -1,9 +1,17 @@ - - {@html SpriteSvg} + + + + + + + + + + + \ No newline at end of file diff --git a/src/lib/types/icon-ids.ts b/src/lib/types/icon-ids.ts index 85aa646..b1efa9c 100644 --- a/src/lib/types/icon-ids.ts +++ b/src/lib/types/icon-ids.ts @@ -1,3 +1,4 @@ -export type IconId = { - [key: string]: string; -}; \ No newline at end of file +export type IconId = + "panel-right-close" | + "panel-right-close-solid" +; \ No newline at end of file diff --git a/src/routes/app/dashboard/+page.svelte b/src/routes/app/dashboard/+page.svelte index 52e0548..d53f2a4 100644 --- a/src/routes/app/dashboard/+page.svelte +++ b/src/routes/app/dashboard/+page.svelte @@ -5,6 +5,7 @@ import { authService } from '$lib/api/services/authService.ts'; import ThemeSelector from '$lib/widget/ThemeSelector.svelte'; import { sidebarStore, toggleSidebarOpen } from '$lib/stores/sidebarStore'; + import Icon from '$lib/components/icon/Icon.svelte'; @@ -25,7 +26,10 @@ class="p-2 hover:bg-gray-700/50 rounded-full transition-colors" aria-label="Toggle Menu" > - 123 + +
1