"use client"; import { useState } from "react"; import Image from "next/image"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger, } from "@/components/ui/dialog"; import { Play } from "lucide-react"; import type { Project } from "@/data/projects"; interface ProjectCardProps { project: Project; } export function ProjectCard({ project }: ProjectCardProps) { const [isOpen, setIsOpen] = useState(false); return (
{project.title} {project.videoUrl && (
)}
{project.title} {project.category}
{project.description}
{project.tags.map((tag) => ( {tag} ))}
{project.videoUrl && ( {project.title}