);
}
```
**Commit:** `feat(frontend): add DashboardLayout with responsive sidebar`
---
## Task 4: 페이지에 레이아웃 적용
**Files:**
- Modify: `frontend/src/app/page.tsx`
**Code:**
```typescript
"use client";
import { DashboardLayout } from "@/components/layout/dashboard-layout";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import { Wallet, TrendingUp, Briefcase, RefreshCw } from "lucide-react";
export default function DashboardPage() {
return (
대시보드
{/* Summary Cards */}
총 자산
₩0
데이터 없음
총 수익률
0%
데이터 없음
포트폴리오
0개
포트폴리오 없음
리밸런싱
0개
리밸런싱 필요 없음
{/* Placeholder for charts */}
자산 추이
차트 영역 (Phase 3에서 구현)
섹터 배분
차트 영역 (Phase 3에서 구현)
);
}
```
**Commit:** `feat(frontend): apply DashboardLayout to main page`
---
## Task 5: 포트폴리오 목록 페이지에 레이아웃 적용
**Files:**
- Modify: `frontend/src/app/portfolio/page.tsx`
Read the existing file and wrap content with DashboardLayout, update styling to use shadcn/ui components.
**Commit:** `feat(frontend): apply DashboardLayout to portfolio list page`
---
## Task 6: 나머지 페이지에 레이아웃 적용
**Files to modify:**
- `frontend/src/app/portfolio/new/page.tsx`
- `frontend/src/app/portfolio/[id]/page.tsx`
- `frontend/src/app/strategy/page.tsx`
- `frontend/src/app/backtest/page.tsx`
- `frontend/src/app/admin/data/page.tsx`
For each page, wrap existing content with DashboardLayout.
**Commit:** `feat(frontend): apply DashboardLayout to all pages`
---
## Task 7: 로그인 페이지 스타일 개선
**Files:**
- Modify: `frontend/src/app/login/page.tsx`
Update to use shadcn/ui components (Card, Input, Button, Label).
**Commit:** `feat(frontend): improve login page styling with shadcn/ui`
---
## Task 8: 빌드 및 검증
Run build and verify all pages work correctly.
**Commit:** Final cleanup if needed