This commit is contained in:
Vula Builder
2026-07-14 17:42:09 +00:00
parent a234bcca1f
commit df332e8f61
+54
View File
@@ -0,0 +1,54 @@
import { cn } from "@/lib/utils"
interface CardProps {
className?: string
children?: React.ReactNode
}
export function Card({ className, children }: CardProps) {
return (
<div className={cn("bg-white border border-[#daddd4] rounded-lg shadow-sm", className)}>
{children}
</div>
)
}
export function CardHeader({ className, children }: CardProps) {
return (
<div className={cn("flex flex-col space-y-1.5 p-6 pb-0", className)}>
{children}
</div>
)
}
export function CardTitle({ className, children }: CardProps) {
return (
<h3 className={cn("text-xl font-semibold leading-tight text-[#2c331f]", className)}>
{children}
</h3>
)
}
export function CardDescription({ className, children }: CardProps) {
return (
<p className={cn("text-sm text-[#36454F]/80", 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>
)
}