# jeshurunpaulmoses-glitch/trio-thechristianfilm architecture

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

- Interactive diagram: https://gitdiagram.com/jeshurunpaulmoses-glitch/trio-thechristianfilm
- Repository: https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm

## Overview

TRIO is a cinematic promotional website for a faith-driven film, with an additional production-finance transparency section. The visitor enters through the homepage route, which renders the cinematic experience: an introduction, film story/world/characters and production content, funding report, vision, and trailer. The experience reads its editable film content from a central configuration and embeds the funding section. The server entry delegates requests to TanStack Start and normalizes catastrophic SSR errors. Funding data is presented in charts and transaction views; the supplied evidence does not indicate an external data store. Some page capabilities are documented in the README but their implementation details were not sampled.

Main entry points: [`src/components/Funding/FundingSection.tsx`](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/Funding/FundingSection.tsx) (Funding report), [`src/server.ts`](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/server.ts) (Server entry), [`src/components/trio/TrioExperience.tsx`](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/trio/TrioExperience.tsx) (Cinematic experience), [`src/routes/index.tsx`](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/routes/index.tsx) (Homepage route)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Film Experience"]
  node_experience["Cinematic experience<br/>[TrioExperience.tsx]"]
  node_filmcontent["Film content config<br/>[trio.ts]"]
end

subgraph group_finance["Funding Transparency"]
  node_fundingsection["Funding report<br/>[FundingSection.tsx]"]
  node_fundingdata["Funding records<br/>[funding-data.ts]"]
  node_kpis["Funding KPIs<br/>[FundingKPIs.tsx]"]
  node_donut["Contributor donut"]
  node_contributors["Contributor bars"]
  node_budget["Budget utilization"]
  node_expenses["Expense categories"]
  node_timeline["Production timeline"]
  node_transactions["Transaction history"]
end

subgraph group_runtime["Application Runtime"]
  node_home["Homepage route<br/>[index.tsx]"]
  node_router["Router setup<br/>[router.tsx]"]
  node_server["Server entry<br/>[server.ts]"]
  node_start["Start configuration<br/>[start.ts]"]
end

subgraph group_errors["Error Handling"]
  node_errorcapture["Error capture<br/>[error-capture.ts]"]
  node_errorpage["Error page<br/>[error-page.ts]"]
  node_reporting["Root error reporting"]
end

node_visitor(("Film visitor"))

node_visitor -->|"opens"| node_home
node_home -->|"renders"| node_experience
node_router -->|"routes to"| node_home
node_experience -->|"reads content"| node_filmcontent
node_experience -->|"renders"| node_fundingsection
node_fundingsection -->|"reads metrics"| node_fundingdata
node_fundingsection -->|"renders"| node_kpis
node_fundingsection -->|"renders"| node_donut
node_fundingsection -->|"renders"| node_contributors
node_fundingsection -->|"renders"| node_budget
node_fundingsection -->|"renders"| node_expenses
node_fundingsection -->|"renders"| node_timeline
node_fundingsection -->|"renders"| node_transactions
node_donut -->|"reads contributors"| node_fundingdata
node_server -->|"captures errors"| node_errorcapture
node_server -->|"renders fallback"| node_errorpage
node_server -.->|"loads handler"| node_start
node_reporting -.->|"reports errors"| node_errorcapture

click node_home "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/routes/index.tsx"
click node_router "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/router.tsx"
click node_experience "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/trio/TrioExperience.tsx"
click node_filmcontent "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/content/trio.ts"
click node_fundingsection "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/Funding/FundingSection.tsx"
click node_fundingdata "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/lib/funding-data.ts"
click node_kpis "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/Funding/FundingKPIs.tsx"
click node_donut "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/Funding/FundingDonutChart.tsx"
click node_contributors "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/Funding/ContributorBarChart.tsx"
click node_budget "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/Funding/BudgetUtilizationChart.tsx"
click node_expenses "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/Funding/ExpenseCategoryCards.tsx"
click node_timeline "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/Funding/ProductionTimelineChart.tsx"
click node_transactions "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/Funding/TransactionHistoryTable.tsx"
click node_server "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/server.ts"
click node_start "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/start.ts"
click node_errorcapture "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/lib/error-capture.ts"
click node_errorpage "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/lib/error-page.ts"
click node_reporting "https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/lib/lovable-error-reporting.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_experience,node_filmcontent toneBlue
class node_fundingsection,node_fundingdata,node_kpis,node_donut,node_contributors,node_budget,node_expenses,node_timeline,node_transactions toneAmber
class node_home,node_router,node_server,node_start toneMint
class node_errorcapture,node_errorpage,node_reporting toneRose
class node_visitor toneIndigo
```

## Components

### Film Experience

- [Cinematic experience](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/trio/TrioExperience.tsx): `src/components/trio/TrioExperience.tsx`
- [Film content config](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/content/trio.ts): `src/content/trio.ts`

### Funding Transparency

- [Funding report](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/Funding/FundingSection.tsx): `src/components/Funding/FundingSection.tsx`
- [Funding records](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/lib/funding-data.ts): `src/lib/funding-data.ts`
- [Funding KPIs](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/Funding/FundingKPIs.tsx): `src/components/Funding/FundingKPIs.tsx`
- [Contributor donut](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/Funding/FundingDonutChart.tsx): `src/components/Funding/FundingDonutChart.tsx`
- [Contributor bars](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/Funding/ContributorBarChart.tsx): `src/components/Funding/ContributorBarChart.tsx`
- [Budget utilization](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/Funding/BudgetUtilizationChart.tsx): `src/components/Funding/BudgetUtilizationChart.tsx`
- [Expense categories](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/Funding/ExpenseCategoryCards.tsx): `src/components/Funding/ExpenseCategoryCards.tsx`
- [Production timeline](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/Funding/ProductionTimelineChart.tsx): `src/components/Funding/ProductionTimelineChart.tsx`
- [Transaction history](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/components/Funding/TransactionHistoryTable.tsx): `src/components/Funding/TransactionHistoryTable.tsx`

### Application Runtime

- [Homepage route](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/routes/index.tsx): `src/routes/index.tsx`
- [Router setup](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/router.tsx): `src/router.tsx`
- [Server entry](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/server.ts): `src/server.ts`
- [Start configuration](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/start.ts): `src/start.ts`

### Error Handling

- [Error capture](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/lib/error-capture.ts): `src/lib/error-capture.ts`
- [Error page](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/lib/error-page.ts): `src/lib/error-page.ts`
- [Root error reporting](https://github.com/jeshurunpaulmoses-glitch/trio-thechristianfilm/blob/main/src/lib/lovable-error-reporting.ts): `src/lib/lovable-error-reporting.ts`

### Other components

- **Film visitor**

## Connections

- Film visitor → Homepage route: opens (evidence: `src/routes/index.tsx`)
- Homepage route → Cinematic experience: renders (evidence: `src/routes/index.tsx`)
- Router setup → Homepage route: routes to (evidence: `src/routeTree.gen.ts`)
- Cinematic experience → Film content config: reads content (evidence: `src/components/trio/TrioExperience.tsx`)
- Cinematic experience → Funding report: renders (evidence: `src/components/trio/TrioExperience.tsx`)
- Funding report → Funding records: reads metrics (evidence: `src/components/Funding/FundingSection.tsx`)
- Funding report → Funding KPIs: renders (evidence: `src/components/Funding/FundingSection.tsx`)
- Funding report → Contributor donut: renders (evidence: `src/components/Funding/FundingSection.tsx`)
- Funding report → Contributor bars: renders (evidence: `src/components/Funding/FundingSection.tsx`)
- Funding report → Budget utilization: renders (evidence: `src/components/Funding/FundingSection.tsx`)
- Funding report → Expense categories: renders (evidence: `src/components/Funding/FundingSection.tsx`)
- Funding report → Production timeline: renders (evidence: `src/components/Funding/FundingSection.tsx`)
- Funding report → Transaction history: renders (evidence: `src/components/Funding/FundingSection.tsx`)
- Contributor donut → Funding records: reads contributors (evidence: `src/components/Funding/FundingDonutChart.tsx`)
- Server entry → Error capture: captures errors (evidence: `src/server.ts`)
- Server entry → Error page: renders fallback (evidence: `src/server.ts`)
- Server entry → Start configuration: loads handler
- Root error reporting → Error capture: reports errors
