# nassonct/rglhtml architecture

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

- Interactive diagram: https://gitdiagram.com/nassonct/rglhtml
- Repository: https://github.com/nassonct/rglhtml

## Overview

Raphael Group Limited is a bilingual static company website. Visitors browse English or Kiswahili pages covering products, businesses, company information and contact options; enquiry forms hand off a prefilled draft to the visitor’s email application rather than submitting it to a server. Gallery, markets and partner content are maintained as static manifests, and the gallery supports loading more photos. The README documents these capabilities but no source excerpts were provided, so links between individual scripts, pages and manifests are not inferred.

Main entry points: [`pages/en/contact`](https://github.com/nassonct/rglhtml/tree/main/pages/en/contact) (Contact pages), [`assets/js/gallery.js`](https://github.com/nassonct/rglhtml/blob/main/assets/js/gallery.js) (Gallery interaction), [`index.html`](https://github.com/nassonct/rglhtml/blob/main/index.html) (English home), [`sw/index.html`](https://github.com/nassonct/rglhtml/blob/main/sw/index.html) (Kiswahili home)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Visitor experience"]
  node_english_home["English home<br/>[index.html]"]
  node_swahili_home["Kiswahili home<br/>[index.html]"]
  node_english_pages["English pages"]
  node_swahili_pages["Kiswahili pages"]
  node_contact_pages["Contact pages"]
end

subgraph group_content["Business content"]
  node_product_pages["Product pages"]
  node_business_pages["Business pages"]
  node_company_pages["Company pages"]
  node_market_manifest["Market manifest<br/>[markets.json]"]
  node_gallery_manifest["Gallery manifest<br/>[gallery.json]"]
  node_partner_manifest["Partner manifest<br/>[partners.json]"]
  node_gallery_photos["Gallery photos"]
end

subgraph group_interactions["Progressive interactions"]
  node_market_interaction["Market interaction<br/>[markets.js]"]
  node_gallery_interaction["Gallery interaction<br/>[gallery.js]"]
  node_partner_interaction["Partner interaction<br/>[partners.js]"]
end

subgraph group_hosting["Static hosting"]
  node_legacy_redirects["Legacy redirects<br/>[.htaccess]"]
end

node_visitor(("Visitor"))
node_email_app["Email application"]

node_visitor -->|"opens"| node_english_home
node_visitor -->|"opens"| node_swahili_home
node_visitor -->|"browses"| node_english_pages
node_visitor -->|"browses"| node_swahili_pages
node_visitor -->|"starts enquiry"| node_contact_pages
node_contact_pages -->|"opens draft"| node_email_app
node_visitor -->|"uses old URL"| node_legacy_redirects
node_gallery_interaction -.->|"shows photos"| node_gallery_photos

click node_english_home "https://github.com/nassonct/rglhtml/blob/main/index.html"
click node_swahili_home "https://github.com/nassonct/rglhtml/blob/main/sw/index.html"
click node_english_pages "https://github.com/nassonct/rglhtml/tree/main/pages/en"
click node_swahili_pages "https://github.com/nassonct/rglhtml/tree/main/pages/sw"
click node_product_pages "https://github.com/nassonct/rglhtml/tree/main/pages/en/products"
click node_business_pages "https://github.com/nassonct/rglhtml/tree/main/pages/en/businesses"
click node_company_pages "https://github.com/nassonct/rglhtml/tree/main/pages/en/company"
click node_contact_pages "https://github.com/nassonct/rglhtml/tree/main/pages/en/contact"
click node_legacy_redirects "https://github.com/nassonct/rglhtml/blob/main/.htaccess"
click node_market_manifest "https://github.com/nassonct/rglhtml/blob/main/assets/data/markets.json"
click node_gallery_manifest "https://github.com/nassonct/rglhtml/blob/main/assets/data/gallery.json"
click node_partner_manifest "https://github.com/nassonct/rglhtml/blob/main/assets/partners/partners.json"
click node_gallery_photos "https://github.com/nassonct/rglhtml/tree/main/assets/gallery"
click node_market_interaction "https://github.com/nassonct/rglhtml/blob/main/assets/js/markets.js"
click node_gallery_interaction "https://github.com/nassonct/rglhtml/blob/main/assets/js/gallery.js"
click node_partner_interaction "https://github.com/nassonct/rglhtml/blob/main/assets/js/partners.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_english_home,node_swahili_home,node_english_pages,node_swahili_pages,node_contact_pages toneBlue
class node_product_pages,node_business_pages,node_company_pages,node_market_manifest,node_gallery_manifest,node_partner_manifest,node_gallery_photos toneAmber
class node_market_interaction,node_gallery_interaction,node_partner_interaction toneMint
class node_legacy_redirects toneRose
class node_visitor,node_email_app toneIndigo
```

## Components

### Visitor experience

- [English home](https://github.com/nassonct/rglhtml/blob/main/index.html): `index.html`
- [Kiswahili home](https://github.com/nassonct/rglhtml/blob/main/sw/index.html): `sw/index.html`
- [English pages](https://github.com/nassonct/rglhtml/tree/main/pages/en): `pages/en`
- [Kiswahili pages](https://github.com/nassonct/rglhtml/tree/main/pages/sw): `pages/sw`
- [Contact pages](https://github.com/nassonct/rglhtml/tree/main/pages/en/contact): `pages/en/contact`

### Business content

- [Product pages](https://github.com/nassonct/rglhtml/tree/main/pages/en/products): `pages/en/products`
- [Business pages](https://github.com/nassonct/rglhtml/tree/main/pages/en/businesses): `pages/en/businesses`
- [Company pages](https://github.com/nassonct/rglhtml/tree/main/pages/en/company): `pages/en/company`
- [Market manifest](https://github.com/nassonct/rglhtml/blob/main/assets/data/markets.json): `assets/data/markets.json`
- [Gallery manifest](https://github.com/nassonct/rglhtml/blob/main/assets/data/gallery.json): `assets/data/gallery.json`
- [Partner manifest](https://github.com/nassonct/rglhtml/blob/main/assets/partners/partners.json): `assets/partners/partners.json`
- [Gallery photos](https://github.com/nassonct/rglhtml/tree/main/assets/gallery): `assets/gallery`

### Progressive interactions

- [Market interaction](https://github.com/nassonct/rglhtml/blob/main/assets/js/markets.js): `assets/js/markets.js`
- [Gallery interaction](https://github.com/nassonct/rglhtml/blob/main/assets/js/gallery.js): `assets/js/gallery.js`
- [Partner interaction](https://github.com/nassonct/rglhtml/blob/main/assets/js/partners.js): `assets/js/partners.js`

### Static hosting

- [Legacy redirects](https://github.com/nassonct/rglhtml/blob/main/.htaccess): `.htaccess`

### Other components

- **Visitor**
- **Email application**

## Connections

- Visitor → English home: opens (evidence: `README.md`)
- Visitor → Kiswahili home: opens (evidence: `README.md`)
- Visitor → English pages: browses (evidence: `README.md`)
- Visitor → Kiswahili pages: browses (evidence: `README.md`)
- Visitor → Contact pages: starts enquiry (evidence: `README.md`)
- Contact pages → Email application: opens draft (evidence: `README.md`)
- Visitor → Legacy redirects: uses old URL (evidence: `README.md`)
- Gallery interaction → Gallery photos: shows photos
