Auth Auth

This commit is contained in:
Sir Blob
2025-01-26 02:45:04 -05:00
parent bef4b48b1b
commit a0c3f9b151
5 changed files with 41 additions and 29 deletions

View File

@@ -1,24 +0,0 @@
"use client"
import { useState } from "react"
import { Calendar } from "@/components/ui/calendar"
import { Card, CardContent } from "@/components/ui/card"
export function ScheduleCalender() {
const [date, setDate] = useState(new Date())
return (
<Card>
<CardContent className="px-auto py-5">
<Calendar
mode="single"
selected={date}
onSelect={setDate}
className="rounded-md my-auto mx-auto w-fit"
/>
</CardContent>
</Card>
)
}

View File

@@ -2,7 +2,6 @@
import { PatientTable } from "./PatientTable"
import { ScheduleCalender } from "./Calender"
export default function Dashboard() {
@@ -17,7 +16,6 @@ export default function Dashboard() {
<h1 className="text-3xl font-semibold mb-6">Dashboard</h1>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<PatientTable data={patients} />
<ScheduleCalender />
</div>
</div>
)