mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
✨ Add ViewTransitions component to layout for improve navigation
This commit is contained in:
@@ -10,12 +10,14 @@
|
||||
// Providers:
|
||||
import { ModeWatcher } from "mode-watcher";
|
||||
import Sidebar from "@/components/layout/sidebar.svelte";
|
||||
import ViewTransitions from "@/components/viewTransitions.svelte";
|
||||
|
||||
// SSR Data:
|
||||
let { data, children }: LayoutProps = $props();
|
||||
</script>
|
||||
|
||||
<ModeWatcher />
|
||||
<ViewTransitions />
|
||||
<Header githubStars={data?.stars} />
|
||||
<Sidebar>
|
||||
{@render children?.()}
|
||||
|
||||
Reference in New Issue
Block a user