import { Link } from "react-router-dom"; import { cn } from "@/lib/utils"; import type { ProjectMetadata } from "@/projects"; export function ProjectListItem({ metadata, isDevMode = false, }: { metadata: ProjectMetadata; isDevMode?: boolean; }) { const tags = metadata.tags ? [...metadata.tags].sort() : []; if (metadata.hidden && !isDevMode) return null; return (
{metadata.description}
{tags.length > 0 ? ({metadata.date}