mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
chore(ui): use layout on dashboard page
This commit is contained in:
parent
d1e410fddb
commit
fa149a9da3
1 changed files with 7 additions and 8 deletions
|
|
@ -1,12 +1,11 @@
|
|||
<script lang="ts">
|
||||
import { page } from '@inertiajs/svelte'
|
||||
import { setLayoutProps } from "@inertiajs/svelte";
|
||||
|
||||
setLayoutProps({
|
||||
title: "Dashboard",
|
||||
});
|
||||
</script>
|
||||
|
||||
<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>
|
||||
|
||||
<div class="min-h-screen bg-background text-foreground p-8">
|
||||
<h1 class="text-3xl font-bold mb-6">Dashboard</h1>
|
||||
<div class="bg-background text-foreground min-h-screen p-8">
|
||||
<h1 class="mb-6 text-3xl font-bold">Dashboard</h1>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue