# jd90983/revo-website architecture

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

- Interactive diagram: https://gitdiagram.com/jd90983/revo-website
- Repository: https://github.com/jd90983/revo-website

## Overview

Revo is a marketing site for an AI receptionist, with a separate SEO landing-page experience and lead-capture flow. The user journey is to browse service guides and pricing, explore a scenario or call-to-action, then submit contact details. The graph includes the documented registry and route responsibilities and the sampled page composition. Several listed browser scripts and the form-submission backend were not excerpted, so their internal connections are not inferred.

Main entry points: [`seo/shared/components/LandingPageTemplate.tsx`](https://github.com/jd90983/revo-website/blob/main/seo/shared/components/LandingPageTemplate.tsx) (Landing template), [`seo/app/app/ai-answering-service/[...review]/page.tsx`](https://github.com/jd90983/revo-website/blob/main/seo/app/app/ai-answering-service/%5B...review%5D/page.tsx) (Guide route), [`seo/shared/lib/registry-contract.mjs`](https://github.com/jd90983/revo-website/blob/main/seo/shared/lib/registry-contract.mjs) (Publication contract), [`seo/shared/components/ReviewPageTemplate.tsx`](https://github.com/jd90983/revo-website/blob/main/seo/shared/components/ReviewPageTemplate.tsx) (Review pages)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Marketing site"]
  node_marketing["Marketing interactions<br/>[main.js]"]
  node_navigation["Navigation<br/>[navigation.js]"]
  node_faq["FAQ accordion<br/>[accordion.js]"]
  node_animations["Scroll animations<br/>[animations.js]"]
  node_industry["Industry pages"]
end

subgraph group_seo["SEO landing pages"]
  node_seo_layout["Page chrome<br/>[layout.tsx]"]
  node_seo_entry["Guide route<br/>[page.tsx]"]
  node_landing["Landing template"]
  node_workflow["Workflow guide"]
  node_afterhours["After-hours page"]
  node_scenario["Scenario calculator"]
  node_pricing["Pricing display"]
  node_cta["Funnel CTA<br/>[FunnelCTA.tsx]"]
  node_review["Review pages"]
end

subgraph group_leads["Lead capture"]
  node_contact["Contact form<br/>[ContactForm.tsx]"]
  node_attribution["Lead attribution"]
  node_capture["Lead capture<br/>[lead-capture.ts]"]
  node_lead_api["Lead endpoints<br/>[submit-form.js]"]
end

subgraph group_content["Page content"]
  node_registry[("Page registry")]
  node_contract["Publication contract"]
  node_routes["SEO route rules<br/>[routes.mjs]"]
  node_batch["Batch processor<br/>[batch.mjs]"]
end

node_visitor(("Site visitor"))

node_visitor -->|"uses"| node_marketing
node_visitor -->|"navigates"| node_navigation
node_visitor -->|"opens questions"| node_faq
node_marketing -->|"animates"| node_animations
node_seo_layout -->|"wraps"| node_seo_entry
node_seo_entry -->|"renders"| node_landing
node_seo_entry -->|"renders"| node_workflow
node_seo_entry -->|"renders"| node_afterhours
node_landing -->|"renders"| node_scenario
node_landing -->|"renders"| node_pricing
node_landing -->|"renders"| node_cta
node_review -->|"renders"| node_landing
node_review -->|"renders"| node_contact
node_contact -->|"submits through"| node_attribution
node_attribution -->|"uses"| node_capture
node_registry -->|"validates with"| node_contract
node_routes -->|"derives routes from"| node_contract
node_batch -->|"uses"| node_contract

click node_marketing "https://github.com/jd90983/revo-website/blob/main/js/main.js"
click node_navigation "https://github.com/jd90983/revo-website/blob/main/js/navigation.js"
click node_faq "https://github.com/jd90983/revo-website/blob/main/js/accordion.js"
click node_animations "https://github.com/jd90983/revo-website/blob/main/js/animations.js"
click node_industry "https://github.com/jd90983/revo-website/blob/main/js/industry_home_service.js"
click node_seo_layout "https://github.com/jd90983/revo-website/blob/main/seo/app/app/layout.tsx"
click node_seo_entry "https://github.com/jd90983/revo-website/blob/main/seo/app/app/ai-answering-service/%5B...review%5D/page.tsx"
click node_landing "https://github.com/jd90983/revo-website/blob/main/seo/shared/components/LandingPageTemplate.tsx"
click node_workflow "https://github.com/jd90983/revo-website/blob/main/seo/shared/components/WorkflowGuideTemplate.tsx"
click node_afterhours "https://github.com/jd90983/revo-website/blob/main/seo/shared/components/ApprovedAfterHours.tsx"
click node_scenario "https://github.com/jd90983/revo-website/blob/main/seo/shared/components/ReviewScenarioCalculator.tsx"
click node_pricing "https://github.com/jd90983/revo-website/blob/main/seo/shared/components/OfficialPricing.tsx"
click node_cta "https://github.com/jd90983/revo-website/blob/main/seo/shared/components/FunnelCTA.tsx"
click node_review "https://github.com/jd90983/revo-website/blob/main/seo/shared/components/ReviewPageTemplate.tsx"
click node_registry "https://github.com/jd90983/revo-website/blob/main/seo/shared/lib/landing-registry.mjs"
click node_contract "https://github.com/jd90983/revo-website/blob/main/seo/shared/lib/registry-contract.mjs"
click node_routes "https://github.com/jd90983/revo-website/blob/main/seo/app/tools/routes.mjs"
click node_batch "https://github.com/jd90983/revo-website/blob/main/seo/app/tools/batch.mjs"
click node_contact "https://github.com/jd90983/revo-website/blob/main/seo/shared/components/ContactForm.tsx"
click node_attribution "https://github.com/jd90983/revo-website/blob/main/seo/shared/lib/lead-attribution.ts"
click node_capture "https://github.com/jd90983/revo-website/blob/main/seo/shared/lib/lead-capture.ts"
click node_lead_api "https://github.com/jd90983/revo-website/blob/main/api/submit-form.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_marketing,node_navigation,node_faq,node_animations,node_industry toneBlue
class node_seo_layout,node_seo_entry,node_landing,node_workflow,node_afterhours,node_scenario,node_pricing,node_cta,node_review toneAmber
class node_contact,node_attribution,node_capture,node_lead_api toneMint
class node_registry,node_contract,node_routes,node_batch toneRose
class node_visitor toneIndigo
```

## Components

### Marketing site

- [Marketing interactions](https://github.com/jd90983/revo-website/blob/main/js/main.js): `js/main.js`
- [Navigation](https://github.com/jd90983/revo-website/blob/main/js/navigation.js): `js/navigation.js`
- [FAQ accordion](https://github.com/jd90983/revo-website/blob/main/js/accordion.js): `js/accordion.js`
- [Scroll animations](https://github.com/jd90983/revo-website/blob/main/js/animations.js): `js/animations.js`
- [Industry pages](https://github.com/jd90983/revo-website/blob/main/js/industry_home_service.js): `js/industry_home_service.js`

### SEO landing pages

- [Page chrome](https://github.com/jd90983/revo-website/blob/main/seo/app/app/layout.tsx): `seo/app/app/layout.tsx`
- [Guide route](https://github.com/jd90983/revo-website/blob/main/seo/app/app/ai-answering-service/%5B...review%5D/page.tsx): `seo/app/app/ai-answering-service/[...review]/page.tsx`
- [Landing template](https://github.com/jd90983/revo-website/blob/main/seo/shared/components/LandingPageTemplate.tsx): `seo/shared/components/LandingPageTemplate.tsx`
- [Workflow guide](https://github.com/jd90983/revo-website/blob/main/seo/shared/components/WorkflowGuideTemplate.tsx): `seo/shared/components/WorkflowGuideTemplate.tsx`
- [After-hours page](https://github.com/jd90983/revo-website/blob/main/seo/shared/components/ApprovedAfterHours.tsx): `seo/shared/components/ApprovedAfterHours.tsx`
- [Scenario calculator](https://github.com/jd90983/revo-website/blob/main/seo/shared/components/ReviewScenarioCalculator.tsx): `seo/shared/components/ReviewScenarioCalculator.tsx`
- [Pricing display](https://github.com/jd90983/revo-website/blob/main/seo/shared/components/OfficialPricing.tsx): `seo/shared/components/OfficialPricing.tsx`
- [Funnel CTA](https://github.com/jd90983/revo-website/blob/main/seo/shared/components/FunnelCTA.tsx): `seo/shared/components/FunnelCTA.tsx`
- [Review pages](https://github.com/jd90983/revo-website/blob/main/seo/shared/components/ReviewPageTemplate.tsx): `seo/shared/components/ReviewPageTemplate.tsx`

### Lead capture

- [Contact form](https://github.com/jd90983/revo-website/blob/main/seo/shared/components/ContactForm.tsx): `seo/shared/components/ContactForm.tsx`
- [Lead attribution](https://github.com/jd90983/revo-website/blob/main/seo/shared/lib/lead-attribution.ts): `seo/shared/lib/lead-attribution.ts`
- [Lead capture](https://github.com/jd90983/revo-website/blob/main/seo/shared/lib/lead-capture.ts): `seo/shared/lib/lead-capture.ts`
- [Lead endpoints](https://github.com/jd90983/revo-website/blob/main/api/submit-form.js): `api/submit-form.js`

### Page content

- [Page registry](https://github.com/jd90983/revo-website/blob/main/seo/shared/lib/landing-registry.mjs): `seo/shared/lib/landing-registry.mjs`
- [Publication contract](https://github.com/jd90983/revo-website/blob/main/seo/shared/lib/registry-contract.mjs): `seo/shared/lib/registry-contract.mjs`
- [SEO route rules](https://github.com/jd90983/revo-website/blob/main/seo/app/tools/routes.mjs): `seo/app/tools/routes.mjs`
- [Batch processor](https://github.com/jd90983/revo-website/blob/main/seo/app/tools/batch.mjs): `seo/app/tools/batch.mjs`

### Other components

- **Site visitor**

## Connections

- Site visitor → Marketing interactions: uses (evidence: `README.md`)
- Site visitor → Navigation: navigates (evidence: `README.md`)
- Site visitor → FAQ accordion: opens questions (evidence: `README.md`)
- Marketing interactions → Scroll animations: animates (evidence: `README.md`)
- Page chrome → Guide route: wraps (evidence: `seo/app/app/layout.tsx`)
- Guide route → Landing template: renders (evidence: `seo/app/app/ai-answering-service/[...review]/page.tsx`)
- Guide route → Workflow guide: renders (evidence: `seo/app/app/ai-answering-service/[...review]/page.tsx`)
- Guide route → After-hours page: renders (evidence: `seo/app/app/ai-answering-service/[...review]/page.tsx`)
- Landing template → Scenario calculator: renders (evidence: `seo/shared/components/LandingPageTemplate.tsx`)
- Landing template → Pricing display: renders (evidence: `seo/shared/components/LandingPageTemplate.tsx`)
- Landing template → Funnel CTA: renders (evidence: `seo/shared/components/LandingPageTemplate.tsx`)
- Review pages → Landing template: renders (evidence: `seo/shared/components/ReviewPageTemplate.tsx`)
- Review pages → Contact form: renders (evidence: `seo/shared/components/ReviewPageTemplate.tsx`)
- Contact form → Lead attribution: submits through (evidence: `seo/shared/components/ContactForm.tsx`)
- Lead attribution → Lead capture: uses (evidence: `seo/shared/lib/lead-attribution.ts`)
- Page registry → Publication contract: validates with (evidence: `seo/shared/lib/landing-registry.mjs`)
- SEO route rules → Publication contract: derives routes from (evidence: `seo/app/tools/routes.mjs`)
- Batch processor → Publication contract: uses (evidence: `seo/app/tools/batch.mjs`)
