How varshi000/developer-portfolio works
This is a JSON-driven animated developer portfolio. Visitors arrive at the assembled page, browse profile, skills, projects, experience and education, then contact the owner or follow external project/social links. Portfolio content is typed and exported by a shared data layer; section components render it with reusable UI and reduced-motion behavior. README documents the full section set; some wiring and sections were not sampled, so those links are limited to documented assembly and indexed references.
Main entry points: page.tsx Portfolio page · data.ts Typed data exports · ContactSection.tsx Contact form · useReducedMotion.ts Motion preference
Components 21
Page assembly
- Portfolio page
src/app/page.tsx - SEO and layout
src/app/layout.tsx
Portfolio content
- JSON content
src/data - Typed data exports
src/lib/data.ts - Portfolio types
src/types/portfolio.ts
Portfolio sections
- Hero
src/components/sections/HeroSection.tsx - About
src/components/sections/AboutSection.tsx - Skills
src/components/sections/SkillsSection.tsx - Projects browser
src/components/sections/ProjectsSection.tsx - Project details
src/components/sections/ProjectModal.tsx - Experience timeline
src/components/sections/ExperienceSection.tsx - Education
src/components/sections/EducationSection.tsx - Contact form
src/components/sections/ContactSection.tsx - Navigation
src/components/layout/Navbar.tsx - Footer and socials
src/components/layout/Footer.tsx
Shared interface
- Reusable UI
src/components/ui - Motion preference
src/hooks/useReducedMotion.ts - Class utilities
src/lib/utils.ts
Other components
- Visitor
- Visitor email client
- External project and social sites
Connections 30
- Visitor → Portfolio page: opens
README.md - Portfolio page → SEO and layout: uses layout
README.md - Portfolio page → Hero: assembles sections
README.md - Portfolio page → About: assembles sections
README.md - Portfolio page → Skills: assembles sections
README.md - Portfolio page → Projects browser: assembles sections
README.md - Portfolio page → Experience timeline: assembles sections
README.md - Portfolio page → Education: assembles sections
README.md - Portfolio page → Contact form: assembles sections
README.md - Portfolio page → Navigation: assembles layout
README.md - Portfolio page → Footer and socials: assembles layout
README.md - Typed data exports → JSON content: imports JSON
src/lib/data.ts - Typed data exports → Portfolio types: types exports
src/lib/data.ts - Hero → Typed data exports: reads profile
src/components/sections/HeroSection.tsx - About → Typed data exports: reads biography
- Skills → Typed data exports: reads skills
src/components/sections/SkillsSection.tsx - Projects browser → Typed data exports: reads projects
src/components/sections/ProjectsSection.tsx - Projects browser → Project details: opens details
src/components/sections/ProjectsSection.tsx - Project details → External project and social sites: links to projects
src/components/sections/ProjectModal.tsx - Experience timeline → Typed data exports: reads timeline
src/components/sections/ExperienceSection.tsx - Education → Typed data exports: reads education
- Contact form → Typed data exports: reads socials
src/components/sections/ContactSection.tsx - Contact form → Visitor email client: opens mailto
src/components/sections/ContactSection.tsx - Contact form → External project and social sites: links socials
src/components/sections/ContactSection.tsx - Hero → Motion preference: checks preference
src/components/sections/HeroSection.tsx - Skills → Motion preference: checks preference
src/components/sections/SkillsSection.tsx - Projects browser → Motion preference: checks preference
src/components/sections/ProjectsSection.tsx - Contact form → Motion preference: checks preference
src/components/sections/ContactSection.tsx - Experience timeline → Motion preference: checks preference
src/components/sections/ExperienceSection.tsx - Reusable UI → Class utilities: merges classes
src/components/ui/Button.tsx