Memory

4 memory files ยท AI knowledge base

MEMORY.md/memory/MEMORY.md
Mar 10, 2026
# Mission Control โ€” Memory

## Project Overview
Internal dashboard for Longyards Storage / Long Family.
- Next.js 16 (App Router), TypeScript, Tailwind CSS, shadcn/ui
- Dark mode by default (zinc/slate palette)
- Running dev server: http://localhost:3000

## Pages Built (v1.0)
| Route | File | Description |
|-------|------|-------------|
| `/` | `src/app/page.tsx` | Dashboard โ€” overview cards, activity feed, quick actions |
| `/leads` | `src/app/leads/page.tsx` | Lead Tracker โ€” filterable table with status/tier badges |
| `/deals` | `src/app/deals/page.tsx` | Land Deals โ€” kanban board with 5 pipeline stages |
| `/streams` | `src/app/streams/page.tsx` | Income Streams โ€” card grid with activity logs |
| `/settings` | `src/app/settings/page.tsx` | Settings โ€” integrations, API keys, config sections |

## Key Files
- `src/components/sidebar.tsx` โ€” sidebar navigation (client component)
- `src/lib/mock-data.ts` โ€” all mock data (leads, deals, streams, activity feed)
- `src/lib/utils.ts` โ€” shadcn cn() utility
- `src/app/layout.tsx` โ€” root layout with sidebar + dark mode

## Data Model
- **Leads**: company, contact, tier (1-3), status (7 states), lastContact, nextAction, location
- **Deals**: address, size, price, zoning, stage (5 kanban stages), notes
- **Streams**: name, category, status (Active/Paused/Planning), monthlyRevenue, growth, recentActivity[]

## Architecture Notes
- All data is in `src/lib/mock-data.ts` โ€” replace with real API calls later
- Leads page is a client component (uses useState for filters)
- All other pages are server components (static)
- Build passes cleanly โ€” all 5 routes static-rendered