How mr-sari/portfolio works
This is a bilingual React portfolio and interactive résumé. Visitors navigate a single-page sequence of profile, career, project, skills, education, certification, and contact sections; project cases expand into a detail modal, and the contact form validates before using a configured provider or opening an email draft. The graph reflects documented composition and sampled imports; unsampled section internals are represented at component level, and optional contact providers are documented rather than source-verified here.
Main entry points: App.tsx Page composition · Projects.tsx Project explorer · LanguageProvider.tsx Locale provider · Contact.tsx Contact section
Components 28
Portfolio sections
- Profile hero
src/components/Hero.tsx - About
src/components/About.tsx - Career timeline
src/components/Experience.tsx - Project explorer
src/components/Projects.tsx - Project card
src/components/ProjectCard.tsx - Project visual
src/components/ProjectVisual.tsx - Case study modal
src/components/ProjectModal.tsx - Skills
src/components/Skills.tsx - Education
src/components/Education.tsx - Certifications
src/components/Certifications.tsx - Footer
src/components/Footer.tsx
Navigation and preferences
- Page composition
src/App.tsx - Navigation bar
src/components/Navbar.tsx - Scroll controls
src/components/ScrollChrome.tsx - Language toggle
src/components/LanguageToggle.tsx - Theme toggle
src/components/ThemeToggle.tsx - Theme state
src/hooks/useTheme.tsx
Bilingual content
- Locale provider
src/i18n/LanguageProvider.tsx - Portfolio data
src/data/content.ts - Content localization
src/data/types.ts
Shared presentation
- Shared UI and motion
src/components/ui - Icon registry
src/lib/icons.tsx
Contact
- Contact section
src/components/Contact.tsx - Form validation and delivery
src/lib/contact.ts
Other components
- Visitor
- Formspree
- EmailJS
- Visitor email app
Connections 34
- Visitor → Page composition: opens
- Page composition → Profile hero: renders
src/App.tsx - Page composition → About: renders
src/App.tsx - Page composition → Career timeline: renders
src/App.tsx - Page composition → Project explorer: renders
src/App.tsx - Page composition → Skills: renders
src/App.tsx - Page composition → Education: renders
src/App.tsx - Page composition → Certifications: renders
src/App.tsx - Page composition → Contact section: renders
src/App.tsx - Page composition → Footer: renders
src/App.tsx - Page composition → Navigation bar: renders
src/App.tsx - Page composition → Scroll controls: renders
src/App.tsx - Project explorer → Project card: renders
src/components/Projects.tsx - Project explorer → Project visual: renders
src/components/Projects.tsx - Project explorer → Case study modal: opens
src/components/Projects.tsx - Case study modal → Project card: uses
src/components/ProjectModal.tsx - Case study modal → Project visual: renders
src/components/ProjectModal.tsx - Navigation bar → Language toggle: renders
src/components/Navbar.tsx - Navigation bar → Theme toggle: renders
src/components/Navbar.tsx - Theme toggle → Theme state: reads and updates
src/components/ThemeToggle.tsx - Locale provider → Portfolio data: localizes
src/i18n/LanguageProvider.tsx - Locale provider → Content localization: calls
src/i18n/LanguageProvider.tsx - Profile hero → Locale provider: reads locale data
src/components/Hero.tsx - Career timeline → Locale provider: reads locale data
src/components/Experience.tsx - Project explorer → Locale provider: reads locale data
src/components/Projects.tsx - Contact section → Form validation and delivery: submits form
src/components/Contact.tsx - Form validation and delivery → Formspree: submits to
- Form validation and delivery → EmailJS: submits to
- Form validation and delivery → Visitor email app: opens draft
- Profile hero → Shared UI and motion: uses
src/components/Hero.tsx - Project explorer → Shared UI and motion: uses
src/components/Projects.tsx - Contact section → Shared UI and motion: uses
src/components/Contact.tsx - Skills → Icon registry: renders icons
src/components/Skills.tsx - Contact section → Icon registry: renders icons
src/components/Contact.tsx