How mahmoud-alaa-dev/portfolio works
This is a Next.js personal portfolio: visitors browse the landing page’s Hero, About, Skills, Projects, and Contact sections, then can submit a validated contact form that posts to the contact API and is documented as powered by Resend. The graph includes the shared layout and presentation helpers plus the major content data. The API implementation was not excerpted, so its Resend relationship is based on the README rather than inspected handler code.
Main entry points: page.tsx Home composition · Navbar.tsx Navigation · Container.tsx Content container · Hero.tsx Hero
Components 20
Portfolio shell
- Home composition
app/page.tsx - Site layout
app/layout.tsx - Global styling
app/globals.css - Navigation
components/layout/Navbar.tsx - Footer
components/layout/Footer.tsx
Portfolio sections
Shared presentation
- Content container
components/layout/Container.tsx - Button
components/ui/Button.tsx - Mobile hook
hooks/use-is-mobile.ts - UI utilities
lib/utils.ts - Navbar styling
styles/Navbar.css
Contact flow
- Contact form
components/sections/Contact.tsx - Contact API
app/api/contact/route.ts - Resend email service
Portfolio data
- Projects data
data/projects.ts - Skills data
data/skills.ts
Other components
- Portfolio visitor
Connections 28
- Portfolio visitor → Home composition: opens
README.md - Home composition → Hero: renders
app/page.tsx - Home composition → About: renders
app/page.tsx - Home composition → Skills: renders
app/page.tsx - Home composition → Projects: renders
app/page.tsx - Home composition → Contact form: renders
app/page.tsx - Site layout → Navigation: renders
app/layout.tsx - Site layout → Footer: renders
app/layout.tsx - Site layout → Global styling: loads
app/layout.tsx - Navigation → Mobile hook: uses
components/layout/Navbar.tsx - Navigation → Button: renders
components/layout/Navbar.tsx - Navigation → Content container: uses
components/layout/Navbar.tsx - Navigation → UI utilities: calls
components/layout/Navbar.tsx - Navigation → Navbar styling: loads
components/layout/Navbar.tsx - Footer → Content container: uses
components/layout/Footer.tsx - Hero → Button: renders
components/sections/Hero.tsx - Hero → Content container: uses
components/sections/Hero.tsx - Hero → UI utilities: calls
components/sections/Hero.tsx - About → Content container: uses
components/sections/About.tsx - Skills → Skills data: reads
components/sections/Skills.tsx - Skills → Content container: uses
components/sections/Skills.tsx - Skills → UI utilities: calls
components/sections/Skills.tsx - Projects → Projects data: reads
components/sections/Projects.tsx - Projects → Content container: uses
components/sections/Projects.tsx - Contact form → Content container: uses
components/sections/Contact.tsx - Contact form → Contact API: posts to
components/sections/Contact.tsx - Contact API → Resend email service: sends email
README.md - Button → UI utilities: calls
components/ui/Button.tsx