How jagadish210523-lgtm/portad-dashboard works
PortaD Dashboard is a static Next.js front end for a local-first SaaS migration product; it does not contain the migration engine. Users can explore the overview and compatibility information, open the migration wizard shell, and view the jobs page, while account users can sign in or use a preview session. The graph includes the documented product surfaces and the sampled auth and API-status internals. Migration execution, hosted jobs, and adapter capability generation are described as future or external functionality, not implemented here.
Main entry points: app/page.tsx Overview page · compatibility/page.tsx Compatibility page · site-footer.tsx Site footer · api-status.tsx API status probe
Components 26
Product pages
- Overview page
src/app/page.tsx - Migration wizard shell
src/app/migrate/page.tsx - Jobs view
src/app/jobs/page.tsx - Compatibility page
src/app/compatibility/page.tsx - Searchable matrix
src/app/compatibility/matrix.tsx
Overview experience
- Migration illustration
src/components/hero-visual.tsx - Terminal demo
src/components/terminal.tsx - Process section
src/components/process.tsx - FAQ accordion
src/components/accordion.tsx - API status probe
src/components/api-status.tsx - Coverage carousel
src/components/carousel.tsx - Adapter marquee
src/components/marquee.tsx
Account and auth
- Account page
src/app/account/page.tsx - Auth session client
src/lib/auth.ts - Firebase Auth adapter
src/lib/firebase.ts
Shared shell
- API and URL config
src/lib/config.ts - App layout
src/app/layout.tsx - Site header
src/components/site-header.tsx - Site footer
src/components/site-footer.tsx - Section layout UI
src/components/section.tsx - Reveal animation
src/components/reveal.tsx - Brand components
src/components/logo.tsx - Icon components
src/components/icons.tsx
Other components
- Dashboard visitor
- PortaD API
- Firebase Auth service
Connections 27
- Dashboard visitor → Overview page: opens
README.md - Dashboard visitor → Migration wizard shell: opens
README.md - Dashboard visitor → Jobs view: opens
README.md - Dashboard visitor → Compatibility page: opens
README.md - Dashboard visitor → Account page: opens
README.md - Overview page → Migration illustration: renders
src/app/page.tsx - Overview page → Terminal demo: renders
src/app/page.tsx - Overview page → Process section: renders
src/app/page.tsx - Overview page → FAQ accordion: renders
src/app/page.tsx - Overview page → API status probe: renders
src/app/page.tsx - Overview page → Coverage carousel: renders
src/app/page.tsx - Overview page → Adapter marquee: renders
src/app/page.tsx - Compatibility page → Searchable matrix: renders
src/app/compatibility/page.tsx - Account page → Auth session client: uses
src/app/account/page.tsx - Auth session client → Firebase Auth adapter: loads
src/lib/auth.ts - Firebase Auth adapter → Firebase Auth service: authenticates with
README.md - API status probe → API and URL config: reads URL
src/components/api-status.tsx - API status probe → PortaD API: probes health
src/components/api-status.tsx - App layout → Site header: renders
src/app/layout.tsx - App layout → Site footer: renders
src/app/layout.tsx - Site header → Auth session client: uses
src/components/site-header.tsx - Site footer → API status probe: renders
src/components/site-footer.tsx - Site footer → API and URL config: reads URL
src/components/site-footer.tsx - Site footer → Brand components: renders
src/components/site-footer.tsx - Compatibility page → Section layout UI: uses
src/app/compatibility/page.tsx - Compatibility page → Reveal animation: uses
src/app/compatibility/page.tsx - Searchable matrix → Icon components: uses
src/app/compatibility/matrix.tsx