How mazen-sharaf/myportfolio works
This is a personal portfolio website. A visitor opens the page, and the application composes a single-page portfolio with hero, about, skills, projects, experience, contact, and footer content. Language and theme preferences shape the rendered page and persist in browser storage. The graph covers the sampled React components and state/content modules; the README identifies the site but does not document further runtime integrations.
Main entry points: App.tsx Page composition · SectionHeading.tsx Section heading · PortfolioSections.tsx Hero section · Icon.tsx Icon renderer
Components 20
Page composition
- React entry
myPortfolio/src/main.tsx - Page composition
myPortfolio/src/App.tsx - Navigation header
myPortfolio/src/components/Header.tsx - Hero section
myPortfolio/src/components/PortfolioSections.tsx - About section
myPortfolio/src/components/PortfolioSections.tsx - Skills section
myPortfolio/src/components/PortfolioSections.tsx - Projects section
myPortfolio/src/components/PortfolioSections.tsx - Experience section
myPortfolio/src/components/PortfolioSections.tsx - Contact section
myPortfolio/src/components/PortfolioSections.tsx - Page footer
myPortfolio/src/components/Footer.tsx - Icon renderer
myPortfolio/src/components/Icon.tsx - Section heading
myPortfolio/src/components/SectionHeading.tsx
Portfolio content
- Skills and projects
myPortfolio/src/data/portfolio.ts - Language copy
myPortfolio/src/i18n/translations.ts - Age calculation
myPortfolio/src/utils/calculateAge.ts - Logo source
myPortfolio/src/utils/logo.ts
User preferences
- Language preference
myPortfolio/src/hooks/useLanguage.ts - Theme preference
myPortfolio/src/hooks/useTheme.ts - Browser local storage
Other components
- Visitor
Connections 31
- Visitor → React entry: opens site
README.md - React entry → Page composition: renders
myPortfolio/src/main.tsx - Page composition → Navigation header: renders
myPortfolio/src/App.tsx - Page composition → Hero section: renders
myPortfolio/src/App.tsx - Page composition → About section: renders
myPortfolio/src/App.tsx - Page composition → Skills section: renders
myPortfolio/src/App.tsx - Page composition → Projects section: renders
myPortfolio/src/App.tsx - Page composition → Experience section: renders
myPortfolio/src/App.tsx - Page composition → Contact section: renders
myPortfolio/src/App.tsx - Page composition → Page footer: renders
myPortfolio/src/App.tsx - Page composition → Skills and projects: passes content
myPortfolio/src/App.tsx - Page composition → Language copy: selects copy
myPortfolio/src/App.tsx - Page composition → Language preference: uses preference
myPortfolio/src/App.tsx - Page composition → Theme preference: uses preference
myPortfolio/src/App.tsx - Navigation header → Icon renderer: renders icons
myPortfolio/src/components/Header.tsx - Hero section → Icon renderer: renders icons
myPortfolio/src/components/PortfolioSections.tsx - Hero section → Section heading: renders heading
myPortfolio/src/components/PortfolioSections.tsx - About section → Section heading: renders heading
myPortfolio/src/components/PortfolioSections.tsx - Skills section → Section heading: renders heading
myPortfolio/src/components/PortfolioSections.tsx - Projects section → Section heading: renders heading
myPortfolio/src/components/PortfolioSections.tsx - Experience section → Section heading: renders heading
myPortfolio/src/components/PortfolioSections.tsx - Contact section → Section heading: renders heading
myPortfolio/src/components/PortfolioSections.tsx - Projects section → Icon renderer: renders icons
myPortfolio/src/components/PortfolioSections.tsx - Contact section → Icon renderer: renders icons
myPortfolio/src/components/PortfolioSections.tsx - Projects section → Skills and projects: renders projects
myPortfolio/src/App.tsx - Skills section → Skills and projects: renders skills
myPortfolio/src/App.tsx - Page footer → Logo source: uses logo
myPortfolio/src/components/Footer.tsx - Hero section → Logo source: uses logo
myPortfolio/src/components/PortfolioSections.tsx - Language copy → Age calculation: calculates age
myPortfolio/src/i18n/translations.ts - Language preference → Browser local storage: reads and writes
myPortfolio/src/hooks/useLanguage.ts - Theme preference → Browser local storage: reads and writes
myPortfolio/src/hooks/useTheme.ts