How kunaidebnath/kunai_portfolio works
This is a React portfolio and editable content workbench. Visitors enter through the client-side router, browse profile, skills, project demonstrations, education and contact pages, and can submit an inquiry or download a generated résumé. Administrators log in and manage portfolio content and inbox records through a separate dashboard. The map preserves README-described capabilities, including responsive multipage presentation and interactive demos. Some connections rely on the SOURCE INDEX rather than full excerpts; unsampled implementation details are not inferred.
Main entry points: supabase.ts Supabase client · Home.tsx Home composition · AdminDashboard.tsx Admin dashboard · App.tsx Route application
Components 25
App routing
- Route application
src/App.tsx - Home composition
src/pages/Home.tsx - Portfolio pages
src/pages - Admin login
src/pages/AdminLogin.tsx
Public portfolio
- Profile and résumé
src/components/Hero.tsx - About and journey
src/components/About.tsx - Skills showcase
src/components/Skills.tsx - Project showcase
src/components/Projects.tsx - Interactive demos
src/components/LiveInteractiveDemos.tsx - Project details
src/components/InteractiveProjectModal.tsx - Education and certifications
src/components/EducationCertifications.tsx - Contact form
src/components/Contact.tsx
Admin workbench
- Admin dashboard
src/pages/AdminDashboard.tsx - Project editor
src/components/admin/AdminProjects.tsx - Skills editor
src/components/admin/AdminSkills.tsx - Education editor
src/components/admin/AdminEducation.tsx - Inquiry inbox
src/components/admin/AdminInbox.tsx - Profile editor
src/components/admin/AdminProfile.tsx
Content and services
- Profile state
src/lib/useProfile.ts - Portfolio source data
src/data/portfolioData.ts - Supabase client
src/lib/supabase.ts - Supabase service
- Résumé PDF generator
src/lib/generateResumePdf.ts
Other components
- Visitor
- Administrator
Connections 37
- Visitor → Route application: opens
README.md - Administrator → Route application: opens admin
src/App.tsx - Route application → Home composition: routes to
src/App.tsx - Route application → Portfolio pages: routes to
src/App.tsx - Route application → Admin login: routes to
src/App.tsx - Route application → Admin dashboard: routes to
src/App.tsx - Home composition → Profile and résumé: renders
src/pages/Home.tsx - Home composition → About and journey: renders
src/pages/Home.tsx - Home composition → Skills showcase: renders
src/pages/Home.tsx - Home composition → Project showcase: renders
src/pages/Home.tsx - Home composition → Education and certifications: renders
src/pages/Home.tsx - Home composition → Contact form: renders
src/pages/Home.tsx - Project showcase → Interactive demos: renders demo
src/components/Projects.tsx - Project showcase → Project details: opens details
src/components/Projects.tsx - Profile and résumé → Profile state: reads profile
src/components/Hero.tsx - Profile and résumé → Résumé PDF generator: generates résumé
src/components/Hero.tsx - About and journey → Profile state: reads profile
src/components/About.tsx - Skills showcase → Supabase client: loads skills
src/components/Skills.tsx - Project showcase → Supabase client: loads projects
src/components/Projects.tsx - Contact form → Profile state: reads profile
src/components/Contact.tsx - Contact form → Supabase client: submits inquiry
src/components/Contact.tsx - Profile state → Portfolio source data: uses defaults
src/lib/useProfile.ts - Profile state → Supabase client: syncs profile
src/lib/useProfile.ts - Supabase client → Supabase service: connects
src/lib/supabase.ts - Admin login → Supabase client: authenticates
src/pages/AdminLogin.tsx - Admin dashboard → Project editor: renders editor
src/pages/AdminDashboard.tsx - Admin dashboard → Skills editor: renders editor
src/pages/AdminDashboard.tsx - Admin dashboard → Inquiry inbox: renders inbox
src/pages/AdminDashboard.tsx - Admin dashboard → Education editor: renders editor
src/pages/AdminDashboard.tsx - Admin dashboard → Profile editor: renders editor
src/pages/AdminDashboard.tsx - Project editor → Supabase client: manages projects
src/components/admin/AdminProjects.tsx - Skills editor → Supabase client: manages skills
src/components/admin/AdminSkills.tsx - Inquiry inbox → Supabase client: manages inquiries
src/components/admin/AdminInbox.tsx - Education editor → Supabase client: manages education
src/components/admin/AdminEducation.tsx - Education editor → Portfolio source data: uses defaults
src/components/admin/AdminEducation.tsx - Profile editor → Supabase client: manages profile
src/components/admin/AdminProfile.tsx - Profile editor → Profile state: updates profile
src/components/admin/AdminProfile.tsx