How haider-523/portfolio works
This is a recruiter-focused, multi-page developer portfolio. A visitor browses the home, about, projects, experience, and contact pages; project detail routes provide case-study depth, while the shared layout supplies navigation and site chrome. The optional assistant answers from curated portfolio knowledge and may use Gemini; the contact form submits to FormSubmit. The sampled sources establish the content and route wiring, but the assistant panel’s request to its API route was not shown, so that connection is marked unverified.
Main entry points: portfolio.ts Verified portfolio data · site-header.tsx Site navigation · page.tsx Home page · projects.tsx Project previews
Components 23
Portfolio pages
- Home page
src/app/page.tsx - About page
src/app/about/page.tsx - Projects page
src/app/projects/page.tsx - Project detail
src/app/projects/[slug]/page.tsx - Experience page
src/app/experience/page.tsx - Contact page
src/app/contact/page.tsx
Shared presentation
- Shared site layout
src/app/layout.tsx - Site navigation
src/components/layout/site-header.tsx - Site footer
src/components/layout/site-footer.tsx
Portfolio content
- Hero section
src/components/sections/hero.tsx - Project previews
src/components/sections/projects.tsx - About, skills, education, awards
src/components/sections - Roles and milestones
src/components/sections/experience.tsx - Contact details and form
src/components/sections/contact.tsx - Verified portfolio data
src/data/portfolio.ts
AI assistant
- Assistant launcher
src/components/assistant/assistant-launcher.tsx - Assistant chat panel
src/components/assistant/assistant-panel.tsx - Assistant API route
src/app/api/assistant/route.ts - Retrieval and response
src/lib/assistant.ts - Curated knowledge base
src/lib/assistant-knowledge.ts
Other components
- Recruiter / visitor
- Gemini API
- FormSubmit
Connections 34
- Recruiter / visitor → Home page: opens
README.md - Recruiter / visitor → About page: opens
README.md - Recruiter / visitor → Projects page: opens
README.md - Recruiter / visitor → Project detail: opens
README.md - Recruiter / visitor → Experience page: opens
README.md - Recruiter / visitor → Contact page: opens
README.md - Home page → Hero section: renders
src/app/page.tsx - Home page → Project previews: renders
src/app/page.tsx - Home page → Verified portfolio data: reads profile
src/app/page.tsx - About page → About, skills, education, awards: renders
src/app/about/page.tsx - Projects page → Project previews: renders
src/app/projects/page.tsx - Project detail → Verified portfolio data: looks up project
src/app/projects/[slug]/page.tsx - Experience page → Roles and milestones: renders
src/app/experience/page.tsx - Contact page → Contact details and form: renders
src/app/contact/page.tsx - Shared site layout → Site navigation: renders
src/app/layout.tsx - Shared site layout → Site footer: renders
src/app/layout.tsx - Site navigation → Verified portfolio data: reads links
src/components/layout/site-header.tsx - Site navigation → About page: navigates
README.md - Site navigation → Projects page: navigates
README.md - Site navigation → Experience page: navigates
README.md - Site navigation → Contact page: navigates
README.md - Hero section → Verified portfolio data: reads profile
src/components/sections/hero.tsx - Project previews → Verified portfolio data: reads projects
src/components/sections/projects.tsx - Project previews → Project detail: links to cases
- Roles and milestones → Verified portfolio data: reads experience
src/components/sections/experience.tsx - Contact details and form → Verified portfolio data: reads contact details
src/components/sections/contact.tsx - Contact details and form → FormSubmit: submits message
- Shared site layout → Assistant launcher: renders
src/app/layout.tsx - Assistant launcher → Assistant chat panel: opens lazily
src/components/assistant/assistant-launcher.tsx - Assistant chat panel → Assistant API route: requests answer
- Assistant API route → Retrieval and response: calls
src/app/api/assistant/route.ts - Retrieval and response → Curated knowledge base: retrieves context
src/lib/assistant.ts - Curated knowledge base → Verified portfolio data: builds knowledge from
src/lib/assistant-knowledge.ts - Retrieval and response → Gemini API: optionally queries
src/lib/assistant.ts