update header on root and projects page

pull/3/head
TZGyn 2 years ago
parent 574f66d6c8
commit 1b9b15200a
Signed by: TZGyn
GPG Key ID: 122EAF77AE81FD4A

@ -2,19 +2,18 @@
import type { PageData } from './$types' import type { PageData } from './$types'
import * as Card from '$lib/components/ui/card' import * as Card from '$lib/components/ui/card'
import { Button } from '$lib/components/ui/button' import { Button } from '$lib/components/ui/button'
import { Separator } from '$lib/components/ui/separator'
import { BarChart } from 'lucide-svelte' import { BarChart } from 'lucide-svelte'
export let data: PageData export let data: PageData
</script> </script>
<div class="flex flex-wrap gap-4 p-4"> <div class="flex min-h-[80px] items-center justify-between p-4">
<div class="w-full"> <div class="text-3xl font-bold">Dashboard</div>
<h1 class="text-xl">Welcome to SvelteKit</h1>
<p>
Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read
the documentation
</p>
</div> </div>
<Separator />
<div class="flex flex-wrap gap-4 p-4">
<Card.Root class="w-[500px]"> <Card.Root class="w-[500px]">
<Card.Header> <Card.Header>
<Card.Title>Projects</Card.Title> <Card.Title>Projects</Card.Title>

@ -42,7 +42,7 @@
} }
</script> </script>
<div class="flex h-20 items-center justify-between p-4"> <div class="flex min-h-[80px] items-center justify-between p-4">
<div class="text-3xl font-bold">Projects</div> <div class="text-3xl font-bold">Projects</div>
<Dialog.Root bind:open={dialogOpen}> <Dialog.Root bind:open={dialogOpen}>
<Dialog.Trigger <Dialog.Trigger

Loading…
Cancel
Save