Static GitHub Pages site for a beginner-friendly, comprehensive guide to Jesus, Christianity, the Bible, historical context, listening paths, and supplemental resources.
index.htmlfor the home hub and resource libraryreference.htmlfor vocabulary, Bible books in order, people, locations, timeline, Christian traditions, and quizzesroadmap.htmlfor the interactive mastery tree and long-form learning pathquizzes.mdfor quiz coverage planning, canon/chapter inventory, and source references
The reference browser keeps one search active across every section. Section tabs show live match counts so readers can see whether a person, place, doctrine, timeline event, or quiz set is relevant before switching views.
index.html,reference.html,roadmap.html,quizzes.html,quiz-study.html,quizzes/*.html,prayer.html,poetry.html,resources.html— one HTML file per page. Shared chrome (topbar nav rows, footer, skip link) is duplicated on purpose so every page works without JavaScript;page-verify.mjskeeps those copies from drifting apart.topbar.js— the only classic (non-module) script, loaded withdeferby every page. It collapses both nav rows behind an accessible Menu button below 760px (Escape and outside clicks close it) and setsaria-current="page"on the link for the current page. Without JavaScript the full nav simply stays visible.page-*.js— per-page entry scripts (page-home.js,page-poetry.js,page-prayer.js,page-resources.js). Each page loads only the feature modules it needs.prayer.htmlships its sections as static fallback markup inside#prayer-sections, wrapped in<!-- prayer-sections:start/end -->markers so the page works without JavaScript.app-prayer.jsonly renders client-side when that static copy is missing, andpage-verify.mjsre-rendersprayer-data.jsin Node and fails if the static copy drifts. After editing prayer content, regenerate the block between the markers and bump the cache-bust stamp.app-*.js,reference*.js,quiz-study.js,roadmap.js— feature modules and renderers.*-data.js— pure content modules (resources, poetry, drawer topics, roadmap nodes, Bible books, …) with no DOM access.styles.css— the single shared stylesheet; the table of contents comment at the top maps its sections. Colours are semantic tokens (--bg,--surface,--text,--ink,--line, …) defined on:root, with a@media (prefers-color-scheme: dark)block that remaps them, so the site follows the reader's OS theme.
Cache busting: asset URLs carry a ?v=YYYYMMDD-N stamp. Bump the stamp in the HTML files whenever JS or CSS changes (the tests assert the stamps stay uniform across pages; they intentionally do not hardcode the current value).
Open index.html directly or serve the folder with a simple static server:
python3 -m http.server 8000If you prefer shortcuts, make test runs the verification suite and make serve starts the
static server.
The project pins Node 22 in .nvmrc (any Node 20+ works per the engines field in
package.json). The test suite has no npm dependencies and no longer needs Python.
Run the smoke and page checks with:
npm testThe suite covers: module import safety, per-page entry wiring, canonical
navigation/footer/skip-link presence, the shared topbar.js script, uniform
cache-bust stamps, data shape checks, and HTTP 200s for every page served by a
built-in Node static server on a free port.
For deeper checks, npm run audit (or make audit) runs the full test suite
plus audit.mjs, which covers internal link/anchor resolution, duplicate ids,
module wiring (orphans), drawer topic reachability, glossary-term coverage,
Bible canon order, quiz duplicate detection, resource group validity, roadmap
prerequisite cycles, and accessibility spot checks. It is offline and
deterministic.
npm run audit:links checks every outbound URL against the live web. It needs
network access, so it is not part of the test suite; run it when external
resources change.
Pushes and pull requests run npm test and the offline node audit.mjs through GitHub Actions
(.github/workflows/ci.yml, Node 22). If that check fails, fix the local test suite first and then push again.
- Skip link, landmark
<main id="top">, visible focus rings, andprefers-reduced-motionsupport on every page. - The topbar collapses into a Menu button on phones so the sticky header no longer covers half the screen.
- Light and dark themes follow
prefers-color-scheme; there is no manual toggle yet.
Placeholder: add screenshots of the home hub, reference browser, and roadmap (light and dark) here.
The roadmap page uses a browser import map that loads React and React Flow from esm.sh. The local
verification scripts confirm the HTML shell and script wiring, but the interactive flow itself still
depends on the browser resolving those remote modules.
Push to GitHub and enable GitHub Pages from the repository settings. The site is static and does not require a build step.
Part of Techmore.