How massabtw/portfolio-irala works
This is a bilingual personal-design portfolio site. A visitor browses the landing page and project grid, filters projects, opens a project modal and gallery, then can contact the designer or view a résumé. The page also presents the designer’s story, profile, and services. App.tsx composes the experience; shared language and smooth-scroll providers supply cross-cutting behavior. Project and translation data are local TypeScript modules, while project images and résumé PDFs are static public assets. Connections among unsampled components are included only where the SOURCE INDEX or excerpts establish them.
Main entry points: App.tsx App composition · translations.ts Translations · SmoothScrollContext.tsx Smooth scroll · Navbar.tsx Navigation
Components 19
Page composition
- React entry
src/main.tsx - App composition
src/App.tsx
Portfolio experience
- Navigation
src/components/Navbar.tsx - Hero section
src/components/Hero.tsx - Project grid
src/components/ProjectsGrid.tsx - Project gallery
src/components/ProjectModal.tsx - Parallax story
src/components/ParallaxStory.tsx - About section
src/components/About.tsx - Services section
src/components/Toolkit.tsx - Contact footer
src/components/Footer.tsx - Theme toggle
src/components/ThemeToggle.tsx - Reveal animation
src/components/Reveal.tsx
Shared state
- Language provider
src/context/LanguageContext.tsx - Smooth scroll
src/context/SmoothScrollContext.tsx
Portfolio content
- Project catalog
src/data/projects.ts - Translations
src/data/translations.ts
Other components
- Visitor
- Lenis scrolling
- Browser storage
Connections 31
- Visitor → React entry: opens site
src/main.tsx - React entry → App composition: renders
src/main.tsx - App composition → Navigation: renders
src/App.tsx - App composition → Hero section: renders
src/App.tsx - App composition → Project grid: renders
src/App.tsx - App composition → Project gallery: renders
src/App.tsx - App composition → Parallax story: renders
src/App.tsx - App composition → About section: renders
src/App.tsx - App composition → Services section: renders
src/App.tsx - App composition → Contact footer: renders
src/App.tsx - Navigation → Theme toggle: renders
src/components/Navbar.tsx - App composition → Project catalog: reads selection
src/App.tsx - Project grid → Project catalog: filters catalog
src/components/ProjectsGrid.tsx - Project gallery → Project catalog: reads gallery
src/components/ProjectModal.tsx - Contact footer → Project catalog: reads profile
src/components/Footer.tsx - App composition → Language provider: provides language
src/App.tsx - App composition → Smooth scroll: provides scrolling
src/App.tsx - App composition → Translations: selects strings
src/App.tsx - Navigation → Language provider: reads language
src/components/Navbar.tsx - Hero section → Language provider: reads language
src/components/Hero.tsx - Project grid → Translations: reads labels
src/components/ProjectsGrid.tsx - Project gallery → Translations: reads details
src/components/ProjectModal.tsx - Parallax story → Translations: reads story
src/components/ParallaxStory.tsx - About section → Translations: reads copy
src/components/About.tsx - Services section → Translations: reads services
src/components/Toolkit.tsx - Contact footer → Translations: reads labels
src/components/Footer.tsx - Navigation → Smooth scroll: controls scrolling
src/components/Navbar.tsx - Project gallery → Smooth scroll: controls scrolling
src/components/ProjectModal.tsx - Contact footer → Smooth scroll: requests scroll
src/components/Footer.tsx - Smooth scroll → Lenis scrolling: drives scrolling
src/context/SmoothScrollContext.tsx - Language provider → Browser storage: persists language
src/context/LanguageContext.tsx