Nearly every page (sign-in-client.tsx, register-client.tsx, dashboard/page.tsx) repeats the same rounded-lg border bg-card p-6 shadow-sm (or p-8) container class string manually.
Requirements:
- Build
src/components/ui/card.tsx with Card, CardHeader, CardTitle, CardDescription, and CardContent subcomponents, following shadcn/ui conventions and using cn().
Acceptance Criteria:
- The container in
dashboard/page.tsx and the form wrapper in sign-in-client.tsx are refactored to use Card with no visual change.
Nearly every page (
sign-in-client.tsx,register-client.tsx,dashboard/page.tsx) repeats the samerounded-lg border bg-card p-6 shadow-sm(orp-8) container class string manually.Requirements:
src/components/ui/card.tsxwithCard,CardHeader,CardTitle,CardDescription, andCardContentsubcomponents, following shadcn/ui conventions and usingcn().Acceptance Criteria:
dashboard/page.tsxand the form wrapper insign-in-client.tsxare refactored to useCardwith no visual change.