"use client"; import { PrototypeCreateStarterScreenModal } from "@prototype/components/starter-screens/prototype-create-starter-screen-modal"; import { PROTOTYPE_GALLERY_GRID_GAP_CLASS } from "@prototype/components/shell/prototype-gallery-shell"; import type { StarterScreenMetadata } from "@prototype/lib/prototypes/starter-screen-config-types"; import { screenshotSrc } from "@prototype/lib/prototypes/screenshot-src"; import { cn } from "@prototype/lib/utils"; import { Plus } from "lucide-react"; import Image from "next/image"; import Link from "next/link"; import { useState } from "react"; type PrototypeStarterScreensClientProps = { starterScreens: StarterScreenMetadata[]; screenshotVersions?: Record; starterScreensPagePath?: string; sourcePath?: string; }; const starterScreenTitleClassName = "mt-2 text-sm text-[var(--tool-chrome-text-muted)] transition-colors duration-300 ease-out group-hover:text-[var(--tool-chrome-text-heading)]"; function PrototypeStarterScreensAddCard({ onClick }: { onClick: () => void }) { return ( ); } export function PrototypeStarterScreensClient({ starterScreens, screenshotVersions = {}, starterScreensPagePath, sourcePath, }: PrototypeStarterScreensClientProps) { const [createModalOpen, setCreateModalOpen] = useState(false); return ( <>
setCreateModalOpen(true)} /> {starterScreens.map((screen) => (
{screen.title}

{screen.title}

))}
); }