How kushan2210-tech/kushan-portfolio works
This is a personal developer portfolio built with Next.js. Visitors browse the landing page’s profile and featured work, open project detail pages, and can use contact or project-data endpoints. The project catalog also presents documented work across AI, computer vision, recruitment, onboarding, and blockchain; these are portfolio entries, not implementations of those systems in this repository. Edges reflect sampled imports/calls or explicit fetch paths; API route behavior beyond the shown project route is not inferred.
Main entry points: api.ts API client · projects.ts Project catalog · app/page.tsx Home page · [slug]/page.tsx Project detail
Components 15
Portfolio experience
- Home page
app/page.tsx - Site shell
app/layout.tsx - Navigation
components/Navbar.tsx - Pointer spotlight
components/Spotlight.tsx - Role animation
components/TypingRoles.tsx - Project detail
app/projects/[slug]/page.tsx - Project card
components/ProjectCard.tsx
Project content
- Project catalog
data/projects.ts
Visitor interactions
- Contact form
components/ContactForm.tsx - Visit tracker
components/VisitorTracker.tsx - API client
lib/api.ts - Contact endpoint
app/api/contact/route.ts - Analytics endpoint
app/api/analytics/route.ts - Projects endpoint
app/api/projects/route.ts
Other components
- Portfolio visitor
Connections 15
- Portfolio visitor → Home page: opens
app/page.tsx - Site shell → Navigation: renders
app/layout.tsx - Site shell → Pointer spotlight: renders
app/layout.tsx - Portfolio visitor → Project detail: opens
app/projects/[slug]/page.tsx - Home page → Project catalog: reads
app/page.tsx - Home page → Role animation: renders
app/page.tsx - Project detail → Project catalog: looks up
app/projects/[slug]/page.tsx - Project card → Project catalog: uses project data
components/ProjectCard.tsx - Project detail → Visit tracker: renders
app/projects/[slug]/page.tsx - Contact form → API client: sends message
components/ContactForm.tsx - Visit tracker → API client: tracks visit
components/VisitorTracker.tsx - API client → Contact endpoint: POSTs to
lib/api.ts - API client → Analytics endpoint: POSTs to
lib/api.ts - Portfolio visitor → Projects endpoint: requests projects
app/api/projects/route.ts - Projects endpoint → Project catalog: returns
app/api/projects/route.ts