diff --git a/src/app/ui/Layout.svelte b/src/app/ui/Layout.svelte index f3b6872..2702d0a 100644 --- a/src/app/ui/Layout.svelte +++ b/src/app/ui/Layout.svelte @@ -14,12 +14,16 @@ * throughout the application. */ import favicon from '$shared/assets/favicon.svg'; -import * as Sidebar from '$shared/shadcn/ui/sidebar/index'; -import { FiltersSidebar } from '$widgets/FiltersSidebar'; -import TypographyMenu from '$widgets/TypographySettings/ui/TypographyMenu.svelte'; +import { Provider as TooltipProvider } from '$shared/shadcn/ui/tooltip'; +import { TypographyMenu } from '$widgets/TypographySettings'; +import type { Snippet } from 'svelte'; + +interface Props { + children: Snippet; +} /** Slot content for route pages to render */ -let { children } = $props(); +let { children }: Props = $props(); @@ -35,22 +39,14 @@ let { children } = $props(); > -
+
- - -
+
+ {@render children?.()} -
- + +
- -