# ekmwest/learnpoint-site architecture

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

- Interactive diagram: https://gitdiagram.com/ekmwest/learnpoint-site
- Repository: https://github.com/ekmwest/learnpoint-site

## Overview

Learnpoint Site is a static public website for product information, help, news, job openings, sign-in routing, and service status. A visitor browses or searches the site; help search loads indexed content, while sign-in lets visitors find a school and follow its link. Status displays current service information and incident history. The README documents bilingual content, help guides, news, and job listings. The graph reflects the tree, README, and sampled scripts; page templates and status data-fetch URLs were not sampled, so uncertain connections are omitted.

Main entry points: [`src/_scripts/pages/status.js`](https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/pages/status.js) (Status Renderer), [`src/help`](https://github.com/ekmwest/learnpoint-site/tree/dev/src/help) (Help Guides), [`src/sign-in.html`](https://github.com/ekmwest/learnpoint-site/blob/dev/src/sign-in.html) (Sign-in Page), [`src/_scripts/pages/sign-in.js`](https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/pages/sign-in.js) (School Search)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site_content["Site Content"]
  node_home["Home Page<br/>[index.html]"]
  node_help_pages["Help Guides"]
  node_news_pages["Product News"]
  node_jobs_pages["Job Listings"]
  node_about_contact["About &amp; Contact"]
end

subgraph group_visitor_tools["Visitor Tools"]
  node_sign_in_page["Sign-in Page<br/>[sign-in.html]"]
  node_school_search["School Search<br/>[sign-in.js]"]
  node_school_directory["School Directory<br/>[schools.json]"]
  node_legacy_sign_in["Legacy Sign-in<br/>[sign-in-old.js]"]
  node_help_search["Help Search"]
  node_help_index["Help Search Index"]
end

subgraph group_service_status["Service Status"]
  node_status_page["Status Page<br/>[index.html]"]
  node_status_renderer["Status Renderer<br/>[status.js]"]
  node_incident_data["Incident Data<br/>[incidents.json]"]
  node_status_data["Status Data<br/>[status.json]"]
end

subgraph group_shared_ui["Shared UI"]
  node_help_sidebar["Help Sidebar<br/>[help-sidebar.js]"]
  node_language["Language Preference<br/>[language.js]"]
  node_dark_mode["Dark Mode<br/>[dark-mode.js]"]
  node_responsive_mode["Responsive Mode<br/>[is-mobile.js]"]
  node_print_mode["Print Mode<br/>[print.js]"]
end

node_visitor(("Visitor"))
node_mobile_device(("Browser"))

node_visitor -->|"browses"| node_home
node_visitor -->|"reads guides"| node_help_pages
node_visitor -->|"reads news"| node_news_pages
node_visitor -->|"views openings"| node_jobs_pages
node_visitor -->|"visits"| node_about_contact
node_visitor -->|"opens"| node_sign_in_page
node_sign_in_page -->|"runs"| node_school_search
node_school_search -->|"fetches"| node_school_directory
node_visitor -->|"checks status"| node_status_page
node_status_page -->|"runs"| node_status_renderer
node_help_pages -.->|"provides navigation"| node_help_sidebar
node_help_sidebar -.->|"offers search"| node_help_search
node_help_search -->|"fetches content"| node_help_index
node_mobile_device -->|"sets viewport mode"| node_responsive_mode
node_status_renderer -.->|"loads incidents"| node_incident_data
node_status_renderer -.->|"loads status"| node_status_data

click node_home "https://github.com/ekmwest/learnpoint-site/blob/dev/src/index.html"
click node_help_pages "https://github.com/ekmwest/learnpoint-site/tree/dev/src/help"
click node_news_pages "https://github.com/ekmwest/learnpoint-site/tree/dev/src/news"
click node_jobs_pages "https://github.com/ekmwest/learnpoint-site/tree/dev/src/jobs"
click node_about_contact "https://github.com/ekmwest/learnpoint-site/tree/dev/src/about"
click node_sign_in_page "https://github.com/ekmwest/learnpoint-site/blob/dev/src/sign-in.html"
click node_school_search "https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/pages/sign-in.js"
click node_school_directory "https://github.com/ekmwest/learnpoint-site/blob/dev/src/schools.json"
click node_legacy_sign_in "https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/pages/sign-in-old.js"
click node_help_search "https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/components/help-sidebar-search.js"
click node_status_page "https://github.com/ekmwest/learnpoint-site/blob/dev/src/status/index.html"
click node_status_renderer "https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/pages/status.js"
click node_incident_data "https://github.com/ekmwest/learnpoint-site/blob/dev/src/status/incidents.json"
click node_status_data "https://github.com/ekmwest/learnpoint-site/blob/dev/src/status/status.json"
click node_help_sidebar "https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/components/help-sidebar.js"
click node_language "https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/components/language.js"
click node_dark_mode "https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/components/dark-mode.js"
click node_responsive_mode "https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/components/is-mobile.js"
click node_print_mode "https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/components/print.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_home,node_help_pages,node_news_pages,node_jobs_pages,node_about_contact,node_mobile_device toneBlue
class node_sign_in_page,node_school_search,node_school_directory,node_legacy_sign_in,node_help_search,node_help_index toneAmber
class node_status_page,node_status_renderer,node_incident_data,node_status_data toneMint
class node_help_sidebar,node_language,node_dark_mode,node_responsive_mode,node_print_mode toneRose
class node_visitor toneIndigo
```

## Components

### Site Content

- [Home Page](https://github.com/ekmwest/learnpoint-site/blob/dev/src/index.html): `src/index.html`
- [Help Guides](https://github.com/ekmwest/learnpoint-site/tree/dev/src/help): `src/help`
- [Product News](https://github.com/ekmwest/learnpoint-site/tree/dev/src/news): `src/news`
- [Job Listings](https://github.com/ekmwest/learnpoint-site/tree/dev/src/jobs): `src/jobs`
- [About & Contact](https://github.com/ekmwest/learnpoint-site/tree/dev/src/about): `src/about`

### Visitor Tools

- [Sign-in Page](https://github.com/ekmwest/learnpoint-site/blob/dev/src/sign-in.html): `src/sign-in.html`
- [School Search](https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/pages/sign-in.js): `src/_scripts/pages/sign-in.js`
- [School Directory](https://github.com/ekmwest/learnpoint-site/blob/dev/src/schools.json): `src/schools.json`
- [Legacy Sign-in](https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/pages/sign-in-old.js): `src/_scripts/pages/sign-in-old.js`
- [Help Search](https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/components/help-sidebar-search.js): `src/_scripts/components/help-sidebar-search.js`
- **Help Search Index**

### Service Status

- [Status Page](https://github.com/ekmwest/learnpoint-site/blob/dev/src/status/index.html): `src/status/index.html`
- [Status Renderer](https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/pages/status.js): `src/_scripts/pages/status.js`
- [Incident Data](https://github.com/ekmwest/learnpoint-site/blob/dev/src/status/incidents.json): `src/status/incidents.json`
- [Status Data](https://github.com/ekmwest/learnpoint-site/blob/dev/src/status/status.json): `src/status/status.json`

### Shared UI

- [Help Sidebar](https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/components/help-sidebar.js): `src/_scripts/components/help-sidebar.js`
- [Language Preference](https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/components/language.js): `src/_scripts/components/language.js`
- [Dark Mode](https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/components/dark-mode.js): `src/_scripts/components/dark-mode.js`
- [Responsive Mode](https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/components/is-mobile.js): `src/_scripts/components/is-mobile.js`
- [Print Mode](https://github.com/ekmwest/learnpoint-site/blob/dev/src/_scripts/components/print.js): `src/_scripts/components/print.js`

### Other components

- **Visitor**
- **Browser**

## Connections

- Visitor → Home Page: browses (evidence: `README.md`)
- Visitor → Help Guides: reads guides (evidence: `README.md`)
- Visitor → Product News: reads news (evidence: `README.md`)
- Visitor → Job Listings: views openings (evidence: `README.md`)
- Visitor → About & Contact: visits (evidence: `README.md`)
- Visitor → Sign-in Page: opens
- Sign-in Page → School Search: runs (evidence: `src/_scripts/pages/sign-in.js`)
- School Search → School Directory: fetches (evidence: `src/_scripts/pages/sign-in.js`)
- Visitor → Status Page: checks status (evidence: `README.md`)
- Status Page → Status Renderer: runs (evidence: `src/_scripts/pages/status.js`)
- Help Guides → Help Sidebar: provides navigation
- Help Sidebar → Help Search: offers search
- Help Search → Help Search Index: fetches content (evidence: `src/_scripts/components/help-sidebar-search.js`)
- Browser → Responsive Mode: sets viewport mode (evidence: `src/_scripts/components/is-mobile.js`)
- Status Renderer → Incident Data: loads incidents
- Status Renderer → Status Data: loads status
