# innovation-for-impact/ifi-website architecture

> Architecture diagram of the GitHub repository innovation-for-impact/ifi-website, 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/innovation-for-impact/ifi-website
- Repository: https://github.com/innovation-for-impact/ifi-website

## Overview

This repository is a static informational website for Innovation for Impact. Visitors browse the home, clients, recruitment, team, and contact pages; JavaScript loads shared page fragments and selected JSON content to render client, recruitment, and team information. The README describes local static serving but provides little product-level detail. Connections from pages to their scripts are not shown because the HTML excerpts were not provided; the team script also requests a team data file absent from the tree.

Main entry points: [`static/js/loadComponents.js`](https://github.com/innovation-for-impact/ifi-website/blob/main/static/js/loadComponents.js) (Component loader), [`static/js/clients.js`](https://github.com/innovation-for-impact/ifi-website/blob/main/static/js/clients.js) (Client content renderer), [`static/js/recruitment.js`](https://github.com/innovation-for-impact/ifi-website/blob/main/static/js/recruitment.js) (Recruitment renderer), [`static/js/team.js`](https://github.com/innovation-for-impact/ifi-website/blob/main/static/js/team.js) (Team renderer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Website pages"]
  node_home["Home page<br/>[index.html]"]
  node_clients_page["Clients page<br/>[clients.html]"]
  node_recruitment_page["Recruitment page<br/>[recruitment.html]"]
  node_team_page["Team page<br/>[our-team.html]"]
  node_contact_page["Contact page<br/>[contact-us.html]"]
end

subgraph group_shared["Shared components"]
  node_component_loader["Component loader<br/>[loadComponents.js]"]
  node_navbar["Navigation fragment<br/>[navbar.html]"]
  node_footer["Footer fragment<br/>[footer.html]"]
end

subgraph group_content["Page content"]
  node_clients_render["Client content renderer<br/>[clients.js]"]
  node_clients_data["Client content<br/>[clients.json]"]
  node_recruitment_render["Recruitment renderer<br/>[recruitment.js]"]
  node_recruitment_data["Recruitment content<br/>[recruitment.json]"]
  node_team_render["Team renderer<br/>[team.js]"]
  node_board_data["Board member data<br/>[board.json]"]
  node_services_data["Services content<br/>[services.json]"]
end

node_visitor(("Visitor"))

node_visitor -.->|"browses"| node_home
node_component_loader -->|"fetches"| node_navbar
node_component_loader -->|"fetches"| node_footer
node_clients_render -->|"fetches"| node_clients_data
node_recruitment_render -->|"fetches"| node_recruitment_data
node_team_render -->|"fetches"| node_board_data

click node_home "https://github.com/innovation-for-impact/ifi-website/blob/main/index.html"
click node_clients_page "https://github.com/innovation-for-impact/ifi-website/blob/main/pages/clients.html"
click node_recruitment_page "https://github.com/innovation-for-impact/ifi-website/blob/main/pages/recruitment.html"
click node_team_page "https://github.com/innovation-for-impact/ifi-website/blob/main/pages/our-team.html"
click node_contact_page "https://github.com/innovation-for-impact/ifi-website/blob/main/pages/contact-us.html"
click node_component_loader "https://github.com/innovation-for-impact/ifi-website/blob/main/static/js/loadComponents.js"
click node_navbar "https://github.com/innovation-for-impact/ifi-website/blob/main/components/navbar.html"
click node_footer "https://github.com/innovation-for-impact/ifi-website/blob/main/components/footer.html"
click node_clients_render "https://github.com/innovation-for-impact/ifi-website/blob/main/static/js/clients.js"
click node_clients_data "https://github.com/innovation-for-impact/ifi-website/blob/main/static/data/clients.json"
click node_recruitment_render "https://github.com/innovation-for-impact/ifi-website/blob/main/static/js/recruitment.js"
click node_recruitment_data "https://github.com/innovation-for-impact/ifi-website/blob/main/static/data/recruitment.json"
click node_team_render "https://github.com/innovation-for-impact/ifi-website/blob/main/static/js/team.js"
click node_board_data "https://github.com/innovation-for-impact/ifi-website/blob/main/static/data/team_members/board.json"
click node_services_data "https://github.com/innovation-for-impact/ifi-website/blob/main/static/services.json"

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_clients_page,node_recruitment_page,node_team_page,node_contact_page toneBlue
class node_component_loader,node_navbar,node_footer toneAmber
class node_clients_render,node_clients_data,node_recruitment_render,node_recruitment_data,node_team_render,node_board_data,node_services_data toneMint
class node_visitor toneIndigo
```

## Components

### Website pages

- [Home page](https://github.com/innovation-for-impact/ifi-website/blob/main/index.html): `index.html`
- [Clients page](https://github.com/innovation-for-impact/ifi-website/blob/main/pages/clients.html): `pages/clients.html`
- [Recruitment page](https://github.com/innovation-for-impact/ifi-website/blob/main/pages/recruitment.html): `pages/recruitment.html`
- [Team page](https://github.com/innovation-for-impact/ifi-website/blob/main/pages/our-team.html): `pages/our-team.html`
- [Contact page](https://github.com/innovation-for-impact/ifi-website/blob/main/pages/contact-us.html): `pages/contact-us.html`

### Shared components

- [Component loader](https://github.com/innovation-for-impact/ifi-website/blob/main/static/js/loadComponents.js): `static/js/loadComponents.js`
- [Navigation fragment](https://github.com/innovation-for-impact/ifi-website/blob/main/components/navbar.html): `components/navbar.html`
- [Footer fragment](https://github.com/innovation-for-impact/ifi-website/blob/main/components/footer.html): `components/footer.html`

### Page content

- [Client content renderer](https://github.com/innovation-for-impact/ifi-website/blob/main/static/js/clients.js): `static/js/clients.js`
- [Client content](https://github.com/innovation-for-impact/ifi-website/blob/main/static/data/clients.json): `static/data/clients.json`
- [Recruitment renderer](https://github.com/innovation-for-impact/ifi-website/blob/main/static/js/recruitment.js): `static/js/recruitment.js`
- [Recruitment content](https://github.com/innovation-for-impact/ifi-website/blob/main/static/data/recruitment.json): `static/data/recruitment.json`
- [Team renderer](https://github.com/innovation-for-impact/ifi-website/blob/main/static/js/team.js): `static/js/team.js`
- [Board member data](https://github.com/innovation-for-impact/ifi-website/blob/main/static/data/team_members/board.json): `static/data/team_members/board.json`
- [Services content](https://github.com/innovation-for-impact/ifi-website/blob/main/static/services.json): `static/services.json`

### Other components

- **Visitor**

## Connections

- Visitor → Home page: browses
- Component loader → Navigation fragment: fetches (evidence: `static/js/loadComponents.js`)
- Component loader → Footer fragment: fetches (evidence: `static/js/loadComponents.js`)
- Client content renderer → Client content: fetches (evidence: `static/js/clients.js`)
- Recruitment renderer → Recruitment content: fetches (evidence: `static/js/recruitment.js`)
- Team renderer → Board member data: fetches (evidence: `static/js/team.js`)
