# giprojectongit/geo-connect architecture

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

- Interactive diagram: https://gitdiagram.com/giprojectongit/geo-connect
- Repository: https://github.com/giprojectongit/geo-connect

## Overview

Geo Connect is a demo geothermal community hub connecting industry, local agents, and community members. Users select a demo role, then use role-specific dashboards and pages to explore talent, jobs, training, internships, suppliers, community programs, and direct-use opportunities; community matching presents fit scores. Industry ESG views and admin moderation/analytics provide impact measurement and platform oversight. The implementation is an MVP with simulated data and browser-persisted role state, not a live backend. Unsampled pages are included only as documented capabilities; their internal calls are not inferred.

Main entry points: [`src/lib/mock-data.ts`](https://github.com/giprojectongit/geo-connect/blob/main/src/lib/mock-data.ts) (Simulated data), [`src/lib/store.ts`](https://github.com/giprojectongit/geo-connect/blob/main/src/lib/store.ts) (Persisted role state), [`src/app/community/matching/page.tsx`](https://github.com/giprojectongit/geo-connect/blob/main/src/app/community/matching/page.tsx) (Opportunity matching), [`src/components/layout/dashboard-layout.tsx`](https://github.com/giprojectongit/geo-connect/blob/main/src/components/layout/dashboard-layout.tsx) (Dashboard shell)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Entry and Shell"]
  node_landing["Landing page<br/>[page.tsx]"]
  node_role["Role selection<br/>[page.tsx]"]
  node_dashboard_shell["Dashboard shell"]
  node_nav["Navigation<br/>[navbar.tsx]"]
  node_sidebar["Role sidebar<br/>[sidebar.tsx]"]
end

subgraph group_connect["Opportunity Exchange"]
  node_industry_exchange["Industry opportunities<br/>[page.tsx]"]
  node_talent_pool["Talent pool<br/>[page.tsx]"]
  node_industry_programs["Industry programs<br/>[page.tsx]"]
  node_supplier_market["Supplier market<br/>[page.tsx]"]
  node_direct_use["Direct-use matching<br/>[page.tsx]"]
  node_community_opportunities["Community opportunities<br/>[page.tsx]"]
  node_community_match["Opportunity matching<br/>[page.tsx]"]
  node_opportunity_cards["Opportunity cards"]
  node_supplier_card["Supplier card<br/>[supplier-card.tsx]"]
end

subgraph group_community["Community Operations"]
  node_member_management["Member management<br/>[page.tsx]"]
  node_placement_tracking["Placement tracking<br/>[page.tsx]"]
  node_community_programs["Community programs<br/>[page.tsx]"]
  node_community_profile["Member profile<br/>[page.tsx]"]
end

subgraph group_measure["Impact and Oversight"]
  node_impact_dashboard["ESG impact<br/>[page.tsx]"]
  node_admin_moderation["Admin moderation<br/>[page.tsx]"]
  node_admin_overview["Admin analytics<br/>[page.tsx]"]
  node_charts["Impact charts<br/>[chart-cards.tsx]"]
end

subgraph group_core["Demo Runtime"]
  node_mock_data[("Simulated data<br/>[mock-data.ts]")]
  node_matching_logic["Matching logic<br/>[matching.ts]"]
  node_role_state[("Persisted role state<br/>[store.ts]")]
  node_types["Domain types<br/>[index.ts]"]
end

node_visitor(("Platform visitor"))

node_visitor -->|"opens"| node_landing
node_visitor -->|"chooses role"| node_role
node_role -->|"sets role"| node_role_state
node_landing -->|"renders"| node_nav
node_dashboard_shell -->|"renders"| node_sidebar
node_dashboard_shell -->|"renders"| node_nav
node_nav -->|"reads state"| node_role_state
node_sidebar -->|"reads state"| node_role_state
node_industry_exchange -->|"reads opportunities"| node_mock_data
node_talent_pool -->|"reads members"| node_mock_data
node_talent_pool -->|"renders in"| node_dashboard_shell
node_industry_programs -->|"reads programs"| node_mock_data
node_supplier_market -->|"reads suppliers"| node_mock_data
node_supplier_market -->|"renders"| node_supplier_card
node_direct_use -->|"reads opportunities"| node_mock_data
node_community_opportunities -->|"reads opportunities"| node_mock_data
node_community_opportunities -->|"renders"| node_opportunity_cards
node_community_match -->|"reads candidates"| node_mock_data
node_community_match -->|"renders results"| node_opportunity_cards
node_community_match -.->|"uses matching"| node_matching_logic
node_member_management -->|"reads members"| node_mock_data
node_placement_tracking -->|"reads placements"| node_mock_data
node_community_programs -->|"reads programs"| node_mock_data
node_community_profile -->|"reads profile data"| node_mock_data
node_impact_dashboard -->|"reads metrics"| node_mock_data
node_impact_dashboard -->|"renders charts"| node_charts
node_admin_moderation -->|"reads queue"| node_mock_data
node_admin_overview -->|"reads statistics"| node_mock_data
node_admin_overview -->|"renders charts"| node_charts
node_mock_data -->|"typed by"| node_types
node_role_state -->|"uses role type"| node_types

click node_landing "https://github.com/giprojectongit/geo-connect/blob/main/src/app/page.tsx"
click node_role "https://github.com/giprojectongit/geo-connect/blob/main/src/app/login/page.tsx"
click node_dashboard_shell "https://github.com/giprojectongit/geo-connect/blob/main/src/components/layout/dashboard-layout.tsx"
click node_nav "https://github.com/giprojectongit/geo-connect/blob/main/src/components/layout/navbar.tsx"
click node_sidebar "https://github.com/giprojectongit/geo-connect/blob/main/src/components/layout/sidebar.tsx"
click node_industry_exchange "https://github.com/giprojectongit/geo-connect/blob/main/src/app/industry/jobs/page.tsx"
click node_talent_pool "https://github.com/giprojectongit/geo-connect/blob/main/src/app/industry/talent/page.tsx"
click node_industry_programs "https://github.com/giprojectongit/geo-connect/blob/main/src/app/industry/internships/page.tsx"
click node_supplier_market "https://github.com/giprojectongit/geo-connect/blob/main/src/app/industry/suppliers/page.tsx"
click node_direct_use "https://github.com/giprojectongit/geo-connect/blob/main/src/app/industry/direct-use/page.tsx"
click node_community_opportunities "https://github.com/giprojectongit/geo-connect/blob/main/src/app/community/jobs/page.tsx"
click node_community_match "https://github.com/giprojectongit/geo-connect/blob/main/src/app/community/matching/page.tsx"
click node_opportunity_cards "https://github.com/giprojectongit/geo-connect/blob/main/src/components/opportunities/opportunity-cards.tsx"
click node_supplier_card "https://github.com/giprojectongit/geo-connect/blob/main/src/components/opportunities/supplier-card.tsx"
click node_member_management "https://github.com/giprojectongit/geo-connect/blob/main/src/app/agent/members/page.tsx"
click node_placement_tracking "https://github.com/giprojectongit/geo-connect/blob/main/src/app/agent/placements/page.tsx"
click node_community_programs "https://github.com/giprojectongit/geo-connect/blob/main/src/app/industry/community-programs/page.tsx"
click node_community_profile "https://github.com/giprojectongit/geo-connect/blob/main/src/app/community/profile/page.tsx"
click node_impact_dashboard "https://github.com/giprojectongit/geo-connect/blob/main/src/app/industry/esg/page.tsx"
click node_admin_moderation "https://github.com/giprojectongit/geo-connect/blob/main/src/app/admin/moderation/page.tsx"
click node_admin_overview "https://github.com/giprojectongit/geo-connect/blob/main/src/app/admin/dashboard/page.tsx"
click node_charts "https://github.com/giprojectongit/geo-connect/blob/main/src/components/charts/chart-cards.tsx"
click node_mock_data "https://github.com/giprojectongit/geo-connect/blob/main/src/lib/mock-data.ts"
click node_matching_logic "https://github.com/giprojectongit/geo-connect/blob/main/src/lib/matching.ts"
click node_role_state "https://github.com/giprojectongit/geo-connect/blob/main/src/lib/store.ts"
click node_types "https://github.com/giprojectongit/geo-connect/blob/main/src/types/index.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_landing,node_role,node_dashboard_shell,node_nav,node_sidebar toneBlue
class node_industry_exchange,node_talent_pool,node_industry_programs,node_supplier_market,node_direct_use,node_community_opportunities,node_community_match,node_opportunity_cards,node_supplier_card toneAmber
class node_member_management,node_placement_tracking,node_community_programs,node_community_profile toneMint
class node_impact_dashboard,node_admin_moderation,node_admin_overview,node_charts toneRose
class node_mock_data,node_matching_logic,node_role_state,node_types,node_visitor toneIndigo
```

## Components

### Entry and Shell

- [Landing page](https://github.com/giprojectongit/geo-connect/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [Role selection](https://github.com/giprojectongit/geo-connect/blob/main/src/app/login/page.tsx): `src/app/login/page.tsx`
- [Dashboard shell](https://github.com/giprojectongit/geo-connect/blob/main/src/components/layout/dashboard-layout.tsx): `src/components/layout/dashboard-layout.tsx`
- [Navigation](https://github.com/giprojectongit/geo-connect/blob/main/src/components/layout/navbar.tsx): `src/components/layout/navbar.tsx`
- [Role sidebar](https://github.com/giprojectongit/geo-connect/blob/main/src/components/layout/sidebar.tsx): `src/components/layout/sidebar.tsx`

### Opportunity Exchange

- [Industry opportunities](https://github.com/giprojectongit/geo-connect/blob/main/src/app/industry/jobs/page.tsx): `src/app/industry/jobs/page.tsx`
- [Talent pool](https://github.com/giprojectongit/geo-connect/blob/main/src/app/industry/talent/page.tsx): `src/app/industry/talent/page.tsx`
- [Industry programs](https://github.com/giprojectongit/geo-connect/blob/main/src/app/industry/internships/page.tsx): `src/app/industry/internships/page.tsx`
- [Supplier market](https://github.com/giprojectongit/geo-connect/blob/main/src/app/industry/suppliers/page.tsx): `src/app/industry/suppliers/page.tsx`
- [Direct-use matching](https://github.com/giprojectongit/geo-connect/blob/main/src/app/industry/direct-use/page.tsx): `src/app/industry/direct-use/page.tsx`
- [Community opportunities](https://github.com/giprojectongit/geo-connect/blob/main/src/app/community/jobs/page.tsx): `src/app/community/jobs/page.tsx`
- [Opportunity matching](https://github.com/giprojectongit/geo-connect/blob/main/src/app/community/matching/page.tsx): `src/app/community/matching/page.tsx`
- [Opportunity cards](https://github.com/giprojectongit/geo-connect/blob/main/src/components/opportunities/opportunity-cards.tsx): `src/components/opportunities/opportunity-cards.tsx`
- [Supplier card](https://github.com/giprojectongit/geo-connect/blob/main/src/components/opportunities/supplier-card.tsx): `src/components/opportunities/supplier-card.tsx`

### Community Operations

- [Member management](https://github.com/giprojectongit/geo-connect/blob/main/src/app/agent/members/page.tsx): `src/app/agent/members/page.tsx`
- [Placement tracking](https://github.com/giprojectongit/geo-connect/blob/main/src/app/agent/placements/page.tsx): `src/app/agent/placements/page.tsx`
- [Community programs](https://github.com/giprojectongit/geo-connect/blob/main/src/app/industry/community-programs/page.tsx): `src/app/industry/community-programs/page.tsx`
- [Member profile](https://github.com/giprojectongit/geo-connect/blob/main/src/app/community/profile/page.tsx): `src/app/community/profile/page.tsx`

### Impact and Oversight

- [ESG impact](https://github.com/giprojectongit/geo-connect/blob/main/src/app/industry/esg/page.tsx): `src/app/industry/esg/page.tsx`
- [Admin moderation](https://github.com/giprojectongit/geo-connect/blob/main/src/app/admin/moderation/page.tsx): `src/app/admin/moderation/page.tsx`
- [Admin analytics](https://github.com/giprojectongit/geo-connect/blob/main/src/app/admin/dashboard/page.tsx): `src/app/admin/dashboard/page.tsx`
- [Impact charts](https://github.com/giprojectongit/geo-connect/blob/main/src/components/charts/chart-cards.tsx): `src/components/charts/chart-cards.tsx`

### Demo Runtime

- [Simulated data](https://github.com/giprojectongit/geo-connect/blob/main/src/lib/mock-data.ts): `src/lib/mock-data.ts`
- [Matching logic](https://github.com/giprojectongit/geo-connect/blob/main/src/lib/matching.ts): `src/lib/matching.ts`
- [Persisted role state](https://github.com/giprojectongit/geo-connect/blob/main/src/lib/store.ts): `src/lib/store.ts`
- [Domain types](https://github.com/giprojectongit/geo-connect/blob/main/src/types/index.ts): `src/types/index.ts`

### Other components

- **Platform visitor**

## Connections

- Platform visitor → Landing page: opens
- Platform visitor → Role selection: chooses role
- Role selection → Persisted role state: sets role (evidence: `src/app/login/page.tsx`)
- Landing page → Navigation: renders (evidence: `src/app/page.tsx`)
- Dashboard shell → Role sidebar: renders (evidence: `src/components/layout/dashboard-layout.tsx`)
- Dashboard shell → Navigation: renders (evidence: `src/components/layout/dashboard-layout.tsx`)
- Navigation → Persisted role state: reads state (evidence: `src/components/layout/navbar.tsx`)
- Role sidebar → Persisted role state: reads state (evidence: `src/components/layout/sidebar.tsx`)
- Industry opportunities → Simulated data: reads opportunities (evidence: `src/app/industry/jobs/page.tsx`)
- Talent pool → Simulated data: reads members (evidence: `src/app/industry/talent/page.tsx`)
- Talent pool → Dashboard shell: renders in (evidence: `src/app/industry/talent/page.tsx`)
- Industry programs → Simulated data: reads programs (evidence: `src/app/industry/internships/page.tsx`)
- Supplier market → Simulated data: reads suppliers (evidence: `src/app/industry/suppliers/page.tsx`)
- Supplier market → Supplier card: renders (evidence: `src/app/industry/suppliers/page.tsx`)
- Direct-use matching → Simulated data: reads opportunities (evidence: `src/app/industry/direct-use/page.tsx`)
- Community opportunities → Simulated data: reads opportunities (evidence: `src/app/community/jobs/page.tsx`)
- Community opportunities → Opportunity cards: renders (evidence: `src/app/community/jobs/page.tsx`)
- Opportunity matching → Simulated data: reads candidates (evidence: `src/app/community/matching/page.tsx`)
- Opportunity matching → Opportunity cards: renders results (evidence: `src/app/community/matching/page.tsx`)
- Opportunity matching → Matching logic: uses matching
- Member management → Simulated data: reads members (evidence: `src/app/agent/members/page.tsx`)
- Placement tracking → Simulated data: reads placements (evidence: `src/app/agent/placements/page.tsx`)
- Community programs → Simulated data: reads programs (evidence: `src/app/industry/community-programs/page.tsx`)
- Member profile → Simulated data: reads profile data (evidence: `src/app/community/profile/page.tsx`)
- ESG impact → Simulated data: reads metrics (evidence: `src/app/industry/esg/page.tsx`)
- ESG impact → Impact charts: renders charts (evidence: `src/app/industry/esg/page.tsx`)
- Admin moderation → Simulated data: reads queue (evidence: `src/app/admin/moderation/page.tsx`)
- Admin analytics → Simulated data: reads statistics (evidence: `src/app/admin/dashboard/page.tsx`)
- Admin analytics → Impact charts: renders charts (evidence: `src/app/admin/dashboard/page.tsx`)
- Simulated data → Domain types: typed by (evidence: `src/lib/mock-data.ts`)
- Persisted role state → Domain types: uses role type (evidence: `src/lib/store.ts`)
