# nhhaidmaintainers/nhhaidsite architecture

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

- Interactive diagram: https://gitdiagram.com/nhhaidmaintainers/nhhaidsite
- Repository: https://github.com/nhhaidmaintainers/nhhaidsite

## Overview

NHHAid is a static informational website for NHH Aid, a student-run humanitarian organization. Visitors enter through the React app and browse pages covering the organization, its Malawi education purpose, partners, student team, annual Aksjonsuken campaign and contact information. The app routes those pages and supplies shared navigation and footer; the home page also renders a hero section. The site describes UNICEF and fundraising, but the available evidence shows informational content rather than a runtime UNICEF integration or donation flow.

Main entry points: [`src/App.jsx`](https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/App.jsx) (Routes and layout), [`src/main.jsx`](https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/main.jsx) (React entry), [`src/pages/Home.jsx`](https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/pages/Home.jsx) (Home page), [`src/components/Navbar.jsx`](https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/components/Navbar.jsx) (Navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["App shell"]
  node_entry["React entry<br/>[main.jsx]"]
  node_app["Routes and layout<br/>[App.jsx]"]
  node_navbar["Navigation<br/>[Navbar.jsx]"]
  node_footer["Footer<br/>[Footer.jsx]"]
end

subgraph group_organization["Organization information"]
  node_home["Home page<br/>[Home.jsx]"]
  node_hero["Home hero<br/>[Hero.jsx]"]
  node_about["About NHH Aid<br/>[About.jsx]"]
  node_purpose["Purpose and partnership"]
  node_partners["Partners<br/>[Partners.jsx]"]
  node_team["Student team<br/>[Team.jsx]"]
end

subgraph group_campaign["Campaign and engagement"]
  node_campaign["Aksjonsuken<br/>[Aksjonsuken.jsx]"]
  node_contact["Contact information<br/>[Kontakt.jsx]"]
end

node_visitor(("Website visitor"))

node_visitor -.->|"opens site"| node_entry
node_entry -->|"mounts"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_footer
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_about
node_app -->|"routes to"| node_partners
node_app -->|"routes to"| node_purpose
node_app -->|"routes to"| node_team
node_app -->|"routes to"| node_campaign
node_app -->|"routes to"| node_contact
node_home -->|"renders"| node_hero

click node_entry "https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/main.jsx"
click node_app "https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/App.jsx"
click node_navbar "https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/components/Navbar.jsx"
click node_footer "https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/components/Footer.jsx"
click node_home "https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/pages/Home.jsx"
click node_hero "https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/components/Hero.jsx"
click node_about "https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/pages/About.jsx"
click node_purpose "https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/pages/FormalSamarbeid.jsx"
click node_partners "https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/pages/Partners.jsx"
click node_team "https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/pages/Team.jsx"
click node_campaign "https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/pages/Aksjonsuken.jsx"
click node_contact "https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/pages/Kontakt.jsx"

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_entry,node_app,node_navbar,node_footer toneBlue
class node_home,node_hero,node_about,node_purpose,node_partners,node_team toneAmber
class node_campaign,node_contact toneMint
class node_visitor toneIndigo
```

## Components

### App shell

- [React entry](https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/main.jsx): `src/main.jsx`
- [Routes and layout](https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/App.jsx): `src/App.jsx`
- [Navigation](https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/components/Navbar.jsx): `src/components/Navbar.jsx`
- [Footer](https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/components/Footer.jsx): `src/components/Footer.jsx`

### Organization information

- [Home page](https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/pages/Home.jsx): `src/pages/Home.jsx`
- [Home hero](https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/components/Hero.jsx): `src/components/Hero.jsx`
- [About NHH Aid](https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/pages/About.jsx): `src/pages/About.jsx`
- [Purpose and partnership](https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/pages/FormalSamarbeid.jsx): `src/pages/FormalSamarbeid.jsx`
- [Partners](https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/pages/Partners.jsx): `src/pages/Partners.jsx`
- [Student team](https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/pages/Team.jsx): `src/pages/Team.jsx`

### Campaign and engagement

- [Aksjonsuken](https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/pages/Aksjonsuken.jsx): `src/pages/Aksjonsuken.jsx`
- [Contact information](https://github.com/nhhaidmaintainers/nhhaidsite/blob/main/src/pages/Kontakt.jsx): `src/pages/Kontakt.jsx`

### Other components

- **Website visitor**

## Connections

- Website visitor → React entry: opens site
- React entry → Routes and layout: mounts (evidence: `src/main.jsx`)
- Routes and layout → Navigation: renders (evidence: `src/App.jsx`)
- Routes and layout → Footer: renders (evidence: `src/App.jsx`)
- Routes and layout → Home page: routes to (evidence: `src/App.jsx`)
- Routes and layout → About NHH Aid: routes to (evidence: `src/App.jsx`)
- Routes and layout → Partners: routes to (evidence: `src/App.jsx`)
- Routes and layout → Purpose and partnership: routes to (evidence: `src/App.jsx`)
- Routes and layout → Student team: routes to (evidence: `src/App.jsx`)
- Routes and layout → Aksjonsuken: routes to (evidence: `src/App.jsx`)
- Routes and layout → Contact information: routes to (evidence: `src/App.jsx`)
- Home page → Home hero: renders (evidence: `src/pages/Home.jsx`)
