# otieno2/infinitechnologies architecture

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

- Interactive diagram: https://gitdiagram.com/otieno2/infinitechnologies
- Repository: https://github.com/otieno2/infinitechnologies

## Overview

InfiniTechnologies is a marketing and enquiry site for small businesses. Visitors browse the home page or dedicated service and policy pages, review services and prices, then make contact or submit a quote request. EVA is an optional chat path backed by a browser client and a separately deployable proxy. The graph follows relationships visible in excerpts, the source index, or README; unsampled proxy internals and other unverified connections are omitted.

Main entry points: [`src/App.jsx`](https://github.com/otieno2/infinitechnologies/blob/main/src/App.jsx) (Page routing), [`src/components/QuoteForm.jsx`](https://github.com/otieno2/infinitechnologies/blob/main/src/components/QuoteForm.jsx) (Quote request form), [`src/data/services.js`](https://github.com/otieno2/infinitechnologies/blob/main/src/data/services.js) (Service definitions), [`src/components/ServicePage.jsx`](https://github.com/otieno2/infinitechnologies/blob/main/src/components/ServicePage.jsx) (Service detail pages)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Site experience"]
  node_app["Page routing<br/>[App.jsx]"]
  node_header["Site navigation<br/>[Header.jsx]"]
  node_home["Home sections<br/>[Hero.jsx]"]
  node_service_pages["Service detail pages<br/>[ServicePage.jsx]"]
  node_legal_pages["Legal pages<br/>[LegalPage.jsx]"]
  node_footer["Site footer<br/>[Footer.jsx]"]
end

subgraph group_offer["Offer and content"]
  node_services["Service catalogue<br/>[Services.jsx]"]
  node_service_data["Service definitions<br/>[services.js]"]
  node_pricing["Pricing and care<br/>[Pricing.jsx]"]
  node_package_data["Packages and tiers<br/>[packages.js]"]
  node_page_data["Page content<br/>[pages.js]"]
  node_faq["Frequently asked questions<br/>[FAQ.jsx]"]
  node_faq_data["FAQ content<br/>[faq.js]"]
  node_business_support["Business support"]
end

subgraph group_enquiry["Enquiry paths"]
  node_contact["Contact section<br/>[Contact.jsx]"]
  node_quote_form["Quote request form<br/>[QuoteForm.jsx]"]
  node_config["Business and contact settings<br/>[config.js]"]
  node_form_service["Form delivery service"]
  node_messaging["WhatsApp and email"]
end

subgraph group_eva["EVA assistant"]
  node_eva_chat["EVA chat widget<br/>[EVAChat.jsx]"]
  node_eva_client["EVA API client<br/>[evaAI.js]"]
  node_eva_proxy["EVA proxy<br/>[worker.js]"]
end

node_visitor(("Site visitor"))

node_visitor -->|"opens pages"| node_app
node_app -->|"renders"| node_header
node_app -->|"renders home"| node_home
node_app -->|"routes to"| node_service_pages
node_app -->|"routes to"| node_legal_pages
node_app -->|"renders"| node_footer
node_app -->|"renders"| node_eva_chat
node_app -->|"reads routes"| node_page_data
node_app -->|"renders"| node_services
node_app -->|"renders"| node_pricing
node_app -->|"renders"| node_faq
node_app -->|"renders"| node_business_support
node_app -->|"renders"| node_contact
node_app -->|"loads legal data"| node_service_data
node_services -->|"reads catalogue"| node_service_data
node_services -->|"looks up prices"| node_package_data
node_service_pages -->|"reads page content"| node_page_data
node_service_pages -->|"looks up package"| node_package_data
node_pricing -->|"reads prices"| node_package_data
node_faq -->|"reads answers"| node_faq_data
node_business_support -->|"reads service details"| node_service_data
node_contact -->|"renders form"| node_quote_form
node_quote_form -->|"reads settings"| node_config
node_quote_form -->|"uses service options"| node_service_data
node_quote_form -.->|"posts enquiry"| node_form_service
node_quote_form -->|"hands off enquiry"| node_messaging
node_eva_chat -->|"uses contact details"| node_config
node_eva_chat -->|"sends messages"| node_eva_client
node_eva_client -->|"posts messages"| node_eva_proxy

click node_app "https://github.com/otieno2/infinitechnologies/blob/main/src/App.jsx"
click node_header "https://github.com/otieno2/infinitechnologies/blob/main/src/components/Header.jsx"
click node_home "https://github.com/otieno2/infinitechnologies/blob/main/src/components/Hero.jsx"
click node_service_pages "https://github.com/otieno2/infinitechnologies/blob/main/src/components/ServicePage.jsx"
click node_legal_pages "https://github.com/otieno2/infinitechnologies/blob/main/src/components/LegalPage.jsx"
click node_footer "https://github.com/otieno2/infinitechnologies/blob/main/src/components/Footer.jsx"
click node_services "https://github.com/otieno2/infinitechnologies/blob/main/src/components/Services.jsx"
click node_service_data "https://github.com/otieno2/infinitechnologies/blob/main/src/data/services.js"
click node_pricing "https://github.com/otieno2/infinitechnologies/blob/main/src/components/Pricing.jsx"
click node_package_data "https://github.com/otieno2/infinitechnologies/blob/main/src/data/packages.js"
click node_page_data "https://github.com/otieno2/infinitechnologies/blob/main/src/data/pages.js"
click node_faq "https://github.com/otieno2/infinitechnologies/blob/main/src/components/FAQ.jsx"
click node_faq_data "https://github.com/otieno2/infinitechnologies/blob/main/src/data/faq.js"
click node_business_support "https://github.com/otieno2/infinitechnologies/blob/main/src/components/BusinessSupport.jsx"
click node_contact "https://github.com/otieno2/infinitechnologies/blob/main/src/components/Contact.jsx"
click node_quote_form "https://github.com/otieno2/infinitechnologies/blob/main/src/components/QuoteForm.jsx"
click node_config "https://github.com/otieno2/infinitechnologies/blob/main/src/config.js"
click node_eva_chat "https://github.com/otieno2/infinitechnologies/blob/main/src/components/EVAChat.jsx"
click node_eva_client "https://github.com/otieno2/infinitechnologies/blob/main/src/services/evaAI.js"
click node_eva_proxy "https://github.com/otieno2/infinitechnologies/blob/main/server/eva-proxy/worker.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_app,node_header,node_home,node_service_pages,node_legal_pages,node_footer toneBlue
class node_services,node_service_data,node_pricing,node_package_data,node_page_data,node_faq,node_faq_data,node_business_support toneAmber
class node_contact,node_quote_form,node_config,node_form_service,node_messaging toneMint
class node_eva_chat,node_eva_client,node_eva_proxy toneRose
class node_visitor toneIndigo
```

## Components

### Site experience

- [Page routing](https://github.com/otieno2/infinitechnologies/blob/main/src/App.jsx): `src/App.jsx`
- [Site navigation](https://github.com/otieno2/infinitechnologies/blob/main/src/components/Header.jsx): `src/components/Header.jsx`
- [Home sections](https://github.com/otieno2/infinitechnologies/blob/main/src/components/Hero.jsx): `src/components/Hero.jsx`
- [Service detail pages](https://github.com/otieno2/infinitechnologies/blob/main/src/components/ServicePage.jsx): `src/components/ServicePage.jsx`
- [Legal pages](https://github.com/otieno2/infinitechnologies/blob/main/src/components/LegalPage.jsx): `src/components/LegalPage.jsx`
- [Site footer](https://github.com/otieno2/infinitechnologies/blob/main/src/components/Footer.jsx): `src/components/Footer.jsx`

### Offer and content

- [Service catalogue](https://github.com/otieno2/infinitechnologies/blob/main/src/components/Services.jsx): `src/components/Services.jsx`
- [Service definitions](https://github.com/otieno2/infinitechnologies/blob/main/src/data/services.js): `src/data/services.js`
- [Pricing and care](https://github.com/otieno2/infinitechnologies/blob/main/src/components/Pricing.jsx): `src/components/Pricing.jsx`
- [Packages and tiers](https://github.com/otieno2/infinitechnologies/blob/main/src/data/packages.js): `src/data/packages.js`
- [Page content](https://github.com/otieno2/infinitechnologies/blob/main/src/data/pages.js): `src/data/pages.js`
- [Frequently asked questions](https://github.com/otieno2/infinitechnologies/blob/main/src/components/FAQ.jsx): `src/components/FAQ.jsx`
- [FAQ content](https://github.com/otieno2/infinitechnologies/blob/main/src/data/faq.js): `src/data/faq.js`
- [Business support](https://github.com/otieno2/infinitechnologies/blob/main/src/components/BusinessSupport.jsx): `src/components/BusinessSupport.jsx`

### Enquiry paths

- [Contact section](https://github.com/otieno2/infinitechnologies/blob/main/src/components/Contact.jsx): `src/components/Contact.jsx`
- [Quote request form](https://github.com/otieno2/infinitechnologies/blob/main/src/components/QuoteForm.jsx): `src/components/QuoteForm.jsx`
- [Business and contact settings](https://github.com/otieno2/infinitechnologies/blob/main/src/config.js): `src/config.js`
- **Form delivery service**
- **WhatsApp and email**

### EVA assistant

- [EVA chat widget](https://github.com/otieno2/infinitechnologies/blob/main/src/components/EVAChat.jsx): `src/components/EVAChat.jsx`
- [EVA API client](https://github.com/otieno2/infinitechnologies/blob/main/src/services/evaAI.js): `src/services/evaAI.js`
- [EVA proxy](https://github.com/otieno2/infinitechnologies/blob/main/server/eva-proxy/worker.js): `server/eva-proxy/worker.js`

### Other components

- **Site visitor**

## Connections

- Site visitor → Page routing: opens pages (evidence: `src/App.jsx`)
- Page routing → Site navigation: renders (evidence: `src/App.jsx`)
- Page routing → Home sections: renders home (evidence: `src/App.jsx`)
- Page routing → Service detail pages: routes to (evidence: `src/App.jsx`)
- Page routing → Legal pages: routes to (evidence: `src/App.jsx`)
- Page routing → Site footer: renders (evidence: `src/App.jsx`)
- Page routing → EVA chat widget: renders (evidence: `src/App.jsx`)
- Page routing → Page content: reads routes (evidence: `src/App.jsx`)
- Page routing → Service catalogue: renders (evidence: `src/App.jsx`)
- Page routing → Pricing and care: renders (evidence: `src/App.jsx`)
- Page routing → Frequently asked questions: renders (evidence: `src/App.jsx`)
- Page routing → Business support: renders (evidence: `src/App.jsx`)
- Page routing → Contact section: renders (evidence: `src/App.jsx`)
- Page routing → Service definitions: loads legal data (evidence: `src/App.jsx`)
- Service catalogue → Service definitions: reads catalogue (evidence: `src/components/Services.jsx`)
- Service catalogue → Packages and tiers: looks up prices (evidence: `src/components/Services.jsx`)
- Service detail pages → Page content: reads page content (evidence: `src/components/ServicePage.jsx`)
- Service detail pages → Packages and tiers: looks up package (evidence: `src/components/ServicePage.jsx`)
- Pricing and care → Packages and tiers: reads prices (evidence: `src/components/Pricing.jsx`)
- Frequently asked questions → FAQ content: reads answers (evidence: `src/components/FAQ.jsx`)
- Business support → Service definitions: reads service details (evidence: `src/components/BusinessSupport.jsx`)
- Contact section → Quote request form: renders form (evidence: `src/components/Contact.jsx`)
- Quote request form → Business and contact settings: reads settings (evidence: `src/components/QuoteForm.jsx`)
- Quote request form → Service definitions: uses service options (evidence: `src/components/QuoteForm.jsx`)
- Quote request form → Form delivery service: posts enquiry (evidence: `README.md`)
- Quote request form → WhatsApp and email: hands off enquiry (evidence: `src/components/QuoteForm.jsx`)
- EVA chat widget → Business and contact settings: uses contact details (evidence: `src/components/EVAChat.jsx`)
- EVA chat widget → EVA API client: sends messages (evidence: `src/components/EVAChat.jsx`)
- EVA API client → EVA proxy: posts messages (evidence: `src/services/evaAI.js`)
