# apptivando/onconciliaweb architecture

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

- Interactive diagram: https://gitdiagram.com/apptivando/onconciliaweb
- Repository: https://github.com/apptivando/onconciliaweb

## Overview

OnConcilia’s repository is primarily its beta-acquisition landing page and supporting sales materials, not the bank-reconciliation application itself. The evidenced user path is visitor → landing page → beta form → external CRM, which can return an appointment URL. The repository also contains structured prospect/sales types, SQL schemas, email templates, and internal strategy and sales content; their runtime connections are not demonstrated by the sampled excerpts, so those relationships are left out.

Main entry points: [`src/components/BetaForm.tsx`](https://github.com/apptivando/onconciliaweb/blob/main/src/components/BetaForm.tsx) (Beta signup form), [`src/app/page.tsx`](https://github.com/apptivando/onconciliaweb/blob/main/src/app/page.tsx) (Beta landing), [`src/app/layout.tsx`](https://github.com/apptivando/onconciliaweb/blob/main/src/app/layout.tsx) (Site layout)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Beta website"]
  node_landing["Beta landing<br/>[page.tsx]"]
  node_form["Beta signup form<br/>[BetaForm.tsx]"]
  node_layout["Site layout<br/>[layout.tsx]"]
end

subgraph group_sales["Sales materials"]
  node_objections["Sales objections<br/>[objeciones.ts]"]
  node_document_catalog["Sales document catalog<br/>[documentos.ts]"]
  node_sales_content["Sales and strategy content"]
  node_email_templates["Outreach email templates"]
end

subgraph group_prospects["Prospect CRM model"]
  node_prospect_types["Prospect data types<br/>[types.ts]"]
  node_prospect_store[("Prospect database schemas<br/>[prospectos.sql]")]
end

node_visitor(("Prospective customer"))
node_crm["Apptivando CRM"]
node_appointment["CRM appointment page"]

node_visitor -->|"visits"| node_landing
node_landing -->|"renders"| node_form
node_form -->|"submits lead"| node_crm
node_crm -->|"returns appointment URL"| node_form
node_form -->|"redirects"| node_appointment
node_layout -->|"wraps page"| node_landing

click node_landing "https://github.com/apptivando/onconciliaweb/blob/main/src/app/page.tsx"
click node_form "https://github.com/apptivando/onconciliaweb/blob/main/src/components/BetaForm.tsx"
click node_layout "https://github.com/apptivando/onconciliaweb/blob/main/src/app/layout.tsx"
click node_objections "https://github.com/apptivando/onconciliaweb/blob/main/src/lib/objeciones.ts"
click node_document_catalog "https://github.com/apptivando/onconciliaweb/blob/main/src/lib/documentos.ts"
click node_sales_content "https://github.com/apptivando/onconciliaweb/tree/main/content"
click node_email_templates "https://github.com/apptivando/onconciliaweb/tree/main/emails"
click node_prospect_types "https://github.com/apptivando/onconciliaweb/blob/main/src/lib/types.ts"
click node_prospect_store "https://github.com/apptivando/onconciliaweb/blob/main/supabase/prospectos.sql"

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_landing,node_form,node_layout toneBlue
class node_objections,node_document_catalog,node_sales_content,node_email_templates toneAmber
class node_prospect_types,node_prospect_store toneMint
class node_visitor,node_crm,node_appointment toneIndigo
```

## Components

### Beta website

- [Beta landing](https://github.com/apptivando/onconciliaweb/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [Beta signup form](https://github.com/apptivando/onconciliaweb/blob/main/src/components/BetaForm.tsx): `src/components/BetaForm.tsx`
- [Site layout](https://github.com/apptivando/onconciliaweb/blob/main/src/app/layout.tsx): `src/app/layout.tsx`

### Sales materials

- [Sales objections](https://github.com/apptivando/onconciliaweb/blob/main/src/lib/objeciones.ts): `src/lib/objeciones.ts`
- [Sales document catalog](https://github.com/apptivando/onconciliaweb/blob/main/src/lib/documentos.ts): `src/lib/documentos.ts`
- [Sales and strategy content](https://github.com/apptivando/onconciliaweb/tree/main/content): `content`
- [Outreach email templates](https://github.com/apptivando/onconciliaweb/tree/main/emails): `emails`

### Prospect CRM model

- [Prospect data types](https://github.com/apptivando/onconciliaweb/blob/main/src/lib/types.ts): `src/lib/types.ts`
- [Prospect database schemas](https://github.com/apptivando/onconciliaweb/blob/main/supabase/prospectos.sql): `supabase/prospectos.sql`

### Other components

- **Prospective customer**
- **Apptivando CRM**
- **CRM appointment page**

## Connections

- Prospective customer → Beta landing: visits (evidence: `src/app/page.tsx`)
- Beta landing → Beta signup form: renders (evidence: `src/app/page.tsx`)
- Beta signup form → Apptivando CRM: submits lead (evidence: `src/components/BetaForm.tsx`)
- Apptivando CRM → Beta signup form: returns appointment URL (evidence: `src/components/BetaForm.tsx`)
- Beta signup form → CRM appointment page: redirects (evidence: `src/components/BetaForm.tsx`)
- Site layout → Beta landing: wraps page (evidence: `src/app/layout.tsx`)
