# faithfulfrontiers2026/faithfulfrontiers architecture

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

- Interactive diagram: https://gitdiagram.com/faithfulfrontiers2026/faithfulfrontiers
- Repository: https://github.com/faithfulfrontiers2026/faithfulfrontiers

## Overview

Faithful Frontiers is a static travel-group website prototype. Visitors use the landing page to explore group-specific messaging, open a workspace demo, and generate a local trip brief; a separate Trust Center describes intended controls. The repository also contains Cognito sign-in logic and an API Gateway client, but the supplied excerpts do not establish that the page invokes either. The trip brief is generated in the browser, not by that API client. Evidence is limited to the README and excerpted source; page wiring and unsampled files were not inspected.

Main entry points: [`index.html`](https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/index.html) (Landing page), [`auth.js`](https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/auth.js) (Account sign-in), [`script.js`](https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/script.js) (Group tabs), [`api.js`](https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/api.js) (Trip API client)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Website experience"]
  node_landing["Landing page<br/>[index.html]"]
  node_trust["Trust Center<br/>[trust.html]"]
end

subgraph group_interactions["Interactive features"]
  node_group_tabs["Group tabs<br/>[script.js]"]
  node_workspace_demo["Workspace demo<br/>[script.js]"]
  node_trip_brief["Trip brief generator<br/>[script.js]"]
end

subgraph group_integrations["Backend integrations"]
  node_account_auth["Account sign-in<br/>[auth.js]"]
  node_browser_session[("Browser session<br/>[auth.js]")]
  node_cognito{{"Amazon Cognito"}}
  node_api_client["Trip API client<br/>[api.js]"]
  node_api_gateway{{"API Gateway"}}
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_landing
node_visitor -->|"opens"| node_trust
node_landing -->|"offers tabs"| node_group_tabs
node_landing -->|"offers demo"| node_workspace_demo
node_landing -->|"offers planner"| node_trip_brief
node_group_tabs -->|"updates panel"| node_landing
node_workspace_demo -->|"opens dialog"| node_landing
node_trip_brief -->|"renders result"| node_landing
node_account_auth -->|"reads and writes"| node_browser_session
node_account_auth -->|"exchanges tokens"| node_cognito
node_api_client -->|"sends requests"| node_api_gateway

click node_landing "https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/index.html"
click node_trust "https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/trust.html"
click node_group_tabs "https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/script.js"
click node_workspace_demo "https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/script.js"
click node_trip_brief "https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/script.js"
click node_account_auth "https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/auth.js"
click node_browser_session "https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/auth.js"
click node_api_client "https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/api.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_landing,node_trust toneBlue
class node_group_tabs,node_workspace_demo,node_trip_brief toneAmber
class node_account_auth,node_browser_session,node_cognito,node_api_client,node_api_gateway toneMint
class node_visitor toneIndigo
```

## Components

### Website experience

- [Landing page](https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/index.html): `index.html`
- [Trust Center](https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/trust.html): `trust.html`

### Interactive features

- [Group tabs](https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/script.js): `script.js`
- [Workspace demo](https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/script.js): `script.js`
- [Trip brief generator](https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/script.js): `script.js`

### Backend integrations

- [Account sign-in](https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/auth.js): `auth.js`
- [Browser session](https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/auth.js): `auth.js`
- **Amazon Cognito**
- [Trip API client](https://github.com/faithfulfrontiers2026/faithfulfrontiers/blob/main/api.js): `api.js`
- **API Gateway**

### Other components

- **Visitor**

## Connections

- Visitor → Landing page: opens (evidence: `README.md`)
- Visitor → Trust Center: opens (evidence: `README.md`)
- Landing page → Group tabs: offers tabs (evidence: `README.md`)
- Landing page → Workspace demo: offers demo (evidence: `README.md`)
- Landing page → Trip brief generator: offers planner (evidence: `README.md`)
- Group tabs → Landing page: updates panel (evidence: `script.js`)
- Workspace demo → Landing page: opens dialog (evidence: `script.js`)
- Trip brief generator → Landing page: renders result (evidence: `script.js`)
- Account sign-in → Browser session: reads and writes (evidence: `auth.js`)
- Account sign-in → Amazon Cognito: exchanges tokens (evidence: `auth.js`)
- Trip API client → API Gateway: sends requests (evidence: `api.js`)
