How ahmad1bakran/portfolio works
This is a bilingual personal portfolio built with Next.js. Visitors browse a localized home page covering the profile, skills, experience, achievements, projects, and contact details, or open the dedicated projects page; navigation supports switching between Arabic and English. The graph separates route rendering, shared interface behavior, and the portfolio content model. Source excerpts show the main page and project-page composition; unsampled route behavior and visual styling details are not expanded.
Main entry points: [lang]/page.tsx Home sections · projects/page.tsx Projects page · LanguageContext.tsx Language state · Nav.tsx Site navigation
Components 12
Localized routes
- Home sections
src/app/[lang]/page.tsx - Projects page
src/app/[lang]/projects/page.tsx - Language route
src/app/[lang]/layout.tsx
Portfolio content
- Bilingual content
src/app/lib/data.ts
Shared interface
- Language state
src/app/components/LanguageContext.tsx - Site navigation
src/app/components/Nav.tsx - Site footer
src/app/components/Footer.tsx - Skill icons
src/app/components/SkillIcon.tsx - Asset URL helper
src/app/lib/utils.ts
Application shell
- Root layout
src/app/layout.tsx - Navigation progress
src/app/components/NavigationProgress.tsx
Other components
- Portfolio visitor
Connections 18
- Portfolio visitor → Home sections: browses
README.md - Portfolio visitor → Projects page: opens projects
- Language route → Language state: provides language
src/app/[lang]/layout.tsx - Home sections → Language state: reads language
src/app/[lang]/page.tsx - Home sections → Bilingual content: reads content
src/app/[lang]/page.tsx - Home sections → Site navigation: renders
src/app/[lang]/page.tsx - Home sections → Site footer: renders
src/app/[lang]/page.tsx - Home sections → Skill icons: renders
src/app/[lang]/page.tsx - Home sections → Asset URL helper: gets asset URL
src/app/[lang]/page.tsx - Projects page → Language state: reads language
src/app/[lang]/projects/page.tsx - Projects page → Bilingual content: reads content
src/app/[lang]/projects/page.tsx - Projects page → Site navigation: renders
src/app/[lang]/projects/page.tsx - Projects page → Site footer: renders
src/app/[lang]/projects/page.tsx - Site navigation → Language state: reads and toggles
src/app/components/Nav.tsx - Site navigation → Bilingual content: reads labels
src/app/components/Nav.tsx - Site footer → Language state: reads language
src/app/components/Footer.tsx - Site footer → Bilingual content: reads name
src/app/components/Footer.tsx - Root layout → Navigation progress: renders
src/app/layout.tsx