mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-09 03:22:49 +00:00
18 lines
363 B
Svelte
18 lines
363 B
Svelte
<script lang="ts">
|
|
import type { Snippet } from "svelte";
|
|
import PageTransition from "./PageTransition.svelte";
|
|
import Navigation from "./Navigation.svelte";
|
|
|
|
let { children }: { children?: Snippet } = $props();
|
|
</script>
|
|
|
|
<Navigation />
|
|
|
|
{#if children}
|
|
<PageTransition>
|
|
{#if children}
|
|
{@render children()}
|
|
{/if}
|
|
</PageTransition>
|
|
{/if}
|