# harinitalbotiq/main_web architecture

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

- Interactive diagram: https://gitdiagram.com/harinitalbotiq/main_web
- Repository: https://github.com/harinitalbotiq/main_web

## Overview

TALBOTIQ is a static company and product-marketing site. Its main workflow is to combine product facts, homepage content, and published articles into the generated homepage, which visitors browse alongside standalone product and service pages. The README documents the site’s major sections and client-side navigation features. Source excerpts confirm the content inputs and article refresh process; unsampled page internals are represented only at the documented page-directory level.

Main entry points: [`index.html`](https://github.com/harinitalbotiq/main_web/blob/main/index.html) (Generated homepage), [`build.js`](https://github.com/harinitalbotiq/main_web/blob/main/build.js) (Homepage builder), [`articles.js`](https://github.com/harinitalbotiq/main_web/blob/main/articles.js) (Published articles), [`tools/fetch-articles.js`](https://github.com/harinitalbotiq/main_web/blob/main/tools/fetch-articles.js) (Article refresh)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Content sources"]
  node_product_data["Product catalog<br/>[products.js]"]
  node_home_content["Homepage content<br/>[home.js]"]
  node_article_data["Published articles<br/>[articles.js]"]
  node_article_fetch["Article refresh<br/>[fetch-articles.js]"]
end

subgraph group_generation["Homepage generation"]
  node_page_builder["Homepage builder<br/>[build.js]"]
end

subgraph group_public["Public pages"]
  node_homepage["Generated homepage<br/>[index.html]"]
  node_product_pages["Product pages"]
  node_solutions["Service pages"]
  node_about_page["About page<br/>[about.html]"]
  node_contact_page["Contact page<br/>[contact.html]"]
end

subgraph group_presentation["Browser presentation"]
  node_styles["Site design system<br/>[talbotiq.css]"]
  node_site_interactions["Navigation interactions<br/>[app.js]"]
  node_logo_marquee["Client logo marquee<br/>[logo-loop.js]"]
end

node_visitor(("Site visitor"))
node_publisher["The Edge Malaysia"]

node_publisher -->|"provides articles"| node_article_fetch
node_article_fetch -->|"writes articles"| node_article_data
node_product_data -->|"supplies product facts"| node_page_builder
node_home_content -->|"supplies page content"| node_page_builder
node_article_data -->|"supplies article list"| node_page_builder
node_page_builder -->|"generates"| node_homepage
node_visitor -->|"opens"| node_homepage
node_visitor -->|"opens product links"| node_product_pages
node_visitor -->|"opens service pages"| node_solutions
node_visitor -->|"opens"| node_about_page
node_visitor -->|"opens"| node_contact_page
node_homepage -->|"uses styles"| node_styles
node_homepage -->|"loads interactions"| node_site_interactions
node_homepage -->|"animates client logos"| node_logo_marquee

click node_product_data "https://github.com/harinitalbotiq/main_web/blob/main/products.js"
click node_home_content "https://github.com/harinitalbotiq/main_web/blob/main/home.js"
click node_article_data "https://github.com/harinitalbotiq/main_web/blob/main/articles.js"
click node_article_fetch "https://github.com/harinitalbotiq/main_web/blob/main/tools/fetch-articles.js"
click node_page_builder "https://github.com/harinitalbotiq/main_web/blob/main/build.js"
click node_homepage "https://github.com/harinitalbotiq/main_web/blob/main/index.html"
click node_product_pages "https://github.com/harinitalbotiq/main_web/tree/main/products"
click node_solutions "https://github.com/harinitalbotiq/main_web/tree/main/solutions"
click node_about_page "https://github.com/harinitalbotiq/main_web/blob/main/about.html"
click node_contact_page "https://github.com/harinitalbotiq/main_web/blob/main/contact.html"
click node_styles "https://github.com/harinitalbotiq/main_web/blob/main/assets/css/talbotiq.css"
click node_site_interactions "https://github.com/harinitalbotiq/main_web/blob/main/assets/js/app.js"
click node_logo_marquee "https://github.com/harinitalbotiq/main_web/blob/main/assets/js/logo-loop.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_product_data,node_home_content,node_article_data,node_article_fetch toneBlue
class node_page_builder toneAmber
class node_homepage,node_product_pages,node_solutions,node_about_page,node_contact_page toneMint
class node_styles,node_site_interactions,node_logo_marquee toneRose
class node_visitor,node_publisher toneIndigo
```

## Components

### Content sources

- [Product catalog](https://github.com/harinitalbotiq/main_web/blob/main/products.js): `products.js`
- [Homepage content](https://github.com/harinitalbotiq/main_web/blob/main/home.js): `home.js`
- [Published articles](https://github.com/harinitalbotiq/main_web/blob/main/articles.js): `articles.js`
- [Article refresh](https://github.com/harinitalbotiq/main_web/blob/main/tools/fetch-articles.js): `tools/fetch-articles.js`

### Homepage generation

- [Homepage builder](https://github.com/harinitalbotiq/main_web/blob/main/build.js): `build.js`

### Public pages

- [Generated homepage](https://github.com/harinitalbotiq/main_web/blob/main/index.html): `index.html`
- [Product pages](https://github.com/harinitalbotiq/main_web/tree/main/products): `products`
- [Service pages](https://github.com/harinitalbotiq/main_web/tree/main/solutions): `solutions`
- [About page](https://github.com/harinitalbotiq/main_web/blob/main/about.html): `about.html`
- [Contact page](https://github.com/harinitalbotiq/main_web/blob/main/contact.html): `contact.html`

### Browser presentation

- [Site design system](https://github.com/harinitalbotiq/main_web/blob/main/assets/css/talbotiq.css): `assets/css/talbotiq.css`
- [Navigation interactions](https://github.com/harinitalbotiq/main_web/blob/main/assets/js/app.js): `assets/js/app.js`
- [Client logo marquee](https://github.com/harinitalbotiq/main_web/blob/main/assets/js/logo-loop.js): `assets/js/logo-loop.js`

### Other components

- **Site visitor**
- **The Edge Malaysia**

## Connections

- The Edge Malaysia → Article refresh: provides articles (evidence: `tools/fetch-articles.js`)
- Article refresh → Published articles: writes articles (evidence: `tools/fetch-articles.js`)
- Product catalog → Homepage builder: supplies product facts (evidence: `build.js`)
- Homepage content → Homepage builder: supplies page content (evidence: `build.js`)
- Published articles → Homepage builder: supplies article list (evidence: `build.js`)
- Homepage builder → Generated homepage: generates (evidence: `README.md`)
- Site visitor → Generated homepage: opens (evidence: `README.md`)
- Site visitor → Product pages: opens product links (evidence: `README.md`)
- Site visitor → Service pages: opens service pages (evidence: `README.md`)
- Site visitor → About page: opens (evidence: `README.md`)
- Site visitor → Contact page: opens (evidence: `README.md`)
- Generated homepage → Site design system: uses styles (evidence: `README.md`)
- Generated homepage → Navigation interactions: loads interactions (evidence: `README.md`)
- Generated homepage → Client logo marquee: animates client logos
