How vishalkumawatx/portfolio works
This is a React portfolio site centered on a visitor’s journey through an animated, sectioned profile, with a separate resume-download route and contact form. The main page composes the portfolio sections and provides dark-first theme state; the resume page invokes separate DOCX and TXT generators. Contact submissions also use an external form endpoint. The graph follows documented capabilities and visible imports/calls; several UI primitives and section implementations were not sampled, so their internal behavior is not expanded.
Main entry points: Index.tsx Portfolio page · App.tsx App routing · ContactSection.tsx Contact form · Resume.tsx Resume page
Components 21
Portfolio experience
- App routing
src/App.tsx - Portfolio page
src/pages/Index.tsx - Animated preloader
src/components/Preloader.tsx - Navigation
src/components/Navbar.tsx - Hero
src/components/HeroSection.tsx - About
src/components/AboutSection.tsx - Skills
src/components/SkillsSection.tsx - Projects
src/components/ProjectsSection.tsx - Education
src/components/EducationSection.tsx - Certifications
src/components/CertificationSection.tsx - Footer
src/components/Footer.tsx
Resume downloads
- Resume page
src/pages/Resume.tsx - DOCX generator
src/lib/resumeGenerator.ts - TXT generator
src/lib/resumeGeneratorTxt.ts
Shared presentation
- Theme state
src/contexts/ThemeContext.tsx - UI primitives
src/components/ui - Toast state
src/hooks/use-toast.ts - Toast display
src/components/ui/toast.tsx
Contact
- Contact form
src/components/ContactSection.tsx - Form endpoint
Other components
- Site visitor
Connections 23
- Site visitor → App routing: opens
- App routing → Portfolio page: routes to /
src/App.tsx - App routing → Resume page: routes to /resume
src/App.tsx - Portfolio page → Animated preloader: renders
src/pages/Index.tsx - Portfolio page → Navigation: renders
src/pages/Index.tsx - Portfolio page → Hero: renders
src/pages/Index.tsx - Portfolio page → About: renders
src/pages/Index.tsx - Portfolio page → Skills: renders
src/pages/Index.tsx - Portfolio page → Projects: renders
src/pages/Index.tsx - Portfolio page → Education: renders
src/pages/Index.tsx - Portfolio page → Certifications: renders
src/pages/Index.tsx - Portfolio page → Contact form: renders
src/pages/Index.tsx - Portfolio page → Footer: renders
src/pages/Index.tsx - Portfolio page → Theme state: provides context
src/pages/Index.tsx - Navigation → Theme state: uses theme
src/components/Navbar.tsx - App routing → UI primitives: sets up tooltips
src/App.tsx - App routing → Toast state: renders toaster
src/App.tsx - Toast state → Toast display: types and displays
src/hooks/use-toast.ts - Contact form → Toast state: shows notifications
src/components/ContactSection.tsx - Contact form → Form endpoint: submits form
src/components/ContactSection.tsx - Resume page → DOCX generator: generates DOCX
src/pages/Resume.tsx - Resume page → TXT generator: generates TXT
src/pages/Resume.tsx - Site visitor → Contact form: sends inquiry