How yashrai0/portfolio works
This repository implements a personal developer portfolio site, not the showcased SaaS products themselves. Visitors enter the home page, browse profile and project sections, use the FAQ or chat assistant, and can follow contact links. The page composes the portfolio sections; the chat widget sends messages to a server route. The sampled sources show layout metadata and structured-data generation as an internal presentation layer. Other component-to-component links are included only where the source index or excerpts establish them; the chat route’s downstream behavior is not inferred.
Main entry points: page.tsx Home Page · layout.tsx Root Layout · footer.tsx Footer · chat-widget.tsx Chat Widget
Components 22
Site Shell
- Home Page
src/app/page.tsx - Root Layout
src/app/layout.tsx - Navigation
src/components/header.tsx - Footer
src/components/footer.tsx - Back to Top
src/components/back-to-top.tsx
Portfolio Content
- Introduction
src/components/hero.tsx - Social Proof
src/components/social-proof.tsx - Projects
src/components/projects.tsx - Skills and Features
src/components/features.tsx - Certifications
src/components/certifications.tsx - Achievements
src/components/achievements.tsx - Why Choose
src/components/why-choose.tsx - Career Journey
src/components/journey.tsx - Statistics
src/components/stats.tsx - Process
src/components/process.tsx
Visitor Engagement
- FAQ
src/components/faq.tsx - Contact CTA
src/components/cta-section.tsx - Chat Widget
src/components/chat-widget.tsx - Chat API Route
src/app/api/chat/route.ts - Custom Cursor
src/components/custom-cursor.tsx
Metadata and SEO
- Structured Data
src/lib/structured-data.ts
Other components
- Visitor
Connections 20
- Visitor → Home Page: opens
- Root Layout → Home Page: wraps
src/app/layout.tsx - Home Page → Navigation: renders
src/app/page.tsx - Home Page → Introduction: renders
src/app/page.tsx - Home Page → Social Proof: renders
src/app/page.tsx - Home Page → Projects: renders
src/app/page.tsx - Home Page → Skills and Features: renders
src/app/page.tsx - Home Page → Certifications: renders
src/app/page.tsx - Home Page → Achievements: renders
src/app/page.tsx - Home Page → Why Choose: renders
src/app/page.tsx - Home Page → Career Journey: renders
src/app/page.tsx - Home Page → FAQ: renders
src/app/page.tsx - Home Page → Contact CTA: renders
src/app/page.tsx - Home Page → Footer: renders
src/app/page.tsx - Home Page → Chat Widget: renders
src/app/page.tsx - Footer → Back to Top: uses
src/components/footer.tsx - Home Page → Structured Data: generates FAQ schema
src/app/page.tsx - Root Layout → Structured Data: generates site schemas
src/app/layout.tsx - Chat Widget → Chat API Route: POSTs message
src/components/chat-widget.tsx - Visitor → Contact CTA: follows contact links