# abdulrahman-mohamad/abdelrahman architecture

> Architecture diagram of the GitHub repository abdulrahman-mohamad/abdelrahman, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/abdulrahman-mohamad/abdelrahman
- Repository: https://github.com/abdulrahman-mohamad/abdelrahman

## Overview

This is a personal developer portfolio: visitors browse a profile, skills, projects and services, then open project case studies or contact the developer. The React app routes between the portfolio home and project-detail pages; sections render content from local data modules. Shared animation, navigation and project-display components support that experience. The README is a generic Vite template and documents no additional product features. Relationships below follow the supplied source index and excerpts; unsampled modules are included where their role is clear, but uncertain calls are omitted.

Main entry points: [`src/App.tsx`](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/App.tsx) (App routes), [`src/components/animations/Fadein.tsx`](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/animations/Fadein.tsx) (Fade-in animation), [`src/pages/ProjectDetail.tsx`](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/pages/ProjectDetail.tsx) (Project case study), [`src/components/sections/Hero.tsx`](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/sections/Hero.tsx) (Hero section)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App and navigation"]
  node_app["App routes<br/>[App.tsx]"]
  node_navbar["Navbar<br/>[Navbar.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
  node_scrollspy["Scroll navigation<br/>[useScrollSpy.ts]"]
end

subgraph group_portfolio["Portfolio content"]
  node_hero["Hero section<br/>[Hero.tsx]"]
  node_about["About section<br/>[About.tsx]"]
  node_skills["Skills section<br/>[Skills.tsx]"]
  node_services["Services section<br/>[Services.tsx]"]
  node_contact["Contact section<br/>[Contact.tsx]"]
  node_testimonials["Testimonials section<br/>[Testimonials.tsx]"]
  node_skillsdata["Skills content<br/>[skills.ts]"]
  node_servicesdata["Services content<br/>[services.ts]"]
  node_testimonialsdata["Testimonials content<br/>[testimonials.ts]"]
end

subgraph group_projects["Project showcase"]
  node_projectssection["Projects section<br/>[Projects.tsx]"]
  node_projectdata["Project catalog<br/>[projects.ts]"]
  node_projectcard["Project card<br/>[ProjectCard.tsx]"]
  node_thumbnail["Project thumbnail"]
  node_detail["Project case study<br/>[ProjectDetail.tsx]"]
end

subgraph group_shared["Shared presentation"]
  node_fadein["Fade-in animation<br/>[Fadein.tsx]"]
  node_scrollreveal["Scroll reveal<br/>[ScrollReveal.tsx]"]
  node_revealhook["Reveal observer hook<br/>[useScrollReveal.ts]"]
  node_background["Gradient background"]
  node_browser["Browser frame<br/>[BrowserFrame.tsx]"]
  node_top["Scroll-to-top control<br/>[ScrollToTop.tsx]"]
end

node_visitor(("Portfolio visitor"))

node_visitor -->|"browses"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_footer
node_app -->|"routes home"| node_hero
node_app -->|"routes home"| node_about
node_app -->|"routes home"| node_skills
node_app -->|"routes home"| node_projectssection
node_app -->|"routes home"| node_services
node_app -->|"routes home"| node_contact
node_app -->|"routes projects"| node_detail
node_app -->|"renders"| node_top
node_navbar -->|"tracks sections"| node_scrollspy
node_footer -->|"scrolls to sections"| node_scrollspy
node_hero -->|"renders"| node_background
node_about -->|"renders"| node_background
node_hero -->|"wraps content"| node_fadein
node_about -->|"wraps content"| node_fadein
node_skills -->|"wraps content"| node_fadein
node_skills -->|"renders data"| node_skillsdata
node_services -->|"wraps content"| node_fadein
node_services -->|"renders data"| node_servicesdata
node_contact -->|"wraps content"| node_fadein
node_projectssection -->|"renders data"| node_projectdata
node_projectssection -->|"renders cards"| node_projectcard
node_projectcard -->|"renders thumbnail"| node_thumbnail
node_thumbnail -->|"frames preview"| node_browser
node_detail -->|"loads by slug"| node_projectdata
node_detail -->|"wraps content"| node_fadein
node_detail -->|"renders"| node_background
node_detail -->|"frames preview"| node_browser
node_scrollreveal -->|"uses hook"| node_revealhook
node_testimonials -->|"renders data"| node_testimonialsdata
node_testimonials -->|"wraps content"| node_fadein
node_app -.->|"home section disabled"| node_testimonials

click node_app "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/App.tsx"
click node_navbar "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/layout/Navbar.tsx"
click node_footer "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/layout/Footer.tsx"
click node_scrollspy "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/hooks/useScrollSpy.ts"
click node_hero "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/sections/Hero.tsx"
click node_about "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/sections/About.tsx"
click node_skills "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/sections/Skills.tsx"
click node_services "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/sections/Services.tsx"
click node_contact "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/sections/Contact.tsx"
click node_testimonials "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/sections/Testimonials.tsx"
click node_skillsdata "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/data/skills.ts"
click node_servicesdata "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/data/services.ts"
click node_testimonialsdata "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/data/testimonials.ts"
click node_projectssection "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/sections/Projects.tsx"
click node_projectdata "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/data/projects.ts"
click node_projectcard "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/ui/ProjectCard.tsx"
click node_thumbnail "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/ui/ProjectThumbnail.tsx"
click node_detail "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/pages/ProjectDetail.tsx"
click node_fadein "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/animations/Fadein.tsx"
click node_scrollreveal "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/animations/ScrollReveal.tsx"
click node_revealhook "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/hooks/useScrollReveal.ts"
click node_background "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/backgrounds/RadialGradientBackground.tsx"
click node_browser "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/ui/BrowserFrame.tsx"
click node_top "https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/ui/ScrollToTop.tsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_navbar,node_footer,node_scrollspy toneBlue
class node_hero,node_about,node_skills,node_services,node_contact,node_testimonials,node_skillsdata,node_servicesdata,node_testimonialsdata toneAmber
class node_projectssection,node_projectdata,node_projectcard,node_thumbnail,node_detail toneMint
class node_fadein,node_scrollreveal,node_revealhook,node_background,node_browser,node_top toneRose
class node_visitor toneIndigo
```

## Components

### App and navigation

- [App routes](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/App.tsx): `src/App.tsx`
- [Navbar](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/layout/Navbar.tsx): `src/components/layout/Navbar.tsx`
- [Footer](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/layout/Footer.tsx): `src/components/layout/Footer.tsx`
- [Scroll navigation](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/hooks/useScrollSpy.ts): `src/hooks/useScrollSpy.ts`

### Portfolio content

- [Hero section](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/sections/Hero.tsx): `src/components/sections/Hero.tsx`
- [About section](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/sections/About.tsx): `src/components/sections/About.tsx`
- [Skills section](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/sections/Skills.tsx): `src/components/sections/Skills.tsx`
- [Services section](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/sections/Services.tsx): `src/components/sections/Services.tsx`
- [Contact section](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/sections/Contact.tsx): `src/components/sections/Contact.tsx`
- [Testimonials section](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/sections/Testimonials.tsx): `src/components/sections/Testimonials.tsx`
- [Skills content](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/data/skills.ts): `src/data/skills.ts`
- [Services content](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/data/services.ts): `src/data/services.ts`
- [Testimonials content](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/data/testimonials.ts): `src/data/testimonials.ts`

### Project showcase

- [Projects section](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/sections/Projects.tsx): `src/components/sections/Projects.tsx`
- [Project catalog](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/data/projects.ts): `src/data/projects.ts`
- [Project card](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/ui/ProjectCard.tsx): `src/components/ui/ProjectCard.tsx`
- [Project thumbnail](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/ui/ProjectThumbnail.tsx): `src/components/ui/ProjectThumbnail.tsx`
- [Project case study](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/pages/ProjectDetail.tsx): `src/pages/ProjectDetail.tsx`

### Shared presentation

- [Fade-in animation](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/animations/Fadein.tsx): `src/components/animations/Fadein.tsx`
- [Scroll reveal](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/animations/ScrollReveal.tsx): `src/components/animations/ScrollReveal.tsx`
- [Reveal observer hook](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/hooks/useScrollReveal.ts): `src/hooks/useScrollReveal.ts`
- [Gradient background](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/backgrounds/RadialGradientBackground.tsx): `src/components/backgrounds/RadialGradientBackground.tsx`
- [Browser frame](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/ui/BrowserFrame.tsx): `src/components/ui/BrowserFrame.tsx`
- [Scroll-to-top control](https://github.com/abdulrahman-mohamad/abdelrahman/blob/main/src/components/ui/ScrollToTop.tsx): `src/components/ui/ScrollToTop.tsx`

### Other components

- **Portfolio visitor**

## Connections

- Portfolio visitor → App routes: browses (evidence: `src/App.tsx`)
- App routes → Navbar: renders (evidence: `src/App.tsx`)
- App routes → Footer: renders (evidence: `src/App.tsx`)
- App routes → Hero section: routes home (evidence: `src/App.tsx`)
- App routes → About section: routes home (evidence: `src/App.tsx`)
- App routes → Skills section: routes home (evidence: `src/App.tsx`)
- App routes → Projects section: routes home (evidence: `src/App.tsx`)
- App routes → Services section: routes home (evidence: `src/App.tsx`)
- App routes → Contact section: routes home (evidence: `src/App.tsx`)
- App routes → Project case study: routes projects (evidence: `src/App.tsx`)
- App routes → Scroll-to-top control: renders (evidence: `src/App.tsx`)
- Navbar → Scroll navigation: tracks sections (evidence: `src/components/layout/Navbar.tsx`)
- Footer → Scroll navigation: scrolls to sections (evidence: `src/components/layout/Footer.tsx`)
- Hero section → Gradient background: renders (evidence: `src/components/sections/Hero.tsx`)
- About section → Gradient background: renders (evidence: `src/components/sections/About.tsx`)
- Hero section → Fade-in animation: wraps content (evidence: `src/components/sections/Hero.tsx`)
- About section → Fade-in animation: wraps content (evidence: `src/components/sections/About.tsx`)
- Skills section → Fade-in animation: wraps content (evidence: `src/components/sections/Skills.tsx`)
- Skills section → Skills content: renders data (evidence: `src/components/sections/Skills.tsx`)
- Services section → Fade-in animation: wraps content (evidence: `src/components/sections/Services.tsx`)
- Services section → Services content: renders data (evidence: `src/components/sections/Services.tsx`)
- Contact section → Fade-in animation: wraps content (evidence: `src/components/sections/Contact.tsx`)
- Projects section → Project catalog: renders data (evidence: `src/components/sections/Projects.tsx`)
- Projects section → Project card: renders cards (evidence: `src/components/sections/Projects.tsx`)
- Project card → Project thumbnail: renders thumbnail (evidence: `src/components/ui/ProjectCard.tsx`)
- Project thumbnail → Browser frame: frames preview (evidence: `src/components/ui/ProjectThumbnail.tsx`)
- Project case study → Project catalog: loads by slug (evidence: `src/pages/ProjectDetail.tsx`)
- Project case study → Fade-in animation: wraps content (evidence: `src/pages/ProjectDetail.tsx`)
- Project case study → Gradient background: renders (evidence: `src/pages/ProjectDetail.tsx`)
- Project case study → Browser frame: frames preview (evidence: `src/pages/ProjectDetail.tsx`)
- Scroll reveal → Reveal observer hook: uses hook (evidence: `src/components/animations/ScrollReveal.tsx`)
- Testimonials section → Testimonials content: renders data (evidence: `src/components/sections/Testimonials.tsx`)
- Testimonials section → Fade-in animation: wraps content (evidence: `src/components/sections/Testimonials.tsx`)
- App routes → Testimonials section: home section disabled (evidence: `src/App.tsx`)
