This commit is contained in:
Vula Builder
2026-07-25 11:17:56 +00:00
parent 3f048f1c55
commit ecc04ed6a7
+55
View File
@@ -0,0 +1,55 @@
import { cn } from "@/lib/utils"
import React from "react"
interface CardProps {
className?: string
children: React.ReactNode
}
export function Card({ className, children }: CardProps) {
return (
<div className={cn("rounded-xl overflow-hidden bg-white shadow-md border border-[#ddd5d4]", className)}>
{children}
</div>
)
}
export function CardHeader({ className, children }: CardProps) {
return (
<div className={cn("flex flex-col space-y-1.5 p-6", className)}>
{children}
</div>
)
}
export function CardTitle({ className, children }: CardProps) {
return (
<h3 className={cn("text-2xl font-semibold text-[#33211f] leading-none tracking-tight", className)}>
{children}
</h3>
)
}
export function CardDescription({ className, children }: CardProps) {
return (
<p className={cn("text-sm text-[#33211f]/70", className)}>
{children}
</p>
)
}
export function CardContent({ className, children }: CardProps) {
return (
<div className={cn("p-6 pt-0", className)}>
{children}
</div>
)
}
export function CardFooter({ className, children }: CardProps) {
return (
<div className={cn("flex items-center p-6 pt-0", className)}>
{children}
</div>
)
}