import Link from 'next/link'; import { notFound } from 'next/navigation'; import { ArrowLeft, Plus, Settings, Share2, Play, } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { Card, CardContent } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; import { VideoCard } from '@/components/video-card'; // Mock data - will be replaced with real data const mockProject = { id: '1', name: 'Product Demo v2', description: 'New product walkthrough video for Q1 launch', visibility: 'PRIVATE', videos: [ { id: 'v1', title: 'Main Product Walkthrough', thumbnailUrl: 'https://img.youtube.com/vi/dQw4w9WgXcQ/mqdefault.jpg', currentVersion: 3, commentCount: 12, duration: '5:42', lastUpdated: '2 hours ago', }, { id: 'v2', title: 'Feature Highlight - Dashboard', thumbnailUrl: 'https://img.youtube.com/vi/dQw4w9WgXcQ/mqdefault.jpg', currentVersion: 1, commentCount: 5, duration: '2:18', lastUpdated: '1 day ago', }, { id: 'v3', title: 'Onboarding Flow', thumbnailUrl: 'https://img.youtube.com/vi/dQw4w9WgXcQ/mqdefault.jpg', currentVersion: 2, commentCount: 8, duration: '3:55', lastUpdated: '3 days ago', }, ], }; interface ProjectPageProps { params: Promise<{ projectId: string }>; } export default async function ProjectPage({ params }: ProjectPageProps) { const { projectId } = await params; // TODO: Fetch real project data const project = mockProject; if (!project) { notFound(); } return (
{/* Back link */}
Back to Projects
{/* Project Header */}

{project.name}

{project.visibility.toLowerCase()}
{project.description && (

{project.description}

)}
{/* Videos Grid */} {project.videos.length > 0 ? (
{project.videos.map((video) => ( ))}
) : (

No videos yet

Add your first video to start collecting feedback

)}
); }