diff --git a/src/components/quickstart/TemplateCard.tsx b/src/components/quickstart/TemplateCard.tsx new file mode 100644 index 00000000..a26ee2d8 --- /dev/null +++ b/src/components/quickstart/TemplateCard.tsx @@ -0,0 +1,140 @@ +"use client"; + +import { TemplateCategory } from "@/types/quickstart"; + +interface TemplateCardProps { + template: { + id: string; + name: string; + description: string; + icon: string; + category: TemplateCategory; + tags: string[]; + }; + nodeCount: number; + isLoading: boolean; + onClick: () => void; + disabled: boolean; +} + +const CATEGORY_LABELS: Record = { + product: "Product", + style: "Style", + composition: "Composition", + community: "Community", +}; + +const CATEGORY_COLORS: Record = { + product: "bg-blue-500/20 text-blue-300", + style: "bg-purple-500/20 text-purple-300", + composition: "bg-green-500/20 text-green-300", + community: "bg-amber-500/20 text-amber-300", +}; + +export function TemplateCard({ + template, + nodeCount, + isLoading, + onClick, + disabled, +}: TemplateCardProps) { + return ( + + ); +}