import Link from 'next/link'; import { Plus, FolderOpen, Clock, Users } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'; // import { auth } from '@/lib/auth'; // import { redirect } from 'next/navigation'; // Placeholder data - will be replaced with real data from database const mockProjects = [ { id: '1', name: 'Product Demo v2', description: 'New product walkthrough video for Q1 launch', videoCount: 3, lastUpdated: '2 hours ago', memberCount: 4, }, { id: '2', name: 'Marketing Campaign', description: 'Social media ads for summer campaign', videoCount: 8, lastUpdated: '1 day ago', memberCount: 2, }, { id: '3', name: 'Tutorial Series', description: 'Getting started tutorials for new users', videoCount: 12, lastUpdated: '3 days ago', memberCount: 1, }, ]; export default async function DashboardPage() { // TODO: Uncomment when database is set up // const session = await auth(); // if (!session) { // redirect('/login'); // } return (
Manage your video projects and collect feedback
Create your first project to start collecting video feedback