mirror of https://github.com/TZGyn/shortener
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
790 B
Svelte
35 lines
790 B
Svelte
<script lang="ts">
|
|
import { Separator } from '$lib/components/ui/separator'
|
|
import SidebarNav from './(components)/sidebar-nav.svelte'
|
|
|
|
const sidebarNavItems = [
|
|
{
|
|
title: 'Account',
|
|
href: '/settings/account',
|
|
},
|
|
{
|
|
title: 'QR',
|
|
href: '/settings/qr',
|
|
},
|
|
]
|
|
</script>
|
|
|
|
<div class="space-y-6 p-10 pb-16">
|
|
<div class="space-y-0.5">
|
|
<h2 class="text-2xl font-bold tracking-tight">Settings</h2>
|
|
<p class="text-muted-foreground">
|
|
Manage your account settings and set e-mail preferences.
|
|
</p>
|
|
</div>
|
|
<Separator class="my-6" />
|
|
<div
|
|
class="flex flex-col space-y-8 lg:flex-row lg:space-x-12 lg:space-y-0">
|
|
<aside class="-mx-4 lg:w-1/5">
|
|
<SidebarNav items={sidebarNavItems} />
|
|
</aside>
|
|
<div class="flex-1 lg:max-w-2xl">
|
|
<slot />
|
|
</div>
|
|
</div>
|
|
</div>
|