feat(frontend): add Dashboard page and components for #53

Implement the main dashboard homepage with:
- WelcomeHeader: Personalized greeting with user name
- DashboardQuickStats: Stats cards for projects, agents, issues, approvals
- RecentProjects: Dynamic grid showing 3-6 recent projects
- PendingApprovals: Action-required approvals section
- EmptyState: Onboarding experience for new users
- useDashboard hook: Mock data fetching with React Query

The dashboard serves as the authenticated homepage at /(authenticated)/
and provides quick access to all project management features.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-01 17:19:59 +01:00
parent 0ceee8545e
commit 6f5dd58b54
9 changed files with 960 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
/**
* Dashboard Page
*
* Main authenticated homepage showing:
* - Quick stats overview
* - Recent projects
* - Pending approvals
* - Real-time activity feed
*
* @see Issue #53
*/
import { Metadata } from 'next';
import { Dashboard } from '@/components/dashboard';
export const metadata: Metadata = {
title: 'Dashboard',
description: 'Overview of your projects, agents, and activity',
};
export default function DashboardPage() {
return <Dashboard />;
}