# Design: Dashboard Enhancement ## PageHeader Component ### `src/lib/components/layout/PageHeader.svelte` ```svelte ``` --- ## StatCard Component ### `src/lib/components/common/StatCard.svelte` ```svelte
{title}
{#if Icon}
{/if}
{value}
{#if trendValue} {trendValue} {/if} {#if description} {description} {/if}
``` --- ## Enhanced Dashboard ### `src/routes/dashboard/+page.svelte` ```svelte Dashboard | Headroom

Quick Actions

Allocation Preview

Allocation matrix for {$periodStore.selectedPeriod} will appear here.

``` --- ## Login Page Polish ### Updates to `src/routes/login/+page.svelte` - Center vertically using flexbox - Add app logo/branding above form - Consistent card styling with new layout - Better error/success states ## File Structure ``` src/lib/components/ ├── layout/ │ └── PageHeader.svelte # NEW └── common/ └── StatCard.svelte # NEW src/routes/ ├── login/+page.svelte # UPDATE └── dashboard/+page.svelte # UPDATE ```