How hakemalshazly-cmd/portfolio-website works
This repository is a bilingual portfolio site for freelance video editor Abdul Hakim. A visitor enters through the routed portfolio page, explores the profile, featured work, skills, tools and editing process, then reaches contact options. Site preferences provide shared English/Arabic and light/dark state. The excerpts show the page composition and selected-work embed integration; other section internals are represented from their indexed references and names, so their internal behavior is not inferred.
Main entry points: PortfolioPage.tsx Portfolio Page · PreferencesContext.tsx Preference State · SectionFrame.tsx Section Frame · ContactSection.tsx Contact
Components 19
Site Runtime
- React Entry
src/main.tsx - App Router
src/app/App.tsx
Site Preferences
- Preference State
src/app/preferences/PreferencesContext.tsx
Portfolio Content
- Portfolio Page
src/pages/PortfolioPage.tsx - Site Navigation
src/components/SitePreferences.tsx - Section Frame
src/components/SectionFrame.tsx - Home Hero
src/sections/HomeSection.tsx - About
src/sections/AboutSection.tsx - Selected Work
src/sections/SelectedWorkSection.tsx - Skills
src/sections/SkillsSection.tsx - Tools
src/sections/ToolsSection.tsx - Editing Process
src/sections/ProcessSection.tsx - Contact
src/sections/ContactSection.tsx - Footer
src/sections/FooterSection.tsx
External Services
- Videas Embed
Other components
- Visitor
- Browser
- Local Storage
- Email and WhatsApp
Connections 33
- Visitor → Browser: opens site
- Browser → React Entry: loads app
- React Entry → Preference State: provides state
src/main.tsx - React Entry → App Router: renders
src/main.tsx - App Router → Portfolio Page: routes to
src/app/App.tsx - Portfolio Page → Site Navigation: renders
src/pages/PortfolioPage.tsx - Portfolio Page → Home Hero: renders
src/pages/PortfolioPage.tsx - Portfolio Page → About: renders
src/pages/PortfolioPage.tsx - Portfolio Page → Selected Work: renders
src/pages/PortfolioPage.tsx - Portfolio Page → Skills: renders
src/pages/PortfolioPage.tsx - Portfolio Page → Tools: renders
src/pages/PortfolioPage.tsx - Portfolio Page → Editing Process: renders
src/pages/PortfolioPage.tsx - Portfolio Page → Contact: renders
src/pages/PortfolioPage.tsx - Portfolio Page → Footer: renders
src/pages/PortfolioPage.tsx - Site Navigation → Preference State: reads and updates
src/components/SitePreferences.tsx - Preference State → Local Storage: reads and writes
src/app/preferences/PreferencesContext.tsx - Home Hero → Preference State: reads locale
src/sections/HomeSection.tsx - About → Preference State: reads locale
src/sections/AboutSection.tsx - Selected Work → Preference State: reads locale
src/sections/SelectedWorkSection.tsx - Skills → Preference State: reads locale
src/sections/SkillsSection.tsx - Tools → Preference State: reads locale
src/sections/ToolsSection.tsx - Editing Process → Preference State: reads locale
src/sections/ProcessSection.tsx - Contact → Preference State: reads locale
src/sections/ContactSection.tsx - Footer → Preference State: reads locale
src/sections/FooterSection.tsx - About → Section Frame: renders within
src/sections/AboutSection.tsx - Selected Work → Section Frame: renders within
src/sections/SelectedWorkSection.tsx - Skills → Section Frame: renders within
src/sections/SkillsSection.tsx - Editing Process → Section Frame: renders within
src/sections/ProcessSection.tsx - Contact → Section Frame: renders within
src/sections/ContactSection.tsx - Footer → Section Frame: renders within
src/sections/FooterSection.tsx - Selected Work → Videas Embed: loads embed
src/sections/SelectedWorkSection.tsx - Visitor → Contact: selects contact option
src/sections/ContactSection.tsx - Contact → Email and WhatsApp: opens email or WhatsApp
src/sections/ContactSection.tsx