How rhaza0210002/mypiggybank works
My PiggyBank is a small Next.js dashboard UI: a visitor opens the home page, which renders a dashboard with a balance, reconciliation items, and recent transaction history. The root layout supplies the shared header. Dashboard values and button handlers are currently local sample data and placeholder logging; no persistence or financial-service integration is evidenced. Source excerpts show the main render relationships, but not the stylesheet contents or behavior of other navigation destinations.
Main entry points: Dashboard/page.tsx Dashboard page · app/page.tsx Home route · layout.tsx Root layout · AsideCards.tsx Dashboard cards
Components 7
App shell
- Home route
src/app/page.tsx - Root layout
src/app/layout.tsx - Header navigation
src/components/features/Header/page.tsx
Dashboard UI
- Dashboard page
src/components/features/Dashboard/page.tsx - Dashboard cards
src/components/features/Dashboard/AsideCards.tsx - Dashboard styles
src/components/features/Dashboard/Dashboard.module.css
Other components
- Visitor
Connections 7
- Visitor → Home route: opens
README.md - Root layout → Header navigation: renders
src/app/layout.tsx - Root layout → Home route: wraps route
src/app/layout.tsx - Home route → Dashboard page: renders
src/app/page.tsx - Dashboard page → Dashboard cards: passes data
src/components/features/Dashboard/page.tsx - Dashboard page → Dashboard styles: uses styles
src/components/features/Dashboard/page.tsx - Dashboard cards → Dashboard styles: uses styles
src/components/features/Dashboard/AsideCards.tsx