minimal dashboard

This commit is contained in:
2025-02-15 13:30:38 +01:00
parent b4b2abde0f
commit c7f4290b98
21 changed files with 3052 additions and 79 deletions
+46
View File
@@ -0,0 +1,46 @@
import Engagement from '@/components/engagement';
import { Calendar } from '@/components/ui/calendar';
import {
SidebarProvider,
Sidebar,
SidebarContent,
} from '@/components/ui/sidebar';
import { DayPicker } from 'react-day-picker';
export default function Dashboard() {
return (
<div className="flex w-full">
<div>
<SidebarProvider>
<Sidebar className="w-64 h-full">
<SidebarContent className="p-6">Hello</SidebarContent>
</Sidebar>
</SidebarProvider>
</div>
<div className="flex flex-1 flex-col p-6 px-10 h-max">
<div className="w-full">
<h1 className="text-3xl font-bold">Dashboard</h1>
</div>
<div className="w-full mt-5 flex flex-col xl:flex-row gap-5 items-stretch">
<Engagement />
<div className="w-full pb-7 border rounded-2xl">
<Calendar
className="h-full w-full flex"
classNames={{
months: 'flex w-full flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0 flex-1',
month: 'space-y-4 w-full flex flex-col',
table: 'w-full h-full border-collapse space-y-1',
head_row: '',
row: 'w-full mt-2',
day: 'px-1 py-2 rounded-xl text-xl',
}}
/>
</div>
</div>
</div>
</div>
);
}