Skip to content

Create Card Component #88

Description

@codebestia

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions