# dapious99/sokora architecture

> Architecture diagram of the GitHub repository dapious99/sokora, 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/dapious99/sokora
- Repository: https://github.com/dapious99/sokora

## Overview

Sokora is presented here as a Nigerian B2B sourcing and procurement service, but the repository implements its public-facing Next.js website rather than the described transaction platform. The visitor journey is to explore sourcing capabilities and supplier assurance, then follow a contact/onboarding route. The site also presents pricing, technology, company information, and field notes. Edges below reflect imports and rendered components shown in the source index or excerpts; the README is empty, and platform capabilities described on pages are not represented as implemented backend services.

Main entry points: [`components/site.tsx`](https://github.com/dapious99/sokora/blob/main/components/site.tsx) (Shared site UI), [`lib/metrics.ts`](https://github.com/dapious99/sokora/blob/main/lib/metrics.ts) (Marketing data), [`app/page.tsx`](https://github.com/dapious99/sokora/blob/main/app/page.tsx) (Home page), [`app/contact/page.tsx`](https://github.com/dapious99/sokora/blob/main/app/contact/page.tsx) (Contact page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_public["Public pages"]
  node_home["Home page<br/>[page.tsx]"]
  node_about["About page<br/>[page.tsx]"]
  node_services["Services page<br/>[page.tsx]"]
  node_technology["Technology page<br/>[page.tsx]"]
  node_pricing["Pricing page<br/>[page.tsx]"]
  node_contact["Contact page<br/>[page.tsx]"]
  node_blog["Blog index<br/>[page.tsx]"]
  node_article["Blog article<br/>[page.tsx]"]
  node_legal["Legal pages<br/>[page.tsx]"]
  node_terms["Terms page<br/>[page.tsx]"]
end

subgraph group_shared["Shared presentation"]
  node_layout["App layout<br/>[layout.tsx]"]
  node_site["Shared site UI<br/>[site.tsx]"]
end

subgraph group_content["Site content data"]
  node_metrics[("Marketing data<br/>[metrics.ts]")]
end

subgraph group_interactive["Interactive marketing"]
  node_home_interaction["Home interactions"]
end

node_visitor(("Website visitor"))

node_visitor -->|"visits"| node_home
node_home -->|"links to"| node_contact
node_site -->|"links to"| node_contact
node_home -->|"renders"| node_site
node_home -->|"renders"| node_home_interaction
node_home -->|"reads"| node_metrics
node_home_interaction -->|"reads"| node_metrics
node_about -->|"renders"| node_site
node_about -->|"reads"| node_metrics
node_services -->|"renders"| node_site
node_technology -->|"renders"| node_site
node_pricing -->|"renders"| node_site
node_pricing -->|"reads"| node_metrics
node_contact -->|"renders"| node_site
node_blog -->|"renders"| node_site
node_blog -->|"reads"| node_metrics
node_article -->|"renders"| node_site
node_article -->|"reads"| node_metrics
node_layout -.->|"imports styles"| node_site
node_legal -->|"renders"| node_site
node_terms -->|"renders"| node_site

click node_home "https://github.com/dapious99/sokora/blob/main/app/page.tsx"
click node_about "https://github.com/dapious99/sokora/blob/main/app/about/page.tsx"
click node_services "https://github.com/dapious99/sokora/blob/main/app/services/page.tsx"
click node_technology "https://github.com/dapious99/sokora/blob/main/app/technology/page.tsx"
click node_pricing "https://github.com/dapious99/sokora/blob/main/app/pricing/page.tsx"
click node_contact "https://github.com/dapious99/sokora/blob/main/app/contact/page.tsx"
click node_blog "https://github.com/dapious99/sokora/blob/main/app/blog/page.tsx"
click node_article "https://github.com/dapious99/sokora/blob/main/app/blog/%5Bslug%5D/page.tsx"
click node_legal "https://github.com/dapious99/sokora/blob/main/app/privacy/page.tsx"
click node_terms "https://github.com/dapious99/sokora/blob/main/app/terms/page.tsx"
click node_layout "https://github.com/dapious99/sokora/blob/main/app/layout.tsx"
click node_site "https://github.com/dapious99/sokora/blob/main/components/site.tsx"
click node_metrics "https://github.com/dapious99/sokora/blob/main/lib/metrics.ts"
click node_home_interaction "https://github.com/dapious99/sokora/blob/main/components/home-interactive.tsx"

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_about,node_services,node_technology,node_pricing,node_contact,node_blog,node_article,node_legal,node_terms toneBlue
class node_layout,node_site toneAmber
class node_metrics toneMint
class node_home_interaction toneRose
class node_visitor toneIndigo
```

## Components

### Public pages

- [Home page](https://github.com/dapious99/sokora/blob/main/app/page.tsx): `app/page.tsx`
- [About page](https://github.com/dapious99/sokora/blob/main/app/about/page.tsx): `app/about/page.tsx`
- [Services page](https://github.com/dapious99/sokora/blob/main/app/services/page.tsx): `app/services/page.tsx`
- [Technology page](https://github.com/dapious99/sokora/blob/main/app/technology/page.tsx): `app/technology/page.tsx`
- [Pricing page](https://github.com/dapious99/sokora/blob/main/app/pricing/page.tsx): `app/pricing/page.tsx`
- [Contact page](https://github.com/dapious99/sokora/blob/main/app/contact/page.tsx): `app/contact/page.tsx`
- [Blog index](https://github.com/dapious99/sokora/blob/main/app/blog/page.tsx): `app/blog/page.tsx`
- [Blog article](https://github.com/dapious99/sokora/blob/main/app/blog/%5Bslug%5D/page.tsx): `app/blog/[slug]/page.tsx`
- [Legal pages](https://github.com/dapious99/sokora/blob/main/app/privacy/page.tsx): `app/privacy/page.tsx`
- [Terms page](https://github.com/dapious99/sokora/blob/main/app/terms/page.tsx): `app/terms/page.tsx`

### Shared presentation

- [App layout](https://github.com/dapious99/sokora/blob/main/app/layout.tsx): `app/layout.tsx`
- [Shared site UI](https://github.com/dapious99/sokora/blob/main/components/site.tsx): `components/site.tsx`

### Site content data

- [Marketing data](https://github.com/dapious99/sokora/blob/main/lib/metrics.ts): `lib/metrics.ts`

### Interactive marketing

- [Home interactions](https://github.com/dapious99/sokora/blob/main/components/home-interactive.tsx): `components/home-interactive.tsx`

### Other components

- **Website visitor**

## Connections

- Website visitor → Home page: visits
- Home page → Contact page: links to (evidence: `app/page.tsx`)
- Shared site UI → Contact page: links to (evidence: `components/site.tsx`)
- Home page → Shared site UI: renders (evidence: `app/page.tsx`)
- Home page → Home interactions: renders (evidence: `app/page.tsx`)
- Home page → Marketing data: reads (evidence: `app/page.tsx`)
- Home interactions → Marketing data: reads (evidence: `components/home-interactive.tsx`)
- About page → Shared site UI: renders (evidence: `app/about/page.tsx`)
- About page → Marketing data: reads (evidence: `app/about/page.tsx`)
- Services page → Shared site UI: renders (evidence: `app/services/page.tsx`)
- Technology page → Shared site UI: renders (evidence: `app/technology/page.tsx`)
- Pricing page → Shared site UI: renders (evidence: `app/pricing/page.tsx`)
- Pricing page → Marketing data: reads (evidence: `app/pricing/page.tsx`)
- Contact page → Shared site UI: renders (evidence: `app/contact/page.tsx`)
- Blog index → Shared site UI: renders (evidence: `app/blog/page.tsx`)
- Blog index → Marketing data: reads (evidence: `app/blog/page.tsx`)
- Blog article → Shared site UI: renders (evidence: `app/blog/[slug]/page.tsx`)
- Blog article → Marketing data: reads (evidence: `app/blog/[slug]/page.tsx`)
- App layout → Shared site UI: imports styles
- Legal pages → Shared site UI: renders (evidence: `app/privacy/page.tsx`)
- Terms page → Shared site UI: renders (evidence: `app/terms/page.tsx`)
