chore(ui): use layout on dashboard page

This commit is contained in:
peaklabs-dev
2026-03-14 00:35:46 +01:00
parent 0d6b1858db
commit a93b2beccd
+5 -7
View File
@@ -1,12 +1,10 @@
<script lang="ts">
import { page } from "@inertiajs/svelte";
</script>
import { setLayoutProps } from "@inertiajs/svelte";
<svelte:head>
<title>Dashboard - {$page.props.appName}</title>
<!-- the TS type of appName is currently incorrect, which is likely an Inertia bug. -->
<meta name="description" content="The {$page.props.appName} dashboard" />
</svelte:head>
setLayoutProps({
title: "Dashboard",
});
</script>
<div class="bg-background text-foreground min-h-screen p-8">
<h1 class="mb-6 text-3xl font-bold">Dashboard</h1>