How gowtham2098/portfolio works
This is a data-driven personal portfolio website. Its main workflow loads resume content from Markdown, parses it into typed data, and passes that data through the app to portfolio sections; visitors can also switch themes, download a PDF resume, and contact the owner via email. The README documents the Markdown/HMR flow; source-index references and excerpts support the component wiring. Some section implementations were not excerpted, so their internal behavior is represented only where documented.
Main entry points: App.tsx App composition · Hero.tsx Hero · About.tsx About · Navbar.tsx Navigation
Components 28
Resume content
- Resume Markdown
src/data/resume.md - Resume loader
src/hooks/useResume.ts - Markdown parser
src/utils/markdownParser.ts - Resume types
src/types/resume.ts
Portfolio experience
- App composition
src/App.tsx - Hero
src/components/Hero.tsx - About
src/components/About.tsx - Skills
src/components/Skills.tsx - Experience
src/components/Experience.tsx - Projects
src/components/Projects.tsx - Certifications
src/components/Certifications.tsx - Education
src/components/Education.tsx - Contact
src/components/Contact.tsx - Navigation
src/components/Navbar.tsx - Footer
src/components/Footer.tsx - Code window
src/components/CodeWindow.tsx
Shared presentation
- Scroll reveal
src/components/Reveal.tsx - Section backdrop
src/components/SectionBackdrop.tsx - Section heading
src/components/SectionHeading.tsx - Class utility
src/utils/cn.ts
Visitor interactions
- Theme state
src/hooks/useTheme.ts - Theme toggle
src/components/ThemeToggle.tsx - Hero spotlight
src/hooks/useHeroSpotlight.ts - Resume download
src/utils/download.tsx - PDF document
src/components/ResumePdf.tsx
Other components
- Visitor
- Mail client
- Browser storage and preferences
Connections 29
- Visitor → App composition: opens
README.md - Resume Markdown → Resume loader: loads as raw text
README.md - Resume loader → Markdown parser: parses with
src/hooks/useResume.ts - Markdown parser → Resume types: produces typed data
src/utils/markdownParser.ts - App composition → Resume loader: loads resume
src/App.tsx - App composition → Theme state: gets theme state
src/App.tsx - App composition → Navigation: renders
src/App.tsx - App composition → Hero: renders
src/App.tsx - App composition → About: renders
src/App.tsx - App composition → Skills: renders
src/App.tsx - App composition → Experience: renders
src/App.tsx - App composition → Projects: renders
src/App.tsx - App composition → Certifications: renders
src/App.tsx - App composition → Education: renders
src/App.tsx - App composition → Contact: renders
src/App.tsx - App composition → Footer: renders
src/App.tsx - Hero → Hero spotlight: uses
src/components/Hero.tsx - Hero → Resume download: requests PDF
src/components/Hero.tsx - Hero → Code window: renders
src/components/Hero.tsx - Resume download → PDF document: creates document with
src/utils/download.tsx - Navigation → Theme toggle: renders
src/components/Navbar.tsx - Navigation → Resume download: uses
src/components/Navbar.tsx - Contact → Mail client: opens mailto
src/components/Contact.tsx - Theme state → Browser storage and preferences: reads and writes preference
src/hooks/useTheme.ts - Theme state → Browser storage and preferences: checks system theme
src/hooks/useTheme.ts - About → Section heading: uses
src/components/About.tsx - About → Section backdrop: uses
src/components/About.tsx - About → Scroll reveal: uses
src/components/About.tsx - Section backdrop → Class utility: uses
src/components/SectionBackdrop.tsx