# amreleraky57-arch/nexa architecture

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

- Interactive diagram: https://gitdiagram.com/amreleraky57-arch/nexa
- Repository: https://github.com/amreleraky57-arch/nexa

## Overview

NEXA DIGITAL is a bilingual agency marketing and inquiry website. Visitors explore the homepage, services, selected work and agency information, then reach out through the contact experience or direct contact calls to action. The site also publishes bilingual insights and legal pages. Routing, shared layout, language state and localized content support those page experiences. The graph follows documented imports and calls; unsampled pages are represented only where the source index confirms their role, so some internal behavior and integrations are not shown.

Main entry points: [`src/routeTree.gen.ts`](https://github.com/amreleraky57-arch/nexa/blob/main/src/routeTree.gen.ts) (Route tree), [`src/components/final-cta.tsx`](https://github.com/amreleraky57-arch/nexa/blob/main/src/components/final-cta.tsx) (Contact calls to action), [`src/lib/seo.ts`](https://github.com/amreleraky57-arch/nexa/blob/main/src/lib/seo.ts) (SEO metadata), [`src/data/site.ts`](https://github.com/amreleraky57-arch/nexa/blob/main/src/data/site.ts) (Agency content data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site experience"]
  node_root_shell["Shared site shell<br/>[__root.tsx]"]
  node_homepage["Homepage<br/>[index.tsx]"]
  node_service_archive["Services overview<br/>[services.index.tsx]"]
  node_service_detail["Service detail<br/>[services.$slug.tsx]"]
  node_work_archive["Work archive<br/>[work.index.tsx]"]
  node_work_detail["Case study<br/>[work.$slug.tsx]"]
  node_about["About page<br/>[about.tsx]"]
  node_contact["Contact page<br/>[contact.tsx]"]
  node_legal_pages["Legal pages<br/>[legal-page.tsx]"]
end

subgraph group_content["Agency content"]
  node_insight_archive["Insights archive<br/>[insights.index.tsx]"]
  node_insight_detail["Insight article<br/>[insights.$slug.tsx]"]
  node_agency_data["Agency content data<br/>[site.ts]"]
  node_insight_data["Insights data<br/>[insights.ts]"]
end

subgraph group_shared["Shared presentation"]
  node_language["Language state<br/>[language.tsx]"]
  node_header["Site navigation<br/>[site-header.tsx]"]
  node_footer["Site footer<br/>[site-footer.tsx]"]
  node_service_list["Service list<br/>[service-list.tsx]"]
  node_project_grid["Project grid<br/>[project-grid.tsx]"]
  node_project_visual["Project visual<br/>[project-visual.tsx]"]
  node_final_cta["Contact calls to action<br/>[final-cta.tsx]"]
  node_contact_form["Inquiry form<br/>[contact-form.tsx]"]
end

subgraph group_platform["Routing and metadata"]
  node_router["Router setup<br/>[router.tsx]"]
  node_route_tree["Route tree<br/>[routeTree.gen.ts]"]
  node_seo["SEO metadata<br/>[seo.ts]"]
end

node_visitor(("Site visitor"))
node_email(("Email contact"))
node_whatsapp(("WhatsApp"))

node_visitor -->|"opens site"| node_router
node_router -->|"loads routes"| node_route_tree
node_route_tree -->|"routes to"| node_homepage
node_route_tree -->|"routes to"| node_service_archive
node_route_tree -->|"routes to"| node_service_detail
node_route_tree -->|"routes to"| node_work_archive
node_route_tree -->|"routes to"| node_work_detail
node_route_tree -->|"routes to"| node_about
node_route_tree -->|"routes to"| node_contact
node_route_tree -->|"routes to"| node_insight_archive
node_route_tree -->|"routes to"| node_insight_detail
node_route_tree -->|"routes to"| node_legal_pages
node_root_shell -->|"renders"| node_header
node_root_shell -->|"renders"| node_footer
node_root_shell -->|"provides language"| node_language
node_homepage -->|"renders"| node_service_list
node_homepage -->|"renders"| node_project_grid
node_homepage -->|"renders"| node_final_cta
node_service_archive -->|"renders"| node_service_list
node_service_archive -->|"renders"| node_final_cta
node_service_detail -->|"loads service"| node_agency_data
node_service_detail -->|"renders"| node_project_grid
node_service_detail -->|"renders"| node_final_cta
node_work_detail -->|"loads project"| node_agency_data
node_work_detail -->|"renders"| node_project_visual
node_work_detail -->|"renders"| node_final_cta
node_about -->|"renders"| node_final_cta
node_insight_archive -->|"reads articles"| node_insight_data
node_insight_detail -->|"loads article"| node_insight_data
node_language -->|"localizes content"| node_agency_data
node_language -->|"localizes articles"| node_insight_data
node_service_list -->|"reads services"| node_agency_data
node_service_list -->|"reads language"| node_language
node_project_grid -->|"renders"| node_project_visual
node_final_cta -->|"reads contact"| node_agency_data
node_final_cta -->|"links email"| node_email
node_final_cta -->|"offers WhatsApp"| node_whatsapp
node_contact -->|"renders"| node_contact_form
node_contact_form -->|"uses contact data"| node_agency_data
node_service_detail -->|"builds metadata"| node_seo
node_service_archive -->|"builds metadata"| node_seo
node_homepage -->|"builds metadata"| node_seo
node_about -->|"builds metadata"| node_seo
node_work_detail -->|"builds metadata"| node_seo
node_insight_archive -->|"builds metadata"| node_seo
node_insight_detail -->|"builds metadata"| node_seo

click node_router "https://github.com/amreleraky57-arch/nexa/blob/main/src/router.tsx"
click node_route_tree "https://github.com/amreleraky57-arch/nexa/blob/main/src/routeTree.gen.ts"
click node_root_shell "https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/__root.tsx"
click node_homepage "https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/index.tsx"
click node_service_archive "https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/services.index.tsx"
click node_service_detail "https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/services.%24slug.tsx"
click node_work_archive "https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/work.index.tsx"
click node_work_detail "https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/work.%24slug.tsx"
click node_about "https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/about.tsx"
click node_contact "https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/contact.tsx"
click node_legal_pages "https://github.com/amreleraky57-arch/nexa/blob/main/src/components/legal-page.tsx"
click node_insight_archive "https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/insights.index.tsx"
click node_insight_detail "https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/insights.%24slug.tsx"
click node_agency_data "https://github.com/amreleraky57-arch/nexa/blob/main/src/data/site.ts"
click node_insight_data "https://github.com/amreleraky57-arch/nexa/blob/main/src/data/insights.ts"
click node_language "https://github.com/amreleraky57-arch/nexa/blob/main/src/lib/language.tsx"
click node_header "https://github.com/amreleraky57-arch/nexa/blob/main/src/components/site-header.tsx"
click node_footer "https://github.com/amreleraky57-arch/nexa/blob/main/src/components/site-footer.tsx"
click node_service_list "https://github.com/amreleraky57-arch/nexa/blob/main/src/components/service-list.tsx"
click node_project_grid "https://github.com/amreleraky57-arch/nexa/blob/main/src/components/project-grid.tsx"
click node_project_visual "https://github.com/amreleraky57-arch/nexa/blob/main/src/components/project-visual.tsx"
click node_final_cta "https://github.com/amreleraky57-arch/nexa/blob/main/src/components/final-cta.tsx"
click node_contact_form "https://github.com/amreleraky57-arch/nexa/blob/main/src/components/contact-form.tsx"
click node_seo "https://github.com/amreleraky57-arch/nexa/blob/main/src/lib/seo.ts"

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_root_shell,node_homepage,node_service_archive,node_service_detail,node_work_archive,node_work_detail,node_about,node_contact,node_legal_pages toneBlue
class node_insight_archive,node_insight_detail,node_agency_data,node_insight_data toneAmber
class node_language,node_header,node_footer,node_service_list,node_project_grid,node_project_visual,node_final_cta,node_contact_form toneMint
class node_router,node_route_tree,node_seo toneRose
class node_visitor,node_email,node_whatsapp toneIndigo
```

## Components

### Site experience

- [Shared site shell](https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/__root.tsx): `src/routes/__root.tsx`
- [Homepage](https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/index.tsx): `src/routes/index.tsx`
- [Services overview](https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/services.index.tsx): `src/routes/services.index.tsx`
- [Service detail](https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/services.%24slug.tsx): `src/routes/services.$slug.tsx`
- [Work archive](https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/work.index.tsx): `src/routes/work.index.tsx`
- [Case study](https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/work.%24slug.tsx): `src/routes/work.$slug.tsx`
- [About page](https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/about.tsx): `src/routes/about.tsx`
- [Contact page](https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/contact.tsx): `src/routes/contact.tsx`
- [Legal pages](https://github.com/amreleraky57-arch/nexa/blob/main/src/components/legal-page.tsx): `src/components/legal-page.tsx`

### Agency content

- [Insights archive](https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/insights.index.tsx): `src/routes/insights.index.tsx`
- [Insight article](https://github.com/amreleraky57-arch/nexa/blob/main/src/routes/insights.%24slug.tsx): `src/routes/insights.$slug.tsx`
- [Agency content data](https://github.com/amreleraky57-arch/nexa/blob/main/src/data/site.ts): `src/data/site.ts`
- [Insights data](https://github.com/amreleraky57-arch/nexa/blob/main/src/data/insights.ts): `src/data/insights.ts`

### Shared presentation

- [Language state](https://github.com/amreleraky57-arch/nexa/blob/main/src/lib/language.tsx): `src/lib/language.tsx`
- [Site navigation](https://github.com/amreleraky57-arch/nexa/blob/main/src/components/site-header.tsx): `src/components/site-header.tsx`
- [Site footer](https://github.com/amreleraky57-arch/nexa/blob/main/src/components/site-footer.tsx): `src/components/site-footer.tsx`
- [Service list](https://github.com/amreleraky57-arch/nexa/blob/main/src/components/service-list.tsx): `src/components/service-list.tsx`
- [Project grid](https://github.com/amreleraky57-arch/nexa/blob/main/src/components/project-grid.tsx): `src/components/project-grid.tsx`
- [Project visual](https://github.com/amreleraky57-arch/nexa/blob/main/src/components/project-visual.tsx): `src/components/project-visual.tsx`
- [Contact calls to action](https://github.com/amreleraky57-arch/nexa/blob/main/src/components/final-cta.tsx): `src/components/final-cta.tsx`
- [Inquiry form](https://github.com/amreleraky57-arch/nexa/blob/main/src/components/contact-form.tsx): `src/components/contact-form.tsx`

### Routing and metadata

- [Router setup](https://github.com/amreleraky57-arch/nexa/blob/main/src/router.tsx): `src/router.tsx`
- [Route tree](https://github.com/amreleraky57-arch/nexa/blob/main/src/routeTree.gen.ts): `src/routeTree.gen.ts`
- [SEO metadata](https://github.com/amreleraky57-arch/nexa/blob/main/src/lib/seo.ts): `src/lib/seo.ts`

### Other components

- **Site visitor**
- **Email contact**
- **WhatsApp**

## Connections

- Site visitor → Router setup: opens site
- Router setup → Route tree: loads routes (evidence: `src/router.tsx`)
- Route tree → Homepage: routes to (evidence: `src/routeTree.gen.ts`)
- Route tree → Services overview: routes to (evidence: `src/routeTree.gen.ts`)
- Route tree → Service detail: routes to (evidence: `src/routeTree.gen.ts`)
- Route tree → Work archive: routes to (evidence: `src/routeTree.gen.ts`)
- Route tree → Case study: routes to (evidence: `src/routeTree.gen.ts`)
- Route tree → About page: routes to (evidence: `src/routeTree.gen.ts`)
- Route tree → Contact page: routes to (evidence: `src/routeTree.gen.ts`)
- Route tree → Insights archive: routes to (evidence: `src/routeTree.gen.ts`)
- Route tree → Insight article: routes to (evidence: `src/routeTree.gen.ts`)
- Route tree → Legal pages: routes to (evidence: `src/routeTree.gen.ts`)
- Shared site shell → Site navigation: renders (evidence: `src/routes/__root.tsx`)
- Shared site shell → Site footer: renders (evidence: `src/routes/__root.tsx`)
- Shared site shell → Language state: provides language (evidence: `src/routes/__root.tsx`)
- Homepage → Service list: renders (evidence: `src/routes/index.tsx`)
- Homepage → Project grid: renders (evidence: `src/routes/index.tsx`)
- Homepage → Contact calls to action: renders (evidence: `src/routes/index.tsx`)
- Services overview → Service list: renders (evidence: `src/routes/services.index.tsx`)
- Services overview → Contact calls to action: renders (evidence: `src/routes/services.index.tsx`)
- Service detail → Agency content data: loads service (evidence: `src/routes/services.$slug.tsx`)
- Service detail → Project grid: renders (evidence: `src/routes/services.$slug.tsx`)
- Service detail → Contact calls to action: renders (evidence: `src/routes/services.$slug.tsx`)
- Case study → Agency content data: loads project (evidence: `src/routes/work.$slug.tsx`)
- Case study → Project visual: renders (evidence: `src/routes/work.$slug.tsx`)
- Case study → Contact calls to action: renders (evidence: `src/routes/work.$slug.tsx`)
- About page → Contact calls to action: renders (evidence: `src/routes/about.tsx`)
- Insights archive → Insights data: reads articles (evidence: `src/routes/insights.index.tsx`)
- Insight article → Insights data: loads article (evidence: `src/routes/insights.$slug.tsx`)
- Language state → Agency content data: localizes content (evidence: `src/lib/language.tsx`)
- Language state → Insights data: localizes articles (evidence: `src/lib/language.tsx`)
- Service list → Agency content data: reads services (evidence: `src/components/service-list.tsx`)
- Service list → Language state: reads language (evidence: `src/components/service-list.tsx`)
- Project grid → Project visual: renders (evidence: `src/components/project-grid.tsx`)
- Contact calls to action → Agency content data: reads contact (evidence: `src/components/final-cta.tsx`)
- Contact calls to action → Email contact: links email (evidence: `src/components/final-cta.tsx`)
- Contact calls to action → WhatsApp: offers WhatsApp (evidence: `src/components/final-cta.tsx`)
- Contact page → Inquiry form: renders
- Inquiry form → Agency content data: uses contact data (evidence: `src/components/contact-form.tsx`)
- Service detail → SEO metadata: builds metadata (evidence: `src/routes/services.$slug.tsx`)
- Services overview → SEO metadata: builds metadata (evidence: `src/routes/services.index.tsx`)
- Homepage → SEO metadata: builds metadata (evidence: `src/routes/index.tsx`)
- About page → SEO metadata: builds metadata (evidence: `src/routes/about.tsx`)
- Case study → SEO metadata: builds metadata (evidence: `src/routes/work.$slug.tsx`)
- Insights archive → SEO metadata: builds metadata (evidence: `src/routes/insights.index.tsx`)
- Insight article → SEO metadata: builds metadata (evidence: `src/routes/insights.$slug.tsx`)
