How hritik3706/portfolio works
This is a React portfolio site presenting its owner’s profile, skills, selected projects, achievements, and contact information. The visitor moves from the hero through anchored sections; the projects section presents project details and artwork, while navigation tracks the active section. Internally, App composes the page and binds shared pointer state used by the animated hero scene. Project implementations described in the portfolio are showcased content, not runtime subsystems of this repository. The graph follows the supplied source excerpts and index; project-feature relationships are documented in the data and README, not inspected project code.
Main entry points: App.tsx Page composition · Projects.tsx Project listing · profile.ts Profile data · Reveal.tsx Reveal animation
Components 26
Page composition
- Page composition
src/App.tsx
Portfolio content
- Hero introduction
src/components/hero/Hero.tsx - About profile
src/components/about/About.tsx - Skills section
src/components/skills/Skills.tsx - Achievements section
src/components/achievements/Achievements.tsx - Contact section
src/components/contact/Contact.tsx - Footer
src/components/layout/Footer.tsx - Profile data
src/data/profile.ts - Skills data
src/data/skills.ts - Achievement data
src/data/achievements.ts
Project showcase
- Project listing
src/components/projects/Projects.tsx - Project details
src/data/projects.ts - Project detail modal
src/components/projects/ProjectModal.tsx - Project visual
src/components/projects/ProjectVisual.tsx - Project artwork
src/components/projects/ProjectArtwork.tsx
Navigation and motion
- Section navigation
src/components/layout/Navigation.tsx - Active section tracking
src/hooks/useActiveSection.ts - Scroll tracking
src/hooks/useScrolled.ts - Custom cursor
src/components/ui/Cursor.tsx - Pointer state
src/lib/pointer.ts - Three.js hero scene
src/components/hero/HeroScene.tsx - Reduced-motion preference
src/hooks/usePrefersReducedMotion.ts - Reveal animation
src/components/ui/Reveal.tsx - Section labels
src/components/ui/SectionLabel.tsx
Other components
- Site visitor
- SMARTPULSE live dashboard
Connections 41
- Site visitor → Page composition: views
src/App.tsx - Page composition → Section navigation: renders
src/App.tsx - Page composition → Hero introduction: renders
src/App.tsx - Page composition → About profile: renders
src/App.tsx - Page composition → Skills section: renders
src/App.tsx - Page composition → Project listing: renders
src/App.tsx - Page composition → Achievements section: renders
src/App.tsx - Page composition → Contact section: renders
src/App.tsx - Page composition → Footer: renders
src/App.tsx - Page composition → Custom cursor: renders
src/App.tsx - Page composition → Pointer state: binds tracking
src/App.tsx - Hero introduction → Three.js hero scene: renders
src/components/hero/Hero.tsx - Hero introduction → Reduced-motion preference: checks preference
src/components/hero/Hero.tsx - Three.js hero scene → Pointer state: reads state
src/components/hero/HeroScene.tsx - Custom cursor → Reduced-motion preference: checks preference
src/components/ui/Cursor.tsx - Section navigation → Active section tracking: tracks section
src/components/layout/Navigation.tsx - Section navigation → Scroll tracking: tracks scroll
src/components/layout/Navigation.tsx - Section navigation → Profile data: reads links
src/components/layout/Navigation.tsx - Active section tracking → Profile data: reads section IDs
src/hooks/useActiveSection.ts - About profile → Profile data: reads profile
src/components/about/About.tsx - Skills section → Skills data: reads skills
src/components/skills/Skills.tsx - Achievements section → Achievement data: reads marks
src/components/achievements/Achievements.tsx - Contact section → Profile data: reads contact
src/components/contact/Contact.tsx - Footer → Profile data: reads profile
src/components/layout/Footer.tsx - Project listing → Project details: reads entries
src/components/projects/Projects.tsx - Project listing → Project detail modal: opens details
src/components/projects/Projects.tsx - Project listing → Project visual: renders visuals
src/components/projects/Projects.tsx - Project detail modal → Project details: reads details
src/components/projects/ProjectModal.tsx - Project detail modal → Project visual: renders visual
src/components/projects/ProjectModal.tsx - Project visual → Project artwork: renders artwork
src/components/projects/ProjectVisual.tsx - About profile → Reveal animation: uses animation
src/components/about/About.tsx - About profile → Section labels: renders label
src/components/about/About.tsx - Skills section → Reveal animation: uses animation
src/components/skills/Skills.tsx - Skills section → Section labels: renders label
src/components/skills/Skills.tsx - Project listing → Reveal animation: uses animation
src/components/projects/Projects.tsx - Project listing → Section labels: renders label
src/components/projects/Projects.tsx - Achievements section → Reveal animation: uses animation
src/components/achievements/Achievements.tsx - Achievements section → Section labels: renders label
src/components/achievements/Achievements.tsx - Contact section → Reveal animation: uses animation
src/components/contact/Contact.tsx - Contact section → Section labels: renders label
src/components/contact/Contact.tsx - Project details → SMARTPULSE live dashboard: links to dashboard
README.md