How adityarajadn/2026-portfolio works
This is a Next.js personal portfolio paired with an admin CMS. Visitors browse the portfolio’s home, projects, experience, and certificate content; administrators authenticate, then manage portfolio records and settings backed by Supabase. The map preserves the documented timeline, GitHub activity, and image-storage capabilities. Several dashboard and page implementations were not sampled, so their internal behavior is represented only where README or source-index evidence supports it.
Main entry points: PortfolioApp.tsx Portfolio app · supabase.ts Supabase data client · HomeSection.tsx Home section · Modal.tsx Modal
Components 25
Public portfolio
- Public routes
app/(main)/page.tsx - Portfolio app
app/components/layout/PortfolioApp.tsx
Portfolio content
- Home section
app/components/sections/HomeSection.tsx - Projects showcase
app/components/sections/ProjectsSection.tsx - Experience timeline
app/components/sections/ExperiencesSection.tsx - Certificate showcase
app/components/sections/CertificatesSection.tsx - GitHub activity
app/components/sections/HomeSection.tsx
Admin CMS
- Admin login
app/(main)/dashboard/login/page.tsx - Dashboard settings
app/(main)/dashboard/page.tsx - Project management
app/(main)/dashboard/projects/page.tsx - Experience management
app/(main)/dashboard/gallery/page.tsx - Certificate management
app/(main)/dashboard/certificates/page.tsx
Data and auth
- Auth cookie helpers
app/lib/auth.ts - Auth API route
app/api/auth/route.ts - Supabase data client
app/lib/supabase.ts - Supabase database
- Image bucket
Shared UI
- Modal
app/components/ui/Modal.tsx - Navbar
app/components/layout/Navbar.tsx - Galaxy effect
app/components/effects/Galaxy.tsx - Scroll reveal
app/components/ui/ScrollReveal.tsx - Animated counter
app/components/ui/AnimatedCounter.tsx - Typing effect
app/components/ui/TypingEffect.tsx
Other components
- Visitor
- Admin
Connections 33
- Visitor → Public routes: opens
README.md - Public routes → Portfolio app: renders
app/(main)/page.tsx - Portfolio app → Home section: renders
app/components/layout/PortfolioApp.tsx - Portfolio app → Projects showcase: renders
app/components/layout/PortfolioApp.tsx - Portfolio app → Experience timeline: renders
app/components/layout/PortfolioApp.tsx - Portfolio app → Certificate showcase: renders
app/components/layout/PortfolioApp.tsx - Portfolio app → Navbar: renders
app/components/layout/PortfolioApp.tsx - Portfolio app → Modal: renders
app/components/layout/PortfolioApp.tsx - Portfolio app → Galaxy effect: renders
app/components/layout/PortfolioApp.tsx - Portfolio app → Supabase data client: loads content
app/components/layout/PortfolioApp.tsx - Home section → Scroll reveal: uses
app/components/sections/HomeSection.tsx - Home section → Animated counter: uses
app/components/sections/HomeSection.tsx - Home section → Typing effect: uses
app/components/sections/HomeSection.tsx - Home section → GitHub activity: shows
README.md - Projects showcase → Scroll reveal: uses
app/components/sections/ProjectsSection.tsx - Admin → Admin login: authenticates
README.md - Admin login → Auth cookie helpers: sets cookie
app/(main)/dashboard/login/page.tsx - Admin → Dashboard settings: manages settings
README.md - Dashboard settings → Supabase data client: reads and upserts
app/(main)/dashboard/page.tsx - Admin → Project management: manages projects
README.md - Project management → Supabase data client: CRUD and uploads
app/(main)/dashboard/projects/page.tsx - Project management → Modal: uses
app/(main)/dashboard/projects/page.tsx - Admin → Experience management: manages experiences
README.md - Experience management → Supabase data client: CRUD and uploads
app/(main)/dashboard/gallery/page.tsx - Experience management → Modal: uses
app/(main)/dashboard/gallery/page.tsx - Admin → Certificate management: manages certificates
README.md - Certificate management → Supabase data client: CRUD and uploads
app/(main)/dashboard/certificates/page.tsx - Certificate management → Modal: uses
app/(main)/dashboard/certificates/page.tsx - Supabase data client → Supabase database: queries
app/lib/supabase.ts - Supabase data client → Image bucket: uploads images
app/lib/supabase.ts - Portfolio app → Supabase database: pings on mount
README.md - GitHub activity → Visitor: visualizes contributions
README.md - Admin login → Auth API route: auth flow