# rahul-bangar/portfolio architecture

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

- Interactive diagram: https://gitdiagram.com/rahul-bangar/portfolio
- Repository: https://github.com/rahul-bangar/portfolio

## Overview

This is a static personal portfolio. A visitor opens the home page, which presents profile, résumé, project, and contact content; the contact form prepares a mailto message for the visitor’s email client. The README documents the page composition and static delivery, but the sampled source does not include the page or component implementations. The README also names Experience and Education components absent from the supplied tree; Resume is represented here as the available résumé-related component, without assuming it implements those sections.

Main entry points: [`src/pages/index.astro`](https://github.com/rahul-bangar/portfolio/blob/main/src/pages/index.astro) (Home page), [`src/components/Contact.astro`](https://github.com/rahul-bangar/portfolio/blob/main/src/components/Contact.astro) (Contact form), [`src/layouts/Base.astro`](https://github.com/rahul-bangar/portfolio/blob/main/src/layouts/Base.astro) (HTML shell), [`src/components/Nav.astro`](https://github.com/rahul-bangar/portfolio/blob/main/src/components/Nav.astro) (Navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Portfolio presentation"]
  node_home["Home page<br/>[index.astro]"]
  node_base["HTML shell<br/>[Base.astro]"]
  node_nav["Navigation<br/>[Nav.astro]"]
  node_footer["Footer<br/>[Footer.astro]"]
  node_icon["Icon component<br/>[Icon.astro]"]
end

subgraph group_content["Portfolio content"]
  node_hero["Introduction<br/>[Hero.astro]"]
  node_about["About and skills<br/>[About.astro]"]
  node_resume["Résumé<br/>[Resume.astro]"]
  node_work["Projects<br/>[Work.astro]"]
  node_contact["Contact form<br/>[Contact.astro]"]
  node_publicassets["Static assets"]
end

subgraph group_styling["Presentation styling"]
  node_globalcss["Global styles<br/>[global.css]"]
end

node_visitor(("Visitor"))
node_emailclient(("Email client"))

node_visitor -->|"opens"| node_home
node_home -->|"composes"| node_nav
node_home -->|"composes"| node_hero
node_home -->|"composes"| node_about
node_home -->|"composes"| node_work
node_home -->|"composes"| node_contact
node_home -->|"composes"| node_footer
node_home -.->|"uses layout"| node_base
node_base -.->|"includes styles"| node_globalcss
node_visitor -->|"submits message"| node_contact
node_contact -->|"opens mailto"| node_emailclient
node_home -->|"references assets"| node_publicassets

click node_home "https://github.com/rahul-bangar/portfolio/blob/main/src/pages/index.astro"
click node_base "https://github.com/rahul-bangar/portfolio/blob/main/src/layouts/Base.astro"
click node_nav "https://github.com/rahul-bangar/portfolio/blob/main/src/components/Nav.astro"
click node_hero "https://github.com/rahul-bangar/portfolio/blob/main/src/components/Hero.astro"
click node_about "https://github.com/rahul-bangar/portfolio/blob/main/src/components/About.astro"
click node_resume "https://github.com/rahul-bangar/portfolio/blob/main/src/components/Resume.astro"
click node_work "https://github.com/rahul-bangar/portfolio/blob/main/src/components/Work.astro"
click node_contact "https://github.com/rahul-bangar/portfolio/blob/main/src/components/Contact.astro"
click node_footer "https://github.com/rahul-bangar/portfolio/blob/main/src/components/Footer.astro"
click node_icon "https://github.com/rahul-bangar/portfolio/blob/main/src/components/Icon.astro"
click node_globalcss "https://github.com/rahul-bangar/portfolio/blob/main/src/styles/global.css"
click node_publicassets "https://github.com/rahul-bangar/portfolio/tree/main/public"

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_home,node_base,node_nav,node_footer,node_icon,node_emailclient toneBlue
class node_hero,node_about,node_resume,node_work,node_contact,node_publicassets toneAmber
class node_globalcss toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio presentation

- [Home page](https://github.com/rahul-bangar/portfolio/blob/main/src/pages/index.astro): `src/pages/index.astro`
- [HTML shell](https://github.com/rahul-bangar/portfolio/blob/main/src/layouts/Base.astro): `src/layouts/Base.astro`
- [Navigation](https://github.com/rahul-bangar/portfolio/blob/main/src/components/Nav.astro): `src/components/Nav.astro`
- [Footer](https://github.com/rahul-bangar/portfolio/blob/main/src/components/Footer.astro): `src/components/Footer.astro`
- [Icon component](https://github.com/rahul-bangar/portfolio/blob/main/src/components/Icon.astro): `src/components/Icon.astro`

### Portfolio content

- [Introduction](https://github.com/rahul-bangar/portfolio/blob/main/src/components/Hero.astro): `src/components/Hero.astro`
- [About and skills](https://github.com/rahul-bangar/portfolio/blob/main/src/components/About.astro): `src/components/About.astro`
- [Résumé](https://github.com/rahul-bangar/portfolio/blob/main/src/components/Resume.astro): `src/components/Resume.astro`
- [Projects](https://github.com/rahul-bangar/portfolio/blob/main/src/components/Work.astro): `src/components/Work.astro`
- [Contact form](https://github.com/rahul-bangar/portfolio/blob/main/src/components/Contact.astro): `src/components/Contact.astro`
- [Static assets](https://github.com/rahul-bangar/portfolio/tree/main/public): `public`

### Presentation styling

- [Global styles](https://github.com/rahul-bangar/portfolio/blob/main/src/styles/global.css): `src/styles/global.css`

### Other components

- **Visitor**
- **Email client**

## Connections

- Visitor → Home page: opens (evidence: `README.md`)
- Home page → Navigation: composes (evidence: `README.md`)
- Home page → Introduction: composes (evidence: `README.md`)
- Home page → About and skills: composes (evidence: `README.md`)
- Home page → Projects: composes (evidence: `README.md`)
- Home page → Contact form: composes (evidence: `README.md`)
- Home page → Footer: composes (evidence: `README.md`)
- Home page → HTML shell: uses layout
- HTML shell → Global styles: includes styles
- Visitor → Contact form: submits message (evidence: `README.md`)
- Contact form → Email client: opens mailto (evidence: `README.md`)
- Home page → Static assets: references assets (evidence: `README.md`)
