How mohamedbr-dev/portfolio- works
This repository is a React portfolio website: visitors enter through the app shell and browse project case studies, biography, skills, experience, and contact information. The main internal layer is its interaction system—animation hooks and configurable sound effects—alongside the data-driven content sections. The README describes only a React/Vite template; the feature map is based on the sampled source, so unsampled styling and section details are not expanded.
Main entry points: App.jsx Portfolio app · useSound.js Sound system · Sections.jsx Page sections · main.jsx React entry
Components 11
App shell
- React entry
src/main.jsx - Portfolio app
src/App.jsx - Global styles
src/styles/global.css
Portfolio content
- Page sections
src/components/Sections.jsx - Portfolio data
src/data.js
Interactions
- Sound settings
src/components/SoundSettings.jsx - Animation hooks
src/hooks/useAnimations.js - Sound system
src/hooks/useSound.js - Sound assets
public/audio
Other components
- Visitor
- Browser storage
Connections 11
- Visitor → React entry: opens site
- React entry → Portfolio app: renders
src/main.jsx - Portfolio app → Page sections: renders
src/App.jsx - Portfolio app → Global styles: imports styles
src/App.jsx - Portfolio app → Animation hooks: invokes hooks
src/App.jsx - Portfolio app → Sound system: initializes sound
src/App.jsx - Page sections → Portfolio data: reads content
src/components/Sections.jsx - Page sections → Sound settings: renders settings
src/components/Sections.jsx - Sound settings → Sound system: previews sounds
src/components/SoundSettings.jsx - Sound system → Sound assets: fetches audio
src/hooks/useSound.js - Sound system → Browser storage: reads and saves
src/hooks/useSound.js