# rizwan-ghouri/m.r-portfolio architecture

> Architecture diagram of the GitHub repository rizwan-ghouri/m.r-portfolio, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rizwan-ghouri/m.r-portfolio
- Repository: https://github.com/rizwan-ghouri/m.r-portfolio

## Overview

This is a React portfolio website presenting its owner, skills, services, projects, and contact options. The main user journey is a single Home page composed of navigation, profile and portfolio sections, ending with a contact form that opens WhatsApp. The graph also shows the separate content-data modules and reusable card/heading components. Relationships come from the supplied excerpts and SOURCE INDEX; unsampled modules are represented only where their paths and use are supported.

Main entry points: [`src/pages/Home/Home.jsx`](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/pages/Home/Home.jsx) (Home page), [`src/components/common/Heading/Heading.jsx`](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/common/Heading/Heading.jsx) (Heading component), [`src/components/Navbar/Navbar.jsx`](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/Navbar/Navbar.jsx) (Navigation), [`src/components/Skills/Skills.jsx`](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/Skills/Skills.jsx) (Skills section)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Page composition"]
  node_app["App entry<br/>[App.jsx]"]
  node_home["Home page<br/>[Home.jsx]"]
end

subgraph group_sections["Portfolio sections"]
  node_navbar["Navigation<br/>[Navbar.jsx]"]
  node_hero["Hero profile<br/>[Hero.jsx]"]
  node_about["About profile<br/>[About.jsx]"]
  node_skills["Skills section<br/>[Skills.jsx]"]
  node_services["Services section<br/>[Services.jsx]"]
  node_projects["Projects section<br/>[Projects.jsx]"]
  node_contact["Contact form<br/>[ContectUs.jsx]"]
  node_footer["Footer<br/>[Footer.jsx]"]
end

subgraph group_presentation["Reusable presentation"]
  node_responsive["Mobile menu<br/>[ResponsiveMenu.jsx]"]
  node_heading["Heading component<br/>[Heading.jsx]"]
  node_skillcards["Skill cards<br/>[SkillsCards.jsx]"]
  node_servicecards["Service cards<br/>[ServicesCards.jsx]"]
  node_projectcard["Project card<br/>[ProjectsCard.jsx]"]
end

subgraph group_content["Section content"]
  node_navdata["Navigation links<br/>[Navlink.js]"]
  node_skilldata["Skills content<br/>[SkillsCards.js]"]
  node_servicedata["Services content<br/>[ServicesCard.js]"]
  node_projectdata["Projects content<br/>[ProjectsCards.js]"]
end

node_whatsapp["WhatsApp"]

node_app -->|"renders"| node_home
node_home -->|"renders"| node_navbar
node_home -->|"renders"| node_hero
node_home -->|"renders"| node_about
node_home -->|"renders"| node_skills
node_home -->|"renders"| node_services
node_home -->|"renders"| node_projects
node_home -->|"renders"| node_contact
node_home -->|"renders"| node_footer
node_navbar -->|"renders"| node_responsive
node_navbar -->|"maps links"| node_navdata
node_navbar -->|"renders"| node_heading
node_hero -->|"renders"| node_heading
node_about -->|"renders"| node_heading
node_skills -->|"renders"| node_heading
node_skills -->|"maps content"| node_skilldata
node_skills -->|"renders"| node_skillcards
node_services -->|"renders"| node_heading
node_services -->|"maps content"| node_servicedata
node_services -->|"renders"| node_servicecards
node_projects -->|"renders"| node_heading
node_projects -->|"maps content"| node_projectdata
node_projects -->|"renders"| node_projectcard
node_servicecards -->|"renders"| node_heading
node_footer -->|"renders"| node_heading
node_contact -->|"opens chat"| node_whatsapp

click node_app "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/App.jsx"
click node_home "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/pages/Home/Home.jsx"
click node_navbar "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/Navbar/Navbar.jsx"
click node_responsive "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/Navbar/ResponsiveMenu.jsx"
click node_hero "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/Hero/Hero.jsx"
click node_about "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/About/About.jsx"
click node_skills "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/Skills/Skills.jsx"
click node_services "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/pages/Services/Services.jsx"
click node_projects "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/Projects/Projects.jsx"
click node_contact "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/ContectUs/ContectUs.jsx"
click node_footer "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/Footer/Footer.jsx"
click node_heading "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/common/Heading/Heading.jsx"
click node_skillcards "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/common/SkillsCards/SkillsCards.jsx"
click node_servicecards "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/common/ServicesCards/ServicesCards.jsx"
click node_projectcard "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/common/ProjectsCards/ProjectsCard.jsx"
click node_navdata "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/utils/constants/Navlink.js"
click node_skilldata "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/utils/constants/SkillsCards.js"
click node_servicedata "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/utils/constants/ServicesCard.js"
click node_projectdata "https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/utils/constants/ProjectsCards.js"

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_home toneBlue
class node_navbar,node_hero,node_about,node_skills,node_services,node_projects,node_contact,node_footer toneAmber
class node_responsive,node_heading,node_skillcards,node_servicecards,node_projectcard toneMint
class node_navdata,node_skilldata,node_servicedata,node_projectdata toneRose
class node_whatsapp toneIndigo
```

## Components

### Page composition

- [App entry](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/App.jsx): `src/App.jsx`
- [Home page](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/pages/Home/Home.jsx): `src/pages/Home/Home.jsx`

### Portfolio sections

- [Navigation](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/Navbar/Navbar.jsx): `src/components/Navbar/Navbar.jsx`
- [Hero profile](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/Hero/Hero.jsx): `src/components/Hero/Hero.jsx`
- [About profile](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/About/About.jsx): `src/components/About/About.jsx`
- [Skills section](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/Skills/Skills.jsx): `src/components/Skills/Skills.jsx`
- [Services section](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/pages/Services/Services.jsx): `src/pages/Services/Services.jsx`
- [Projects section](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/Projects/Projects.jsx): `src/components/Projects/Projects.jsx`
- [Contact form](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/ContectUs/ContectUs.jsx): `src/components/ContectUs/ContectUs.jsx`
- [Footer](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/Footer/Footer.jsx): `src/components/Footer/Footer.jsx`

### Reusable presentation

- [Mobile menu](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/Navbar/ResponsiveMenu.jsx): `src/components/Navbar/ResponsiveMenu.jsx`
- [Heading component](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/common/Heading/Heading.jsx): `src/components/common/Heading/Heading.jsx`
- [Skill cards](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/common/SkillsCards/SkillsCards.jsx): `src/components/common/SkillsCards/SkillsCards.jsx`
- [Service cards](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/common/ServicesCards/ServicesCards.jsx): `src/components/common/ServicesCards/ServicesCards.jsx`
- [Project card](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/components/common/ProjectsCards/ProjectsCard.jsx): `src/components/common/ProjectsCards/ProjectsCard.jsx`

### Section content

- [Navigation links](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/utils/constants/Navlink.js): `src/utils/constants/Navlink.js`
- [Skills content](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/utils/constants/SkillsCards.js): `src/utils/constants/SkillsCards.js`
- [Services content](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/utils/constants/ServicesCard.js): `src/utils/constants/ServicesCard.js`
- [Projects content](https://github.com/rizwan-ghouri/m.r-portfolio/blob/main/src/utils/constants/ProjectsCards.js): `src/utils/constants/ProjectsCards.js`

### Other components

- **WhatsApp**

## Connections

- App entry → Home page: renders (evidence: `src/App.jsx`)
- Home page → Navigation: renders (evidence: `src/pages/Home/Home.jsx`)
- Home page → Hero profile: renders (evidence: `src/pages/Home/Home.jsx`)
- Home page → About profile: renders (evidence: `src/pages/Home/Home.jsx`)
- Home page → Skills section: renders (evidence: `src/pages/Home/Home.jsx`)
- Home page → Services section: renders (evidence: `src/pages/Home/Home.jsx`)
- Home page → Projects section: renders (evidence: `src/pages/Home/Home.jsx`)
- Home page → Contact form: renders (evidence: `src/pages/Home/Home.jsx`)
- Home page → Footer: renders (evidence: `src/pages/Home/Home.jsx`)
- Navigation → Mobile menu: renders (evidence: `src/components/Navbar/Navbar.jsx`)
- Navigation → Navigation links: maps links (evidence: `src/components/Navbar/Navbar.jsx`)
- Navigation → Heading component: renders (evidence: `src/components/Navbar/Navbar.jsx`)
- Hero profile → Heading component: renders (evidence: `src/components/Hero/Hero.jsx`)
- About profile → Heading component: renders (evidence: `src/components/About/About.jsx`)
- Skills section → Heading component: renders (evidence: `src/components/Skills/Skills.jsx`)
- Skills section → Skills content: maps content (evidence: `src/components/Skills/Skills.jsx`)
- Skills section → Skill cards: renders (evidence: `src/components/Skills/Skills.jsx`)
- Services section → Heading component: renders (evidence: `src/pages/Services/Services.jsx`)
- Services section → Services content: maps content (evidence: `src/pages/Services/Services.jsx`)
- Services section → Service cards: renders (evidence: `src/pages/Services/Services.jsx`)
- Projects section → Heading component: renders (evidence: `src/components/Projects/Projects.jsx`)
- Projects section → Projects content: maps content (evidence: `src/components/Projects/Projects.jsx`)
- Projects section → Project card: renders (evidence: `src/components/Projects/Projects.jsx`)
- Service cards → Heading component: renders (evidence: `src/components/common/ServicesCards/ServicesCards.jsx`)
- Footer → Heading component: renders (evidence: `src/components/Footer/Footer.jsx`)
- Contact form → WhatsApp: opens chat (evidence: `src/components/ContectUs/ContectUs.jsx`)
