import { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, Button } from '$shared/ui' import { cn } from '$shared/lib' type Props = { /** * Project name */ title: string /** * Year the project was completed */ year: string /** * Short project description */ description: string /** * Technology or category tags */ tags: string[] /** * Optional preview image URL */ imageUrl?: string } /** * Compact project card for grid/list display. */ export function ProjectCard({ title, year, description, tags, imageUrl }: Props) { return (
{title} {year}
{description}
{imageUrl && (
{title}
)} {tags.map((tag) => ( {tag} ))}
) }