/**
 * Project Dashboard Page
 *
 * Main dashboard for viewing project status, agents, sprints, and activity.
 * Provides real-time updates via SSE and quick actions for project management.
 *
 * @see Issue #40
 */

import { Metadata } from 'next';
import { ProjectDashboard } from '@/components/projects/ProjectDashboard';

export const metadata: Metadata = {
  title: 'Project Dashboard',
  description: 'View project status, agents, sprints, and activity',
};

interface ProjectDashboardPageProps {
  params: Promise<{
    id: string;
    locale: string;
  }>;
}

export default async function ProjectDashboardPage({ params }: ProjectDashboardPageProps) {
  const { id } = await params;

  return <ProjectDashboard projectId={id} />;
}
