You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte-kit-vice/web/routes/+layout.svelte

20 lines
759 B

<script lang="ts">
// Root layout — minimal passthrough.
//
// The previous version owned the docs chrome (topbar / rail / canvas)
// AND its own `createActiveUix(...)`. Both responsibilities now live in
// `web/routes/uix/+layout@.svelte`, which is the only layout that
// renders documentation pages. Keeping the bootstrap here too caused
// every `/uix/*` page to mount two UIX contexts (the inner one shadowed
// the outer one but both ran the side-effects) and double-wrapped the
// canvas with two topbars.
//
// Anything global to the whole app (favicon, html `lang`, etc.) belongs
// here. Component CSS, fonts, and the active-uix lifecycle stay in the
// `/uix` layout.
let { children } = $props();
</script>
{@render children?.()}

Powered by TurnKey Linux.