From f06a64fea66270afabd9a91b21351851e64b3235 Mon Sep 17 00:00:00 2001 From: Craig Bradley Date: Sat, 14 Nov 2026 15:13:54 -0500 Subject: [PATCH 1/4] Open ecosystem pages, testimony river and the Paul's letters timeline - open-ecosystem.html: landing page for the "Let's build an open ecosystem" banner, linked from campaigns rather than the navbar. - open-ecosystem-flywheel.html: "Why Christians should support an open ecosystem", linked from the home page's flywheel section and the footer. - Home page: testimony river under the cause heading, with a "Your testimony here" card linking to the Support page's story section; "See how the flywheel works" link; the relay line becomes a draggable timeline of 42 milestones on desktop (static on touch screens and below 760px). - Footer: "Why an open ecosystem" in the AO Lab column. - Support wall: $5,217 received, $8,054 pledged (November 13, 2026); the "Testimony or note included" legend item shows only once a story exists. - Support page: links to #testimony and #give from other pages land on the section. - Cause heading keeps its word space on phones. - Live counts move to composables/useCounts.ts (snapshot 1,505 / 1,168). Co-Authored-By: Claude Opus 5.5 --- docs/.vuepress/client.ts | 4 + docs/.vuepress/components/FlywheelPage.vue | 648 ++++++++++++++ docs/.vuepress/components/HomePage.vue | 277 +++--- .../components/OpenEcosystemPage.vue | 679 +++++++++++++++ docs/.vuepress/components/RelayTimeline.vue | 297 +++++++ docs/.vuepress/components/SiteFooter.vue | 8 + docs/.vuepress/components/SupportPage.vue | 20 +- docs/.vuepress/components/SupportWall.vue | 4 +- docs/.vuepress/components/TestimonyRiver.vue | 389 +++++++++ docs/.vuepress/composables/useCounts.ts | 98 +++ docs/.vuepress/config.ts | 8 +- docs/.vuepress/labels.json | 159 +++- docs/.vuepress/layouts/FlywheelLayout.vue | 12 + .../.vuepress/layouts/OpenEcosystemLayout.vue | 12 + docs/.vuepress/public/people/ted-hallum.jpg | Bin 0 -> 9049 bytes docs/.vuepress/relayMilestones.ts | 814 ++++++++++++++++++ docs/.vuepress/testimonies.ts | 57 ++ docs/.vuepress/wallData.ts | 8 +- docs/open-ecosystem-flywheel.md | 18 + docs/open-ecosystem.md | 18 + 20 files changed, 3404 insertions(+), 126 deletions(-) create mode 100644 docs/.vuepress/components/FlywheelPage.vue create mode 100644 docs/.vuepress/components/OpenEcosystemPage.vue create mode 100644 docs/.vuepress/components/RelayTimeline.vue create mode 100644 docs/.vuepress/components/TestimonyRiver.vue create mode 100644 docs/.vuepress/composables/useCounts.ts create mode 100644 docs/.vuepress/layouts/FlywheelLayout.vue create mode 100644 docs/.vuepress/layouts/OpenEcosystemLayout.vue create mode 100644 docs/.vuepress/public/people/ted-hallum.jpg create mode 100644 docs/.vuepress/relayMilestones.ts create mode 100644 docs/.vuepress/testimonies.ts create mode 100644 docs/open-ecosystem-flywheel.md create mode 100644 docs/open-ecosystem.md diff --git a/docs/.vuepress/client.ts b/docs/.vuepress/client.ts index d7be2977..e14973af 100644 --- a/docs/.vuepress/client.ts +++ b/docs/.vuepress/client.ts @@ -6,9 +6,11 @@ import { } from 'vuepress/client'; import NewsletterDialog from './components/NewsletterDialog.vue'; import ScrollCue from './components/ScrollCue.vue'; +import FlywheelLayout from './layouts/FlywheelLayout.vue'; import FreeUseFundLayout from './layouts/FreeUseFundLayout.vue'; import HomeLayout from './layouts/HomeLayout.vue'; import NotFound from './layouts/NotFound.vue'; +import OpenEcosystemLayout from './layouts/OpenEcosystemLayout.vue'; import SupportLayout from './layouts/SupportLayout.vue'; // Let a page set its full through a `headTitle` frontmatter field, @@ -39,9 +41,11 @@ function textDirection(lang: string): 'ltr' | 'rtl' { export default defineClientConfig({ layouts: { + FlywheelLayout, FreeUseFundLayout, HomeLayout, NotFound, + OpenEcosystemLayout, SupportLayout, }, diff --git a/docs/.vuepress/components/FlywheelPage.vue b/docs/.vuepress/components/FlywheelPage.vue new file mode 100644 index 00000000..ae12223b --- /dev/null +++ b/docs/.vuepress/components/FlywheelPage.vue @@ -0,0 +1,648 @@ +<script setup lang="ts"> +import { computed } from 'vue'; +import { RouteLink } from 'vuepress/client'; +import SiteFooter from './SiteFooter.vue'; +import VerseQuote from './VerseQuote.vue'; +import { + useLabels, + useLocalePage, + useLocalePath, +} from '../composables/useLocale'; +import { useVerses } from '../composables/useVerses'; +import type { Labels } from '../labels'; + +// Why Christians should support an open ecosystem: the long form of the home +// page's flywheel section. The body of Christ, the flywheel drawn as a wheel, +// the restrictions that stop it, the licences that keep it turning, and what +// is left to build. + +const DISCORD_URL = 'https://discord.com/invite/NbEZMCJmqC'; +const GITHUB_URL = 'https://github.com/HelloAOLab/bible-api'; + +const labels = useLabels(); +const localePath = useLocalePath(); +const localePage = useLocalePage(); +const verses = useVerses(); +const f = computed(() => labels.value.flywheelPage); + +type P = Labels['flywheelPage']; + +// Around the wheel, clockwise from the top. +const STEPS: (keyof P['steps'])[] = ['start', 'build', 'release', 'next']; +const RESTRICTIONS: (keyof P['restrictions'])[] = [ + 'copying', + 'translating', + 'revising', + 'adapting', + 'distributing', +]; +const OPEN: (keyof P['open'])[] = ['content', 'software']; +const TODO: (keyof P['todo'])[] = [ + 'scripture', + 'data', + 'media', + 'teaching', + 'extensions', + 'tools', +]; + +const lines = (s: string) => s.split('\n'); +</script> + +<template> + <div class="fuba-page fuba-flywheel"> + <main> + <section class="section beat fg" id="body"> + <div class="shell"> + <h1 class="kicker">{{ f.kicker }}</h1> + <h2 class="fg-h"> + <template + v-for="(line, i) in lines(f.bodyTitle)" + :key="i" + >{{ i ? ' ' : '' }}<br v-if="i" class="lb" />{{ + line + }}</template + > + </h2> + <VerseQuote class="fg-verse" :verse="verses.wholeBody" /> + </div> + </section> + + <section class="section fx alt" id="flywheel"> + <div class="shell"> + <h2 class="fx-h">{{ f.flywheelTitle }}</h2> + <p class="fx-lead">{{ f.flywheelLead }}</p> + <div class="wheel" role="img" :aria-label="f.wheelLabel"> + <svg + class="wheel-ring" + viewBox="0 0 300 300" + aria-hidden="true" + > + <defs> + <marker + id="wh-arrow" + viewBox="0 0 10 10" + refX="7" + refY="5" + markerWidth="7" + markerHeight="7" + orient="auto-start-reverse" + > + <path + d="M1 1 L8 5 L1 9" + fill="none" + stroke="currentColor" + stroke-width="1.6" + stroke-linecap="round" + stroke-linejoin="round" + /> + </marker> + </defs> + <path + d="M166 18 A132 132 0 0 1 282 134" + marker-end="url(#wh-arrow)" + /> + <path + d="M282 166 A132 132 0 0 1 166 282" + marker-end="url(#wh-arrow)" + /> + <path + d="M134 282 A132 132 0 0 1 18 166" + marker-end="url(#wh-arrow)" + /> + <path + d="M18 134 A132 132 0 0 1 134 18" + marker-end="url(#wh-arrow)" + /> + <g class="wheel-spin"> + <circle cx="150" cy="18" r="5" /> + </g> + </svg> + <p class="wheel-core"> + <template + v-for="(line, i) in lines(f.wheelCore)" + :key="i" + ><br v-if="i" />{{ line }}</template + > + </p> + <ol class="wheel-steps"> + <li + v-for="(step, i) in STEPS" + :key="step" + :class="`ws${i + 1}`" + > + <i>{{ i + 1 }}</i + ><b>{{ f.steps[step].title }}</b + ><span>{{ f.steps[step].body }}</span> + </li> + </ol> + <p class="wheel-again"> + <i aria-hidden="true">↺</i>{{ f.again }} + </p> + </div> + </div> + </section> + + <section class="section fx invert" id="restrictions"> + <div class="shell"> + <h2 class="fx-h">{{ f.restrictTitle }}</h2> + <ul class="rows struck-rows"> + <li v-for="r in RESTRICTIONS" :key="r"> + <b>{{ f.restrictions[r].title }}</b> + <p>{{ f.restrictions[r].body }}</p> + <small>{{ f.restrictions[r].licence }}</small> + </li> + </ul> + <p class="fx-lead">{{ f.restrictLead }}</p> + <p class="tiny-link"> + <RouteLink :to="localePath('/') + '#freely'" + >{{ f.restrictLink }} + <span aria-hidden="true">→</span></RouteLink + > + </p> + </div> + </section> + + <section class="section fx" id="open"> + <div class="shell"> + <h2 class="fx-h">{{ f.openTitle }}</h2> + <ul class="rows"> + <li v-for="o in OPEN" :key="o"> + <b>{{ f.open[o].title }}</b> + <p>{{ f.open[o].body }}</p> + </li> + </ul> + </div> + </section> + + <section class="section fx alt" id="many"> + <div class="shell"> + <h2 class="fx-h">{{ f.manyTitle }}</h2> + <p class="fx-lead">{{ f.manyLead }}</p> + <div class="todo"> + <div v-for="c in TODO" :key="c" class="todo-cat"> + <h3>{{ f.todo[c].title }}</h3> + <ul> + <li + v-for="(item, i) in lines(f.todo[c].items)" + :key="i" + > + {{ item }} + </li> + </ul> + </div> + </div> + </div> + </section> + + <section class="section build"> + <div class="shell"> + <div class="build-card"> + <div class="build-main"> + <h3>{{ f.workTitle }}</h3> + <a + class="btn" + :href="DISCORD_URL" + target="_blank" + rel="noopener noreferrer" + >{{ f.workCta }} + <span aria-hidden="true">↗</span></a + > + </div> + <div class="build-opts"> + <RouteLink :to="localePage('/support.html')"> + <small>{{ f.fundAsk }}</small> + <strong + >{{ f.fundLink }} + <span aria-hidden="true" + >→</span + ></strong + > + <p>{{ f.fundBody }}</p> + </RouteLink> + <a + :href="GITHUB_URL" + target="_blank" + rel="noopener noreferrer" + > + <small>{{ f.codeAsk }}</small> + <strong + >{{ f.codeLink }} + <span aria-hidden="true" + >↗</span + ></strong + > + <p>{{ f.codeBody }}</p> + </a> + </div> + </div> + </div> + </section> + </main> + <SiteFooter /> + </div> +</template> + +<style lang="scss"> +// The shared pieces (tokens, buttons, verses, the build card) are in +// styles/pages.scss. +.fuba-page.fuba-flywheel { + p { + margin: 0; + } + + /* ---------- one claim per screen, centred, as on the home page ---------- */ + .beat { + min-height: 86svh; + display: flex; + flex-direction: column; + justify-content: center; + } + .beat > .shell { + width: 100%; + } + .fg .shell, + .fx .shell { + text-align: center; + } + // the page title, set small above the first claim + .kicker { + margin: 0 auto clamp(22px, 3vh, 32px); + font-size: 13px; + font-weight: 700; + letter-spacing: 0.16em; + text-transform: uppercase; + color: var(--muted); + line-height: 1.5; + } + #body { + padding-top: clamp(64px, 8vw, 96px); + } + .fg-h { + margin: 0; + font-size: clamp(32px, 4.4vw, 60px); + font-weight: 800; + letter-spacing: -0.04em; + line-height: 1.06; + text-wrap: pretty; + } + .verse.fg-verse { + margin: clamp(34px, 5vh, 60px) auto 0; + padding: 0; + border-left: 0; + } + .verse.fg-verse blockquote { + max-width: 34ch; + margin: 0 auto; + font-size: clamp(21px, 2.3vw, 29px); + font-weight: 400; + line-height: 1.36; + letter-spacing: -0.02em; + } + .verse.fg-verse .ref { + flex-wrap: wrap; + justify-content: center; + gap: 8px; + row-gap: 6px; + margin-top: clamp(16px, 2.2vh, 22px); + font-size: 12px; + font-weight: 700; + letter-spacing: 0.16em; + text-transform: uppercase; + } + + /* ---------- one idea per section ---------- */ + .section.alt { + border-top: 0; + border-bottom: 0; + } + .fx { + padding: clamp(80px, 10vw, 128px) 0; + } + .invert { + background: var(--btn-bg); + color: var(--btn-fg); + } + .fx-h { + margin: 0; + font-size: clamp(30px, 4vw, 48px); + font-weight: 800; + letter-spacing: -0.04em; + line-height: 1.08; + text-wrap: pretty; + } + .fx-lead { + margin: 18px auto 0; + max-width: 60ch; + font-size: clamp(17px, 1.6vw, 20px); + line-height: 1.5; + color: var(--text-2); + } + .invert .fx-lead { + color: var(--btn-fg); + opacity: 0.8; + } + + /* label-and-line rows: the restrictions and the licences */ + .rows { + list-style: none; + max-width: 860px; + margin: clamp(32px, 4vw, 48px) auto 0; + padding: 0; + text-align: left; + border-top: 1px solid var(--line); + } + .rows li { + display: grid; + grid-template-columns: 220px 1fr; + gap: 6px 28px; + align-items: baseline; + padding: 20px 0; + border-bottom: 1px solid var(--line); + } + .rows b { + font-size: 20px; + letter-spacing: -0.02em; + } + .rows p { + color: var(--text-2); + font-size: 17px; + line-height: 1.6; + } + .rows + .fx-lead { + margin-top: clamp(28px, 3.4vw, 40px); + } + .struck-rows b { + text-decoration: line-through; + text-decoration-thickness: 0.09em; + } + .struck-rows li { + grid-template-columns: 200px 1fr auto; + } + .struck-rows small { + font-size: 12px; + font-weight: 700; + letter-spacing: 0.14em; + text-transform: uppercase; + color: var(--muted); + white-space: nowrap; + text-align: right; + } + // the dark screen + .invert .rows { + border-top-color: color-mix(in srgb, var(--btn-fg) 24%, transparent); + } + .invert .rows li { + border-bottom-color: color-mix( + in srgb, + var(--btn-fg) 24%, + transparent + ); + } + .invert .rows p { + color: var(--btn-fg); + opacity: 0.8; + } + .invert .struck-rows small { + color: var(--btn-fg); + opacity: 0.6; + } + .invert .tiny-link a { + color: var(--btn-fg); + } + + /* ---------- the flywheel, drawn: four steps around a ring ---------- */ + .wheel { + position: relative; + display: grid; + grid-template-columns: 1fr 300px 1fr; + grid-template-rows: auto 300px auto; + gap: 18px 28px; + max-width: 860px; + margin: clamp(28px, 4vw, 44px) auto 0; + align-items: center; + } + .wheel-ring { + grid-column: 2; + grid-row: 2; + width: 300px; + height: 300px; + overflow: visible; + color: var(--text); + } + .wheel-ring path { + fill: none; + stroke: currentColor; + stroke-width: 1.6; + } + .wheel-ring circle { + fill: currentColor; + } + .wheel-spin { + transform-origin: 150px 150px; + animation: fuba-wheel-spin 12s linear infinite; + } + .wheel-core { + grid-column: 2; + grid-row: 2; + text-align: center; + font-size: 17px; + font-weight: 700; + letter-spacing: -0.02em; + line-height: 1.35; + color: var(--text); + } + .wheel-steps { + display: contents; + list-style: none; + margin: 0; + padding: 0; + } + .wheel-steps li { + max-width: 260px; + } + .wheel-again { + display: none; + } + .wheel-steps i { + display: inline-grid; + place-items: center; + width: 26px; + height: 26px; + margin: 0 0 8px; + border-radius: 999px; + background: var(--text); + color: var(--bg); + font-style: normal; + font-size: 13px; + font-weight: 700; + } + .wheel-steps b { + display: block; + font-size: 18px; + letter-spacing: -0.02em; + line-height: 1.3; + } + .wheel-steps span { + display: block; + margin-top: 4px; + font-size: 15px; + line-height: 1.5; + color: var(--muted); + } + .ws1 { + grid-column: 2; + grid-row: 1; + justify-self: center; + text-align: center; + } + .ws2 { + grid-column: 3; + grid-row: 2; + justify-self: start; + text-align: left; + } + .ws3 { + grid-column: 2; + grid-row: 3; + justify-self: center; + text-align: center; + } + .ws4 { + grid-column: 1; + grid-row: 2; + justify-self: end; + text-align: right; + } + .wheel-steps .ws1, + .wheel-steps .ws3 { + max-width: 300px; + } + + .build-card { + margin-top: clamp(30px, 4vw, 48px); + } + + /* ---------- what is left to build: a directory of categories ---------- */ + .todo { + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: clamp(28px, 3vw, 40px) 28px; + max-width: var(--max); + margin: clamp(36px, 4.4vw, 56px) auto 0; + text-align: left; + } + .todo-cat h3 { + margin: 0 0 10px; + padding-bottom: 10px; + border-bottom: 1px solid var(--line-strong); + font-size: 17px; + letter-spacing: -0.02em; + } + .todo-cat ul { + list-style: none; + margin: 0; + padding: 0; + } + .todo-cat li { + margin: 0; + padding: 5px 0; + font-size: 15px; + line-height: 1.4; + color: var(--text-2); + } + + @media (max-width: 1000px) { + .todo { + grid-template-columns: repeat(2, 1fr); + } + } + // narrow screens: the steps stack, and a return line closes the loop + @media (max-width: 760px) { + .wheel { + grid-template-columns: 1fr; + grid-template-rows: none; + gap: 0; + max-width: none; + padding-left: 34px; + border-left: 2px solid var(--line-strong); + margin-left: 13px; + } + .wheel-ring, + .wheel-core { + display: none; + } + .wheel-steps li { + grid-column: 1 !important; + grid-row: auto !important; + justify-self: stretch !important; + text-align: left !important; + max-width: none !important; + position: relative; + padding: 0 0 26px; + } + .wheel-steps i { + position: absolute; + left: -48px; + top: 0; + margin: 0; + } + .wheel-again { + display: block; + position: relative; + padding: 3px 0 0; + text-align: left; + font-size: 15px; + font-weight: 600; + color: var(--muted); + } + .wheel-again i { + position: absolute; + left: -48px; + top: 0; + display: grid; + place-items: center; + width: 26px; + height: 26px; + border-radius: 999px; + border: 1.5px solid var(--text); + background: var(--surface); + color: var(--text); + font-style: normal; + font-size: 14px; + } + } + @media (max-width: 720px) { + .beat { + min-height: auto; + padding: clamp(88px, 22vw, 120px) 0; + } + br.lb { + display: none; + } + .rows li, + .struck-rows li { + grid-template-columns: 1fr; + } + .struck-rows small { + text-align: left; + } + } + @media (max-width: 520px) { + .todo { + grid-template-columns: 1fr; + } + } + @media (prefers-reduced-motion: reduce) { + .wheel-spin { + animation: none; + } + } +} + +@keyframes fuba-wheel-spin { + to { + transform: rotate(360deg); + } +} +</style> diff --git a/docs/.vuepress/components/HomePage.vue b/docs/.vuepress/components/HomePage.vue index 05ff3e20..504bacbd 100644 --- a/docs/.vuepress/components/HomePage.vue +++ b/docs/.vuepress/components/HomePage.vue @@ -3,6 +3,8 @@ import { computed, onBeforeUnmount, onMounted, ref } from 'vue'; import { RouteLink, usePageFrontmatter, usePageLang } from 'vuepress/client'; import SiteFooter from './SiteFooter.vue'; import SupportWall from './SupportWall.vue'; +import TestimonyRiver from './TestimonyRiver.vue'; +import RelayTimeline from './RelayTimeline.vue'; import VerseQuote from './VerseQuote.vue'; import { useLabels, @@ -11,11 +13,8 @@ import { } from '../composables/useLocale'; import { fillLabel, labelHtml } from '../composables/formatLabel'; import { useVerses } from '../composables/useVerses'; -import { - countLicenceRows, - LICENCE_ROWS, - type LicenceRow, -} from '../licenceRows'; +import { LICENCE_ROWS } from '../licenceRows'; +import { useCounts } from '../composables/useCounts'; import type { Labels } from '../labels'; const DISCORD_URL = 'https://discord.com/invite/NbEZMCJmqC'; @@ -37,85 +36,12 @@ const formatCount = (n: number) => { /* ---------- live translation counts ---------- */ -// The catalog grows. Fill the printed numbers from the live endpoint rather -// than letting them rot, but only once a session: the file is large. -const translationCount = ref(1256); -const languageCount = ref(1004); - -// The licence breakdown, by row. These are the counts as of November 2026, -// shown until the live ones arrive. See licenceRows.ts. -const licenceCounts = ref<Record<LicenceRow, number>>({ - publicDomain: 102, - attribution: 36, - shareAlike: 283, - noDerivatives: 92, - nonCommercialNoDerivatives: 728, - other: 15, -}); - -function paintCounts( - t: number, - l: number, - lic?: Partial<Record<LicenceRow, number>> -) { - if (t) translationCount.value = t; - if (l) languageCount.value = l; - // Only a complete set of counts replaces the snapshot. - if (lic && LICENCE_ROWS.every((row) => typeof lic[row] === 'number')) { - licenceCounts.value = lic as Record<LicenceRow, number>; - } -} +// Filled from the live catalog once mounted. See composables/useCounts.ts. +const { translationCount, languageCount, licenceCounts } = useCounts(); const translations = computed(() => formatCount(translationCount.value)); const languages = computed(() => formatCount(languageCount.value)); -function fetchCounts() { - let hit: string | null = null; - try { - hit = sessionStorage.getItem('fuba-counts'); - } catch (e) {} - if (hit) { - try { - const c = JSON.parse(hit); - // A count cached before the licence breakdown was added has no - // `lic`, so fetch again rather than show the snapshot. - if (c.lic) { - paintCounts(c.t, c.l, c.lic); - return; - } - } catch (e) {} - } - - const go = () => { - fetch('https://bible.helloao.org/api/available_translations.json') - .then((r) => (r.ok ? r.json() : null)) - .then((j) => { - if (!j || !j.translations || !j.translations.length) return; - const t = j.translations.length; - const l = new Set( - j.translations - .map((x: any) => x.language) - .filter((x: any) => !!x) - ).size; - const lic = countLicenceRows(j.translations); - paintCounts(t, l, lic); - try { - sessionStorage.setItem( - 'fuba-counts', - JSON.stringify({ t, l, lic }) - ); - } catch (e) {} - }) - .catch(() => {}); - }; - - if ('requestIdleCallback' in window) { - (window as any).requestIdleCallback(go, { timeout: 4000 }); - } else { - setTimeout(go, 1200); - } -} - /* ---------- the comparison table ---------- */ type Mark = 'y' | 'p' | 'n'; @@ -282,18 +208,15 @@ const FAQ_ANSWERS: Record<FaqId, true> = { nonCommercial: true, }; -/* ---------- motion: confetti, the relay, the struck words ---------- */ +/* ---------- motion: confetti and the struck words (the relay is RelayTimeline.vue) ---------- */ const reducedMotion = () => window.matchMedia?.('(prefers-reduced-motion: reduce)').matches; const milestone = ref<'party' | 'settle' | ''>(''); -const relay = ref<HTMLElement>(); const struck = ref<HTMLElement>(); -const relayOn = ref(false); const struckArmed = ref(false); const struckOn = ref(false); -const RELAY_DOTS = 66; const cleanups: (() => void)[] = []; @@ -429,11 +352,7 @@ function whenVisible( const causeLines = computed(() => labels.value.home.causeTitle.split('\n')); onMounted(() => { - fetchCounts(); confetti(); - whenVisible(relay.value, 0.6, () => { - relayOn.value = true; - }); if ('IntersectionObserver' in window) { struckArmed.value = true; whenVisible(struck.value, 0.25, () => { @@ -510,10 +429,10 @@ onBeforeUnmount(() => { class="cause-h" :class="{ 'has-break': causeLines.length > 1 }" > - <template - v-for="(line, i) in causeLines" - :key="i" - ><br v-if="i" class="lb" />{{ line }}</template + <template v-for="(line, i) in causeLines" :key="i" + ><br v-if="i" class="lb" />{{ + i ? ' ' + line : line + }}</template > </h2> <RouteLink @@ -524,6 +443,7 @@ onBeforeUnmount(() => { <span aria-hidden="true">→</span> </RouteLink> </div> + <TestimonyRiver /> <SupportWall :fund-link="localePage('/free-use-fund.html')" show-note @@ -692,28 +612,7 @@ onBeforeUnmount(() => { class="fg-p" v-html="labelHtml(labels.home.sinceBody)" ></p> - <figure - ref="relay" - class="relay" - :class="{ go: relayOn }" - role="img" - :aria-label="labels.home.relayLabel" - > - <div class="relay-line"> - <i - v-for="n in RELAY_DOTS" - :key="n" - :class="{ - you: n === 1 || n === RELAY_DOTS, - }" - :style="{ '--n': n - 1 }" - ></i> - </div> - <figcaption> - <span>{{ labels.home.relayStart }}</span> - <span>{{ labels.home.relayEnd }}</span> - </figcaption> - </figure> + <RelayTimeline /> </div> </section> @@ -839,6 +738,13 @@ onBeforeUnmount(() => { {{ labels.home.flywheel[step] }} </li> </ol> + <p class="fw-more"> + <RouteLink + :to="localePage('/open-ecosystem-flywheel.html')" + >{{ labels.home.flywheelLink }} + <span aria-hidden="true">→</span></RouteLink + > + </p> </div> </section> @@ -1437,6 +1343,131 @@ onBeforeUnmount(() => { animation-delay: calc(var(--n) * 28ms); } + /* the relay as a hidden timeline (RelayTimeline.vue): the reader's dot + can be dragged from Paul's letters toward "You". Nothing changes until + someone drags it (or arrows to it); then the stops, the five activity + words above, and a short panel come alive. */ + .relay.can-drag .relay-line i.you:first-child { + cursor: grab; + touch-action: none; + outline: none; + z-index: 2; + } + .relay.can-drag .relay-line i.you:first-child::before { + content: ''; + position: absolute; + inset: -16px; + } + .relay-line i.you:focus-visible { + box-shadow: + 0 0 0 3px var(--bg), + 0 0 0 5px var(--text); + } + .relay.dragging .relay-line i.you:first-child { + cursor: grabbing; + } + .relay.live .relay-line i:not(.you) { + opacity: 0.28 !important; + transition: opacity 0.15s ease; + } + .relay.live .relay-line i.past { + opacity: 0.9 !important; + } + /* the starting point stays marked once the dot leaves it */ + .relay.live .relay-line::after { + content: ''; + position: absolute; + left: 0; + top: 50%; + width: 13px; + height: 13px; + margin-top: -6.5px; + box-sizing: border-box; + border: 1.5px solid var(--text); + border-radius: 50%; + background: var(--bg); + } + #since .fg-p strong { + transition: opacity 0.2s ease; + } + #since.live .fg-p strong { + opacity: 0.35; + } + #since.live .fg-p strong.on { + opacity: 1; + text-decoration: underline; + text-decoration-thickness: 2px; + text-underline-offset: 4px; + } + /* the panel grows open from nothing (animated in the script), so + nothing pops */ + .relay-panel { + max-width: 640px; + margin: clamp(26px, 3.6vh, 40px) auto 0; + } + .rp-when { + margin: 0; + font-size: 12px; + font-weight: 700; + letter-spacing: 0.14em; + text-transform: uppercase; + color: var(--muted); + } + .rp-title { + margin: 10px 0 0; + padding: 0; + border: 0; + font-size: clamp(21px, 2.2vw, 26px); + letter-spacing: -0.025em; + line-height: 1.2; + } + .rp-body { + margin: 10px 0 0; + font-size: 16.5px; + line-height: 1.55; + color: var(--text-2); + } + .rp-src { + margin: 12px 0 0; + font-size: 14px; + color: var(--muted); + } + .rp-src a { + display: inline-block; + margin: 0 8px; + color: var(--text); + font-weight: 600; + text-decoration: underline; + text-decoration-color: var(--line); + text-underline-offset: 3px; + } + .rp-note { + margin: 10px auto 0; + font-size: 13.5px; + color: var(--muted); + } + .rp-note summary { + cursor: pointer; + display: inline-block; + list-style: none; + text-decoration: underline; + text-decoration-color: var(--line); + text-underline-offset: 3px; + } + .rp-note summary::-webkit-details-marker { + display: none; + } + .rp-note p { + margin: 8px auto 0; + max-width: 560px; + line-height: 1.55; + } + .rp-hint { + margin: 14px 0 0; + font-size: 12.5px; + color: var(--muted); + } + /* the five words return, struck through, each with what is forbidden and the licence term that forbids it */ .struck { @@ -1661,6 +1692,15 @@ onBeforeUnmount(() => { font-weight: 700; letter-spacing: -0.015em; } + .fw-more { + margin: clamp(30px, 4.4vh, 44px) 0 0; + font-size: 15px; + font-weight: 600; + } + .fw-more a { + text-decoration: underline; + text-underline-offset: 4px; + } .fw-flow li + li::before { content: '\2193'; display: block; @@ -1800,6 +1840,15 @@ onBeforeUnmount(() => { width: 11px; height: 11px; } + .relay.live .relay-line::after { + width: 11px; + height: 11px; + margin-top: -5.5px; + } + .rp-src a { + display: block; + margin: 6px 0 0; + } .lr-name { font-size: 16px; } diff --git a/docs/.vuepress/components/OpenEcosystemPage.vue b/docs/.vuepress/components/OpenEcosystemPage.vue new file mode 100644 index 00000000..72b80101 --- /dev/null +++ b/docs/.vuepress/components/OpenEcosystemPage.vue @@ -0,0 +1,679 @@ +<script setup lang="ts"> +import { computed, onBeforeUnmount, onMounted, ref } from 'vue'; +import { RouteLink, usePageLang } from 'vuepress/client'; +import SiteFooter from './SiteFooter.vue'; +import VerseQuote from './VerseQuote.vue'; +import { fillLabel, labelHtml } from '../composables/formatLabel'; +import { useCounts } from '../composables/useCounts'; +import { + useLabels, + useLocalePage, + useLocalePath, +} from '../composables/useLocale'; +import { useVerses } from '../composables/useVerses'; +import type { Labels } from '../labels'; + +// The open ecosystem page: where the "Let's build an open ecosystem" banner +// lands. It is linked from campaigns, not the navbar. It borrows the home +// page's sections in the order a newcomer needs them: the problem, the +// answer, what is in the API, then the Free Use Fund and the ways to start +// building at the end, so nothing sends a visitor away mid-page. + +const DISCORD_URL = 'https://discord.com/invite/NbEZMCJmqC'; + +const labels = useLabels(); +const localePath = useLocalePath(); +const localePage = useLocalePage(); +const lang = usePageLang(); +const verses = useVerses(); +const o = computed(() => labels.value.openEcosystem); +const { translationCount, languageCount } = useCounts(); + +const fmt = (n: number) => { + try { + return new Intl.NumberFormat(lang.value).format(n); + } catch { + return n.toLocaleString('en-US'); + } +}; + +// The titles carry a "\n" where they break on wide screens. Below 720px the +// break is hidden and the title wraps freely. +const lines = (label: string, html: Record<string, string> = {}) => + label + .split('\n') + .map((line) => labelHtml(line, html)) + // the space keeps the words apart where the break is hidden + .join('<br class="lb" /> '); + +const titleLines = computed(() => o.value.title.split('\n')); +const forbidTitle = computed(() => + lines(o.value.forbidTitle, { + used: `<em>${labelHtml(o.value.forbidUsed)}</em>`, + }) +); +const flywheelTitle = computed(() => lines(o.value.flywheelTitle)); +const apiSub = computed(() => labelHtml(o.value.apiSub)); + +/* ---------- the forbidden ways, and the flywheel ---------- */ + +const FORBIDDEN: (keyof Labels['home']['forbidden'])[] = [ + 'copying', + 'translating', + 'revising', + 'adapting', + 'distributing', +]; +const FLYWHEEL: (keyof Labels['home']['flywheel'])[] = [ + 'start', + 'build', + 'release', + 'next', +]; +const CARDS: (keyof Labels['openEcosystem']['cards'])[] = [ + 'translations', + 'audio', + 'datasets', + 'seedBible', +]; + +/* ---------- the struck words: struck through once they scroll in ---------- */ + +const struck = ref<HTMLElement>(); +const struckArmed = ref(false); +const struckOn = ref(false); +let io: IntersectionObserver | undefined; + +onMounted(() => { + if (!struck.value || !('IntersectionObserver' in window)) return; + struckArmed.value = true; + io = new IntersectionObserver( + (entries) => { + if (entries[0]?.isIntersecting) { + struckOn.value = true; + io?.disconnect(); + } + }, + { threshold: 0.25 } + ); + io.observe(struck.value); +}); +onBeforeUnmount(() => io?.disconnect()); +</script> + +<template> + <div class="fuba-page fuba-open"> + <main> + <section class="hero"> + <div class="shell"> + <h1> + <span v-for="(line, i) in titleLines" :key="i">{{ + line + }}</span> + </h1> + <p class="sub">{{ o.sub }}</p> + <div class="cta"> + <a class="btn primary" href="#join" + >{{ o.join }} + <span aria-hidden="true">↓</span></a + > + </div> + </div> + </section> + + <section class="section fg alt" id="forbid"> + <div class="shell"> + <h2 class="meant-h" v-html="forbidTitle"></h2> + <p class="fg-p">{{ o.forbidLead }}</p> + <ul + ref="struck" + class="struck" + :class="{ armed: struckArmed, go: struckOn }" + > + <li v-for="(id, i) in FORBIDDEN" :key="id"> + <strong :style="{ '--n': i }">{{ + labels.home.forbidden[id].name + }}</strong> + <p class="ex"> + {{ labels.home.forbidden[id].example }} + </p> + <p class="lic"> + {{ labels.home.forbidden[id].licence }} + </p> + </li> + </ul> + <p class="fg-p forbid-end">{{ o.forbidEnd }}</p> + </div> + </section> + + <section class="section beat fg invert" id="flywheel"> + <div class="shell"> + <h2 class="fg-h" v-html="flywheelTitle"></h2> + <ol class="fw-flow" :aria-label="labels.home.flywheelLabel"> + <li v-for="step in FLYWHEEL" :key="step"> + {{ labels.home.flywheel[step] }} + </li> + </ol> + </div> + </section> + + <section class="api-start" id="api" aria-labelledby="api-title"> + <div class="shell"> + <h2 id="api-title">{{ o.apiTitle }}</h2> + <p class="api-sub" v-html="apiSub"></p> + </div> + </section> + <section class="proof"> + <div class="shell proof-grid"> + <div> + <strong>{{ + fillLabel(labels.home.translationCount, { + count: fmt(translationCount), + }) + }}</strong> + <span>{{ + fillLabel(labels.home.languageCount, { + count: fmt(languageCount), + }) + }}</span> + </div> + <div> + <strong>{{ labels.home.noApiKey }}</strong> + <span>{{ labels.home.noApiKeyDetail }}</span> + </div> + <div> + <strong>{{ labels.home.noUsageLimits }}</strong> + <span>{{ labels.home.noUsageLimitsDetail }}</span> + </div> + </div> + </section> + + <section class="api-cards" :aria-label="o.cardsLabel"> + <div class="shell"> + <div class="cards"> + <div v-for="card in CARDS" :key="card" class="card"> + <h3>{{ o.cards[card].title }}</h3> + <p>{{ o.cards[card].body }}</p> + <span + v-if="card === 'seedBible'" + class="go pending" + >{{ o.seedBibleComing }}</span + > + </div> + </div> + </div> + </section> + + <section class="fund-intro" id="fund" aria-labelledby="fund-title"> + <div class="shell"> + <div class="narrow"> + <h2 id="fund-title">{{ o.fundTitle }}</h2> + <p>{{ o.fundBody1 }}</p> + <p>{{ o.fundBody2 }}</p> + <p>{{ o.fundBody3 }}</p> + <div class="cta"> + <RouteLink + class="btn primary" + :to="localePage('/free-use-fund.html')" + >{{ o.fundLink }} + <span aria-hidden="true">→</span></RouteLink + > + </div> + <VerseQuote :verse="verses.wholeBody" /> + </div> + </div> + </section> + + <section class="section build" id="join" :aria-label="o.buildLabel"> + <div class="shell"> + <div class="build-card"> + <div class="build-main"> + <h3>{{ labels.home.buildTitle }}</h3> + <RouteLink + class="btn" + :to="localePath('/guide/getting-started.html')" + > + {{ labels.home.quickStart }} + <span aria-hidden="true">→</span> + </RouteLink> + </div> + <div class="build-opts"> + <a href="#newsletter" class="js-newsletter-trigger"> + <small>{{ + labels.home.newsletterPrompt + }}</small> + <strong + >{{ labels.home.newsletterLink }} + →</strong + > + <p>{{ labels.home.newsletterBody }}</p> + </a> + <a + :href="DISCORD_URL" + target="_blank" + rel="noopener noreferrer" + > + <small>{{ labels.home.discordPrompt }}</small> + <strong + >{{ labels.home.contributeDiscord }} + ↗</strong + > + <p>{{ labels.home.discordBody }}</p> + </a> + </div> + </div> + </div> + </section> + </main> + + <SiteFooter /> + </div> +</template> + +<style lang="scss"> +// The shared pieces (tokens, buttons, verses, the build card) are in +// styles/pages.scss. The sections borrowed from the home page (the struck +// words, the flywheel, the proof row, the cards) are copied from +// HomePage.vue, whose styles are scoped to .fuba-home. +.fuba-page.fuba-open { + p { + margin: 0; + } + + /* ---------- hero ---------- */ + .hero { + padding-bottom: clamp(72px, 11vw, 160px); + } + .hero .sub { + max-width: 640px; + } + // one line per span on wide screens; on narrow ones the title wraps + // freely + .hero h1 span + span::before { + content: ' '; + } + @media (min-width: 721px) { + .hero { + min-height: calc( + 100svh - var(--navbar-height) - 33px - 105px - 15svh + ); + display: flex; + flex-direction: column; + justify-content: center; + padding: clamp(40px, 5vw, 64px) 0; + } + .hero .sub { + margin-top: 22px; + } + .hero .cta { + margin-top: 38px; + } + } + @media (min-width: 760px) { + .hero h1 span { + display: block; + } + .hero h1 span + span::before { + content: none; + } + } + @media (max-width: 720px) { + br.lb { + display: none; + } + } + + /* ---------- the story sections, as on the home page ---------- */ + .beat { + min-height: 86svh; + display: flex; + flex-direction: column; + justify-content: center; + } + .beat > .shell { + width: 100%; + } + .invert { + background: var(--btn-bg); + color: var(--btn-fg); + } + .fg .shell { + text-align: center; + } + .fg-h { + max-width: 24ch; + margin: 0 auto; + font-size: clamp(32px, 4.4vw, 60px); + font-weight: 800; + letter-spacing: -0.04em; + line-height: 1.06; + text-wrap: balance; + } + .meant-h { + margin: 0 auto; + text-align: center; + font-size: clamp(40px, 6.2vw, 88px); + font-weight: 800; + letter-spacing: -0.045em; + line-height: 1.04; + text-wrap: balance; + } + .meant-h em { + font-style: italic; + } + .fg-p { + margin: clamp(20px, 2.6vh, 30px) auto 0; + max-width: 44ch; + color: var(--text-2); + font-size: clamp(18px, 1.7vw, 21px); + line-height: 1.5; + letter-spacing: -0.012em; + text-wrap: balance; + } + .forbid-end { + margin-top: clamp(28px, 3.4vw, 40px); + font-weight: 700; + } + + /* ---------- the problem, as compact rows: what is forbidden, what that + stops, and the licence ---------- */ + #forbid { + padding: clamp(72px, 9vw, 112px) 0; + } + .struck { + list-style: none; + max-width: 820px; + margin: clamp(32px, 4vw, 44px) auto 0; + padding: 0; + border-top: 1px solid var(--line); + text-align: left; + } + .struck li { + display: grid; + grid-template-columns: 200px 1fr auto; + align-items: baseline; + gap: 8px 24px; + padding: 18px 0; + border-bottom: 1px solid var(--line); + } + .struck strong { + position: relative; + display: inline-block; + justify-self: start; + font-size: clamp(22px, 2.2vw, 28px); + font-weight: 800; + letter-spacing: -0.045em; + line-height: 1.1; + } + .struck strong::after { + content: ''; + position: absolute; + left: -4%; + right: -4%; + top: 55%; + height: 0.075em; + background: currentColor; + transform-origin: left center; + } + .struck.armed strong::after { + transform: scaleX(0); + transition: transform 0.45s cubic-bezier(0.6, 0, 0.25, 1); + transition-delay: calc(var(--n) * 160ms + 120ms); + } + .struck.armed.go strong::after { + transform: scaleX(1); + } + .struck .ex { + margin: 0; + font-size: 17px; + line-height: 1.45; + opacity: 0.86; + } + .struck .lic { + margin: 0; + white-space: nowrap; + text-align: right; + font-size: 12px; + font-weight: 700; + letter-spacing: 0.16em; + text-transform: uppercase; + opacity: 0.62; + } + @media (max-width: 720px) { + .struck li { + grid-template-columns: 1fr; + gap: 4px; + } + .struck .lic { + text-align: left; + } + } + + /* ---------- the flywheel ---------- */ + .fw-flow { + list-style: none; + display: flex; + flex-direction: column; + align-items: center; + gap: 8px; + margin: clamp(30px, 4.4vh, 48px) 0 0; + padding: 0; + } + .fw-flow li { + font-size: clamp(18px, 1.8vw, 22px); + font-weight: 700; + letter-spacing: -0.015em; + } + .fw-flow li + li::before { + content: '\2193'; + display: block; + margin: 0 0 8px; + font-weight: 400; + opacity: 0.55; + } + + /* ---------- the API: heading, proof row, cards ---------- */ + .api-start { + padding: clamp(64px, 8vw, 96px) 0 0; + text-align: center; + } + .api-start h2 { + font-size: clamp(30px, 4vw, 44px); + letter-spacing: -0.04em; + } + .api-sub { + margin: 12px 0 0; + color: var(--muted); + font-size: 18px; + } + .api-sub strong { + color: var(--text); + } + .proof { + margin-top: clamp(28px, 3.5vw, 40px); + border-top: 1px solid var(--line); + border-bottom: 1px solid var(--line); + background: var(--surface); + } + .proof-grid { + display: grid; + grid-template-columns: repeat(3, 1fr); + } + .proof-grid div { + padding: 22px 24px; + text-align: center; + } + .proof-grid div + div { + border-left: 1px solid var(--line); + } + .proof-grid strong { + display: block; + font-size: 22px; + letter-spacing: -0.03em; + } + .proof-grid div > span { + color: var(--muted); + font-size: 13.5px; + } + .api-cards { + padding: clamp(32px, 4vw, 48px) 0 0; + } + .cards { + display: grid; + grid-template-columns: repeat(2, 1fr); + gap: 16px; + } + .card { + display: flex; + flex-direction: column; + justify-content: center; + padding: 30px 28px; + border: 1px solid var(--line); + border-radius: 12px; + background: var(--bg); + min-height: 190px; + } + .card h3 { + margin: 0 0 8px; + font-size: 24px; + } + .card p { + margin: 0; + color: var(--muted); + font-size: 15.5px; + max-width: 46ch; + } + .card .go { + padding-top: 18px; + font-weight: 600; + font-size: 15px; + } + .card .go.pending { + color: var(--muted); + } + // the cards sit under a centred heading and proof row, and carry no + // links here, so centre their text and let them hug it + @media (min-width: 621px) { + .card { + min-height: 0; + text-align: center; + align-items: center; + padding: 32px 28px; + } + .card p { + margin: 0 auto; + } + } + + /* ---------- the Free Use Fund ---------- */ + .fund-intro { + margin-top: clamp(64px, 8vw, 96px); + padding: clamp(64px, 8vw, 96px) 0; + background: var(--surface); + border-top: 1px solid var(--line); + border-bottom: 1px solid var(--line); + text-align: center; + } + #fund { + padding-bottom: clamp(24px, 3vw, 40px); + } + .build-card { + margin-top: clamp(30px, 4vw, 48px); + } + .fund-intro .narrow { + max-width: 760px; + margin: 0 auto; + } + .fund-intro h2 { + font-size: clamp(30px, 4vw, 44px); + letter-spacing: -0.04em; + } + .fund-intro p { + margin: 16px 0 0; + font-size: 18px; + line-height: 1.65; + color: var(--text-2); + } + .fund-intro .cta { + justify-content: center; + margin-top: 28px; + } + .fund-intro .verse { + margin: 40px 0 0; + padding: 30px 0 0; + border-left: 0; + border-top: 1px solid var(--line); + } + .fund-intro .verse blockquote { + max-width: none; + margin: 0 auto; + } + .fund-intro .verse .ref { + justify-content: center; + } + + @media (max-width: 900px) { + .cards { + gap: 12px; + } + .card { + padding: 24px 22px; + } + .card h3 { + margin: 0 0 6px; + font-size: 21px; + } + .proof-grid { + grid-template-columns: 1fr; + } + .proof-grid div + div { + border-left: 0; + border-top: 1px solid var(--line); + } + } + @media (max-width: 720px) { + .beat { + min-height: auto; + padding: clamp(88px, 22vw, 120px) 0; + } + } + @media (max-width: 620px) { + .cards { + grid-template-columns: 1fr; + gap: 0; + border-top: 1px solid var(--line); + } + .card { + min-height: 0; + padding: 20px 0; + border: 0; + border-bottom: 1px solid var(--line); + border-radius: 0; + background: transparent; + } + .card h3 { + margin: 0 0 5px; + font-size: 18px; + letter-spacing: -0.025em; + } + .card p { + font-size: 14px; + line-height: 1.45; + max-width: none; + } + .card .go { + padding-top: 11px; + font-size: 13.5px; + } + .fund-intro p { + font-size: 16.5px; + } + } + @media (prefers-reduced-motion: reduce) { + .struck.armed strong::after { + transform: none; + transition: none; + } + } +} +</style> diff --git a/docs/.vuepress/components/RelayTimeline.vue b/docs/.vuepress/components/RelayTimeline.vue new file mode 100644 index 00000000..d6242c32 --- /dev/null +++ b/docs/.vuepress/components/RelayTimeline.vue @@ -0,0 +1,297 @@ +<script setup lang="ts"> +/** + * The relay on the home page's #since section: one mark per generation from + * Paul's letters to the reader, filled in order when it scrolls into view. + * + * It is also a hidden timeline. On desktop the reader's dot can be dragged + * (or moved with the arrow keys) from Paul's letters toward "You". Nothing + * changes until someone does; then the stops, the five activity words in the + * section's paragraph, and a short panel come alive. On touch screens and + * narrow windows the line stays a static picture. + * + * Styles are in HomePage.vue (.relay, .relay-panel). Milestones are in + * ../relayMilestones.ts. + */ +import { computed, nextTick, onBeforeUnmount, onMounted, ref } from 'vue'; +import { useLabels } from '../composables/useLocale'; +import { + RELAY_ACTS, + RELAY_MILESTONES as M, + type RelayMilestone, +} from '../relayMilestones'; + +const DOTS = 66; +const N = M.length; + +const labels = useLabels(); +const t = computed(() => labels.value.home.timeline); + +const fig = ref<HTMLElement>(); +const line = ref<HTMLElement>(); +const panel = ref<HTMLElement>(); + +const go = ref(false); +const canDrag = ref(false); +const live = ref(false); +const dragging = ref(false); +const idx = ref(0); + +const m = computed<RelayMilestone>(() => M[idx.value]); +// Keep the last two words of a title together. +const title = computed(() => m.value.title.replace(/ (\S+)$/, ' $1')); + +let you: HTMLElement | null = null; +let dots: HTMLElement[] = []; +let words: HTMLElement[] = []; +let section: HTMLElement | null = null; +let cur = 0; +let maxX = 0; +let drag: { x: number } | null = null; +const cleanups: (() => void)[] = []; + +const reducedMotion = () => + window.matchMedia?.('(prefers-reduced-motion: reduce)').matches; + +function measure() { + if (!line.value || !you) return; + maxX = Math.max(0, line.value.clientWidth - you.offsetWidth); +} + +function place(x: number, ease = false) { + if (!you) return; + cur = Math.max(0, Math.min(maxX, x)); + you.style.transition = ease ? 'translate .22s ease' : 'none'; + you.style.translate = `${cur}px 0`; + const c = cur + you.offsetWidth / 2; + dots.forEach((d) => + d.classList.toggle('past', d.offsetLeft + d.offsetWidth / 2 <= c) + ); +} + +function show(i: number) { + idx.value = i; + const acts = M[i].acts.map((a) => RELAY_ACTS.indexOf(a)); + words.forEach((w, wi) => w.classList.toggle('on', acts.includes(wi))); + if (you) { + you.setAttribute('aria-valuenow', String(i + 1)); + you.setAttribute('aria-valuetext', `${M[i].when}: ${M[i].title}`); + } +} + +const at = (i: number) => (maxX * i) / (N - 1); + +async function wake() { + if (live.value || !section) return; + // Pin the content where it is, so the panel grows downward and nothing + // above it moves. + const sh = section.querySelector('.shell') as HTMLElement | null; + if (sh) { + const top = + sh.getBoundingClientRect().top - section.getBoundingClientRect().top; + section.style.justifyContent = 'flex-start'; + section.style.paddingTop = `${top}px`; + } + live.value = true; + section.classList.add('live'); + show(0); + await nextTick(); + const p = panel.value; + if (!p) return; + const h = p.offsetHeight; + const mt = getComputedStyle(p).marginTop; + const still = reducedMotion(); + p.style.overflow = 'hidden'; + const a = p.animate( + still + ? [{ opacity: 0 }, { opacity: 1 }] + : [ + { height: '0px', marginTop: '0px', opacity: 0, offset: 0 }, + { opacity: 0, offset: 0.35 }, + { height: `${h}px`, marginTop: mt, opacity: 1, offset: 1 }, + ], + { duration: still ? 300 : 700, easing: 'cubic-bezier(.2,.7,.2,1)' } + ); + a.onfinish = () => { + p.style.overflow = ''; + }; +} + +function onPointerDown(e: PointerEvent) { + if (!you) return; + e.preventDefault(); + you.focus({ preventScroll: true }); + measure(); + wake(); + drag = { x: e.clientX - cur }; + dragging.value = true; + you.setPointerCapture(e.pointerId); +} + +function onPointerMove(e: PointerEvent) { + if (!drag) return; + place(e.clientX - drag.x); + const i = Math.round((cur / (maxX || 1)) * (N - 1)); + if (i !== idx.value) show(i); +} + +function onPointerEnd() { + if (!drag) return; + drag = null; + dragging.value = false; + place(at(idx.value), true); +} + +const KEYS: Record<string, number> = { + ArrowRight: 1, + ArrowUp: 1, + ArrowLeft: -1, + ArrowDown: -1, + Home: -N, + End: N, + PageUp: 5, + PageDown: -5, +}; + +function onKey(e: KeyboardEvent) { + const k = KEYS[e.key]; + if (k === undefined) return; + e.preventDefault(); + measure(); + const was = live.value; + wake(); + const i = was + ? Math.max(0, Math.min(N - 1, idx.value + k)) + : Math.max(0, Math.min(N - 1, k > 0 ? Math.min(k, N - 1) : 0)); + show(i); + place(at(i), true); +} + +// Once the timeline is open, Left and Right move it while the line is on +// screen, even if focus moved. +function onDocKey(e: KeyboardEvent) { + if (!live.value || e.target === you || e.defaultPrevented) return; + const el = e.target as HTMLElement | null; + if ( + el && + (el.isContentEditable || /^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName)) + ) + return; + if (e.key !== 'ArrowLeft' && e.key !== 'ArrowRight') return; + const r = line.value?.getBoundingClientRect(); + if (!r || r.bottom < 0 || r.top > innerHeight) return; + onKey(e); +} + +onMounted(() => { + // Fill the line in order once it is in view. + if (fig.value && 'IntersectionObserver' in window) { + const io = new IntersectionObserver( + (entries) => { + if (entries[0].isIntersecting) { + go.value = true; + io.disconnect(); + } + }, + { threshold: 0.6 } + ); + io.observe(fig.value); + cleanups.push(() => io.disconnect()); + } else { + go.value = true; + } + + // Desktop only: on touch screens and narrow windows the line stays a + // static picture. + if ( + window.matchMedia( + '(hover: none), (pointer: coarse), (max-width: 760px)' + ).matches + ) + return; + if (!line.value || !fig.value) return; + you = line.value.querySelector('i.you'); + if (!you) return; + dots = [...line.value.querySelectorAll<HTMLElement>('i:not(.you)')]; + section = fig.value.closest('section'); + words = section + ? [...section.querySelectorAll<HTMLElement>('.fg-p strong')] + : []; + canDrag.value = true; + + you.tabIndex = 0; + you.setAttribute('role', 'slider'); + you.setAttribute('aria-label', t.value.slider); + you.setAttribute('aria-valuemin', '1'); + you.setAttribute('aria-valuemax', String(N)); + you.addEventListener('pointerdown', onPointerDown); + you.addEventListener('pointermove', onPointerMove); + you.addEventListener('pointerup', onPointerEnd); + you.addEventListener('pointercancel', onPointerEnd); + you.addEventListener('keydown', onKey); + document.addEventListener('keydown', onDocKey); + const ro = new ResizeObserver(() => { + if (!live.value) return; + measure(); + place(at(idx.value)); + }); + ro.observe(line.value); + cleanups.push(() => { + ro.disconnect(); + document.removeEventListener('keydown', onDocKey); + }); +}); + +onBeforeUnmount(() => { + cleanups.forEach((f) => f()); + if (section) { + section.classList.remove('live'); + section.style.justifyContent = ''; + section.style.paddingTop = ''; + } +}); +</script> + +<template> + <figure + ref="fig" + class="relay" + :class="{ go, 'can-drag': canDrag, live, dragging }" + :role="canDrag ? undefined : 'img'" + :aria-label="labels.home.relayLabel" + > + <div ref="line" class="relay-line"> + <i + v-for="n in DOTS" + :key="n" + :class="{ you: n === 1 || n === DOTS }" + :style="{ '--n': n - 1 }" + ></i> + </div> + <figcaption> + <span>{{ labels.home.relayStart }}</span> + <span>{{ labels.home.relayEnd }}</span> + </figcaption> + </figure> + <div v-if="live" ref="panel" class="relay-panel"> + <div class="rp-inner"> + <p class="rp-when">{{ m.when }}</p> + <h3 class="rp-title">{{ title }}</h3> + <p class="rp-body">{{ m.body }}</p> + <p class="rp-src"> + <a + v-for="s in m.src" + :key="s.u" + :href="s.u" + target="_blank" + rel="noopener noreferrer" + >{{ s.t }} ↗</a + > + </p> + <details class="rp-note"> + <summary>{{ t.about }}</summary> + <p>{{ m.note }}</p> + </details> + <p class="rp-hint">{{ t.hint }}</p> + </div> + </div> +</template> diff --git a/docs/.vuepress/components/SiteFooter.vue b/docs/.vuepress/components/SiteFooter.vue index fe0c671e..8da2650f 100644 --- a/docs/.vuepress/components/SiteFooter.vue +++ b/docs/.vuepress/components/SiteFooter.vue @@ -179,6 +179,14 @@ const aoLabLogoDark = withBase('/ao_lab_logo_dark.png'); >{{ labels.footer.newsletterShort }}</a > </li> + <li> + <RouteLink + :to=" + localePage('/open-ecosystem-flywheel.html') + " + >{{ labels.footer.flywheel }}</RouteLink + > + </li> <li> <RouteLink :to="localePage('/free-use-fund.html')" diff --git a/docs/.vuepress/components/SupportPage.vue b/docs/.vuepress/components/SupportPage.vue index 5d53d70c..d4baac74 100644 --- a/docs/.vuepress/components/SupportPage.vue +++ b/docs/.vuepress/components/SupportPage.vue @@ -88,7 +88,16 @@ const logos = ref<HTMLDetailsElement>(); function fromHash() { const h = location.hash; if (h === '#give' || h === '#testimony') { - setTimeout(() => scrollToSection(h.slice(1)), 0); + let y0 = 0; + setTimeout(() => { + y0 = scrollY; + scrollToSection(h.slice(1)); + }, 0); + // Arriving from another page, the router's own scroll can cancel the + // first pass. If nothing has moved by now, jump there instead. + setTimeout(() => { + if (scrollY === y0) scrollToSection(h.slice(1), true); + }, 450); } if (h === '#logos' && logos.value) { logos.value.open = true; @@ -98,16 +107,17 @@ function fromHash() { // Scroll to a section ourselves, below the fixed navbar, so in-page links // work however the router treats the hash. -function scrollToSection(id: string) { +function scrollToSection(id: string, instant = false) { const el = document.getElementById(id); if (!el) return false; const head = document.querySelector<HTMLElement>('.vp-navbar')?.offsetHeight ?? 0; - const smooth = !window.matchMedia('(prefers-reduced-motion: reduce)') - .matches; + const smooth = + !instant && + !window.matchMedia('(prefers-reduced-motion: reduce)').matches; window.scrollTo({ top: el.getBoundingClientRect().top + scrollY - head - 16, - behavior: smooth ? 'smooth' : 'auto', + behavior: smooth ? 'smooth' : 'instant', }); history.replaceState(history.state, '', `#${id}`); return true; diff --git a/docs/.vuepress/components/SupportWall.vue b/docs/.vuepress/components/SupportWall.vue index 3682187c..83c8da1e 100644 --- a/docs/.vuepress/components/SupportWall.vue +++ b/docs/.vuepress/components/SupportWall.vue @@ -662,7 +662,9 @@ watch(labels, () => draw()); <div class="wall-key"> <div class="wall-legend"> <span><i class="k-rec"></i>{{ w.received }}</span> - <span><i class="k-story"></i>{{ w.story }}</span> + <span v-if="stories.length" + ><i class="k-story"></i>{{ w.story }}</span + > <span><i class="k-cl"></i>{{ w.pledged }}</span> <span><i class="k-av"></i>{{ w.open }}</span> </div> diff --git a/docs/.vuepress/components/TestimonyRiver.vue b/docs/.vuepress/components/TestimonyRiver.vue new file mode 100644 index 00000000..d8b35eea --- /dev/null +++ b/docs/.vuepress/components/TestimonyRiver.vue @@ -0,0 +1,389 @@ +<script setup lang="ts"> +/** + * The testimony river under the cause heading on the home page. One lane of + * testimony cards drifts by, with "Your testimony here" second and then after + * every three. Once there are EXPAND_AT testimonies, "See all" opens it into + * several lanes moving at different speeds. Lanes pause on hover and focus, + * and hold still for reduced motion. Data in ../testimonies.ts. + */ +import { computed, onMounted, ref } from 'vue'; +import { RouteLink, withBase } from 'vuepress/client'; +import { useLabels, useLocalePage } from '../composables/useLocale'; +import { fillLabel } from '../composables/formatLabel'; +import { TESTIMONIES, type Testimony } from '../testimonies'; + +const EVERY = 3; +const EXPAND_AT = 8; +const LANES = 3; + +const labels = useLabels(); +const localePage = useLocalePage(); +const r = computed(() => labels.value.home.river); +const link = computed(() => localePage('/support.html') + '#testimony'); + +const preview = ref(false); +onMounted(() => { + preview.value = /[?&]river-preview\b/.test(location.search); +}); + +const items = computed<Testimony[]>(() => { + const list = TESTIMONIES.slice(); + if (preview.value) { + for (let n = 0; n < 12; n++) { + list.push({ + name: `Sample name ${n + 1}`, + role: 'Sample affiliation', + quote: + n % 3 + ? 'A sample testimony, a sentence or two on what the Free Use Bible API makes possible.' + : 'A shorter sample.', + }); + } + } + return list; +}); + +const open = ref(false); +const canOpen = computed(() => items.value.length >= EXPAND_AT); + +type Entry = { invite: true } | { invite: false; t: Testimony }; + +/* An invite after testimony number `from`, then after every three more. The + first lane uses 0, so the invite is the second card on the page. Other + lanes start later, so the invites never line up in a column. */ +function sequence(list: Testimony[], from: number): Entry[] { + const out: Entry[] = []; + list.forEach((t, i) => { + out.push({ invite: false, t }); + if ( + i >= from && + (i - from) % EVERY === 0 && + !(i === list.length - 1 && i !== from) + ) { + out.push({ invite: true }); + } + }); + return out; +} + +const lanes = computed(() => { + const list = items.value; + let groups: Testimony[][] = [list]; + if (open.value) { + const k = Math.min(LANES, Math.ceil(list.length / 4)); + groups = Array.from({ length: k }, () => [] as Testimony[]); + list.forEach((t, i) => groups[i % k].push(t)); + } + return groups.map((g, i) => ({ + entries: sequence(g, [0, 2, 1][i % 3]), + rev: i % 2 === 1, + secs: Math.round(Math.max(36, g.length * 1.4 * 9) * (1 + i * 0.25)), + })); +}); + +const initials = (n: string) => + n + .split(/\s+/) + .filter(Boolean) + .slice(0, 2) + .map((w) => w[0]) + .join('') + .toUpperCase(); + +const moreLabel = computed(() => + open.value + ? r.value.showLess + : fillLabel(r.value.seeAll, { count: String(items.value.length) }) +); + +function openFromRiver(e: MouseEvent) { + if (!canOpen.value || open.value) return; + if ((e.target as HTMLElement).closest('a')) return; + open.value = true; +} +</script> + +<template> + <div class="river-wrap"> + <div + id="river" + class="river" + :class="{ 'rv-empty': !items.length, 'rv-can-open': canOpen }" + :aria-label="r.label" + @click="openFromRiver" + > + <div v-if="!items.length" class="rv-lane rv-still"> + <ul class="rv-track"> + <li class="rv-card rv-you"> + <RouteLink :to="link"> + <span class="rv-face" aria-hidden="true">+</span> + <div class="rv-body"> + <p class="rv-q">{{ r.invite }}</p> + <p class="rv-who"> + <b>{{ r.inviteCta }} →</b> + </p> + </div> + </RouteLink> + </li> + </ul> + </div> + <div + v-for="(lane, li) in lanes" + v-else + :key="`${open}-${li}`" + class="rv-lane" + :class="{ 'rv-rev': lane.rev }" + :style="{ '--rv-dur': lane.secs + 's' }" + > + <!-- two copies, so the loop is seamless; the second is hidden + from screen readers --> + <ul + v-for="copy in 2" + :key="copy" + class="rv-track" + :aria-hidden="copy === 2 ? 'true' : undefined" + > + <template v-for="(e, ei) in lane.entries" :key="ei"> + <li v-if="e.invite" class="rv-card rv-you"> + <RouteLink + :to="link" + :tabindex="copy === 2 ? -1 : undefined" + > + <span class="rv-face" aria-hidden="true" + >+</span + > + <div class="rv-body"> + <p class="rv-q">{{ r.invite }}</p> + <p class="rv-who"> + <b>{{ r.inviteCta }} →</b> + </p> + </div> + </RouteLink> + </li> + <li v-else class="rv-card"> + <span class="rv-face"> + <img + v-if="e.t.photo" + :src="withBase(e.t.photo)" + alt="" + width="44" + height="44" + loading="lazy" + /> + <span v-else aria-hidden="true">{{ + initials(e.t.name) + }}</span> + </span> + <div class="rv-body"> + <p class="rv-q">“{{ e.t.quote }}”</p> + <p class="rv-who"> + <b>{{ e.t.name }}</b> + <small v-if="e.t.role"> {{ e.t.role }}</small> + <small v-if="e.t.gave"> + {{ r.supporter }}</small + > + </p> + </div> + </li> + </template> + </ul> + </div> + </div> + <button + v-if="canOpen" + type="button" + class="rv-more" + :aria-expanded="String(open)" + aria-controls="river" + @click="open = !open" + > + {{ moreLabel }} {{ open ? '↑' : '↓' }} + </button> + </div> +</template> + +<style scoped> +.river-wrap { + margin: clamp(28px, 3.4vw, 40px) 0 clamp(36px, 4.4vw, 52px); +} +.river { + display: flex; + flex-direction: column; + gap: 14px; + overflow: hidden; + -webkit-mask-image: linear-gradient( + 90deg, + transparent, + #000 6%, + #000 94%, + transparent + ); + mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); +} +.river.rv-empty { + -webkit-mask-image: none; + mask-image: none; +} +.river.rv-can-open { + cursor: pointer; +} +.rv-lane { + display: flex; + width: max-content; +} +.rv-track { + list-style: none; + margin: 0; + padding: 0 14px 0 0; + display: flex; + align-items: stretch; + gap: 14px; + flex: none; +} +.rv-lane:not(.rv-still) .rv-track { + animation: fuba-rv-flow var(--rv-dur, 60s) linear infinite; +} +.rv-rev .rv-track { + animation-direction: reverse; +} +.rv-lane:hover .rv-track, +.rv-lane:focus-within .rv-track { + animation-play-state: paused; +} +@keyframes fuba-rv-flow { + to { + transform: translateX(-100%); + } +} +.rv-card { + flex: none; + width: max-content; + max-width: 600px; + display: flex; + align-items: center; + gap: 14px; + margin: 0; + padding: 14px 20px 14px 14px; + border: 1px solid var(--line); + border-radius: 12px; + background: var(--bg); + cursor: auto; +} +.rv-card > a { + display: flex; + align-items: center; + gap: 14px; + color: inherit; + text-decoration: none; +} +.rv-body { + min-width: 0; +} +.rv-q { + margin: 0; + font-size: 15px; + line-height: 1.45; + letter-spacing: -0.01em; + color: var(--text); + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + overflow: hidden; +} +.rv-who { + margin: 4px 0 0; + font-size: 13px; + line-height: 1.4; + color: var(--muted); +} +.rv-who b { + font-weight: 700; + color: var(--text); +} +.rv-who small { + font-size: inherit; +} +.rv-who small::before { + content: '\00b7\00a0'; +} +.rv-face { + flex: none; + width: 44px; + height: 44px; + border-radius: 50%; + overflow: hidden; + display: grid; + place-items: center; + background: var(--surface-2); + font-size: 14px; + font-weight: 700; + color: var(--text-2); +} +.rv-face img { + width: 100%; + height: 100%; + object-fit: cover; + display: block; +} +.rv-you { + border-style: dashed; + border-color: var(--line-strong); + background: transparent; +} +.rv-you a { + cursor: pointer; +} +.rv-you .rv-q { + font-size: 16px; + font-weight: 700; + letter-spacing: -0.02em; +} +.rv-you .rv-face { + background: transparent; + border: 1px dashed var(--line-strong); + font-size: 20px; + font-weight: 400; + color: var(--text); +} +@media (hover: hover) { + .rv-you a:hover b { + text-decoration: underline; + text-underline-offset: 4px; + } +} +.rv-more { + display: block; + margin: 16px auto 0; + padding: 8px 4px; + border: 0; + background: none; + color: var(--text); + font: inherit; + font-size: 15px; + font-weight: 600; + cursor: pointer; + text-decoration: underline; + text-underline-offset: 4px; +} +@media (prefers-reduced-motion: reduce) { + .river { + overflow-x: auto; + -webkit-mask-image: none; + mask-image: none; + } + .rv-lane .rv-track { + animation: none !important; + } + .rv-lane .rv-track[aria-hidden] { + display: none; + } +} +@media (max-width: 620px) { + .rv-card { + max-width: 320px; + } + .rv-q { + font-size: 14px; + } +} +</style> diff --git a/docs/.vuepress/composables/useCounts.ts b/docs/.vuepress/composables/useCounts.ts new file mode 100644 index 00000000..ebd3813f --- /dev/null +++ b/docs/.vuepress/composables/useCounts.ts @@ -0,0 +1,98 @@ +import { onMounted, ref } from 'vue'; +import { + countLicenceRows, + LICENCE_ROWS, + type LicenceRow, +} from '../licenceRows'; + +/** + * The live translation, language and licence counts, for the pages that print + * them (the home page and the open ecosystem page). + * + * The catalog grows. The printed numbers are filled from the live endpoint + * rather than left to rot, but only once a session: the file is large. Until + * the live counts arrive, the snapshot below is shown. + */ + +// The counts as of 12 November 2026, shown until the live ones arrive. +const translationCount = ref(1505); +const languageCount = ref(1168); +const licenceCounts = ref<Record<LicenceRow, number>>({ + publicDomain: 111, + attribution: 39, + shareAlike: 442, + noDerivatives: 89, + nonCommercialNoDerivatives: 777, + other: 47, +}); + +let started = false; + +function paintCounts( + t: number, + l: number, + lic?: Partial<Record<LicenceRow, number>> +) { + if (t) translationCount.value = t; + if (l) languageCount.value = l; + // Only a complete set of counts replaces the snapshot. + if (lic && LICENCE_ROWS.every((row) => typeof lic[row] === 'number')) { + licenceCounts.value = lic as Record<LicenceRow, number>; + } +} + +function fetchCounts() { + if (started) return; + started = true; + + let hit: string | null = null; + try { + hit = sessionStorage.getItem('fuba-counts'); + } catch (e) {} + if (hit) { + try { + const c = JSON.parse(hit); + // A count cached before the licence breakdown was added has no + // `lic`, so fetch again rather than show the snapshot. + if (c.lic) { + paintCounts(c.t, c.l, c.lic); + return; + } + } catch (e) {} + } + + const go = () => { + fetch('https://bible.helloao.org/api/available_translations.json') + .then((r) => (r.ok ? r.json() : null)) + .then((j) => { + if (!j || !j.translations || !j.translations.length) return; + const t = j.translations.length; + const l = new Set( + j.translations + .map((x: any) => x.language) + .filter((x: any) => !!x) + ).size; + const lic = countLicenceRows(j.translations); + paintCounts(t, l, lic); + try { + sessionStorage.setItem( + 'fuba-counts', + JSON.stringify({ t, l, lic }) + ); + } catch (e) {} + }) + .catch(() => {}); + }; + + if ('requestIdleCallback' in window) { + (window as any).requestIdleCallback(go, { timeout: 4000 }); + } else { + setTimeout(go, 1200); + } +} + +/** The live counts. Fetches them once the calling component mounts. */ +export function useCounts() { + onMounted(fetchCounts); + return { translationCount, languageCount, licenceCounts }; +} diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 87515340..6bcd0c1a 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -146,7 +146,13 @@ const localePage = (prefix: string, page: string) => : `/${page}.html`; /** Layouts that render their own page rather than the markdown body. */ -const customLayouts = ['HomeLayout', 'SupportLayout', 'FreeUseFundLayout']; +const customLayouts = [ + 'HomeLayout', + 'SupportLayout', + 'FreeUseFundLayout', + 'OpenEcosystemLayout', + 'FlywheelLayout', +]; const navbar = (prefix: string, labels: Labels): NavbarOptions => [ { diff --git a/docs/.vuepress/labels.json b/docs/.vuepress/labels.json index ec3dde11..67115bab 100644 --- a/docs/.vuepress/labels.json +++ b/docs/.vuepress/labels.json @@ -175,6 +175,7 @@ "release": "Release it into the public domain", "next": "The next builder starts further ahead" }, + "flywheelLink": "See how the flywheel works", "buildTitle": "Let’s start building.", "newsletterPrompt": "Want to stay in the loop?", "newsletterLink": "Sign up for the newsletter", @@ -208,7 +209,20 @@ "a": "Non-commercial terms forbid faithful work, so we count them as restricted. There are many ways a Bible could be distributed commercially in a pure and faithful manner (for example, printing Bibles and selling them at just the price required to make a small profit to reinvest in the operation and increase distribution). The point, dear Christian, is that it is simply **not your place** to tell others how they can and cannot use God’s word." } }, - "scrollCue": "Scroll to the next section" + "scrollCue": "Scroll to the next section", + "river": { + "label": "Testimonies from people who use and support the Free Use Bible API", + "invite": "Your testimony here!", + "inviteCta": "Share how you use it", + "seeAll": "See all {{ count }} stories", + "showLess": "Show less", + "supporter": "Supporter" + }, + "timeline": { + "slider": "Paul’s letters through history", + "about": "About this evidence", + "hint": "Drag the dot, or use the arrow keys." + } }, "footer": { "madeWith": "Made with {{ love }} by {{ aoLab }}", @@ -236,6 +250,7 @@ "seedBibleSoon": "Seed Bible (Coming soon)", "discordShort": "Discord", "newsletterShort": "Newsletter", + "flywheel": "Why an open ecosystem", "freeUseFund": "Free Use Fund", "support": "Support AO Lab", "nonprofit": "A 501(c)(3) nonprofit", @@ -513,5 +528,147 @@ "guide": "Guide", "guideDetail": "Learn how to use the API, step by step.", "scene": "Decorative ASCII art scene" + }, + "openEcosystem": { + "title": "Let’s build an open ecosystem\nfor global Christianity.", + "sub": "Scripture, tools and data that any Christian may freely use, build on and share.", + "join": "Join us", + "forbidTitle": "Most Scripture can\nbe read but not {{ used }}.", + "forbidUsed": "used", + "forbidLead": "Copyright restrictions prevent:", + "forbidEnd": "Together we can change that.", + "flywheelTitle": "The answer is more\npublic domain resources.", + "apiTitle": "Welcome to the Free Use Bible API.", + "apiSub": "Get started immediately with **no red tape**.", + "cardsLabel": "What is in the API", + "cards": { + "translations": { + "title": "Bible Translations", + "body": "Static JSON with headings, poetry, line breaks and footnotes kept intact." + }, + "audio": { + "title": "Bible Audio", + "body": "Plain readings and dramatized Scripture audio for listening and accessibility." + }, + "datasets": { + "title": "Bible Data Sets", + "body": "Cross-references and other Bible data in formats ready to build with." + }, + "seedBible": { + "title": "Seed Bible", + "body": "Build on our open Bible platform, or extend it." + } + }, + "seedBibleComing": "Developer docs coming December", + "fundTitle": "Introducing the Free Use Fund.", + "fundBody1": "It’s going to take all of us to get this done.", + "fundBody2": "We’re launching a project-based fund to kickstart an open ecosystem for global Christianity.", + "fundBody3": "The fund is currently empty, but we are asking everyone to submit projects and help find donors to make this a reality!", + "fundLink": "Learn more about the fund", + "buildLabel": "Start building" + }, + "flywheelPage": { + "kicker": "Why Christians should support an open ecosystem", + "bodyTitle": "The body of Christ\nis meant to build as one.", + "flywheelTitle": "An open ecosystem multiplies the work.", + "flywheelLead": "Every open release gives the next builder more to start from.", + "wheelLabel": "The flywheel: start from free work, build something new, release it into the public domain, and the next builder starts further ahead, then the cycle begins again.", + "wheelCore": "Each turn,\nmore to build on", + "steps": { + "start": { + "title": "Start from free work", + "body": "Public-domain content and data, or open-source software" + }, + "build": { + "title": "Build something new", + "body": "A translation, a recording, a data set, a tool or an extension" + }, + "release": { + "title": "Release it into the public domain", + "body": "Content and data under CC0, software under an open-source licence" + }, + "next": { + "title": "The next builder starts further ahead", + "body": "Everything you had, plus everything you made" + } + }, + "again": "And around again", + "restrictTitle": "Restrictions block faithful work.", + "restrictions": { + "copying": { + "title": "Copying", + "body": "A whole Bible to distribute to those in need.", + "licence": "All rights reserved" + }, + "translating": { + "title": "Translating", + "body": "Scripture into another language and sharing it.", + "licence": "No derivatives" + }, + "revising": { + "title": "Revising", + "body": "A translation and publishing the revision.", + "licence": "No derivatives" + }, + "adapting": { + "title": "Adapting", + "body": "Scripture into an easy-read edition or audio Bible.", + "licence": "No derivatives" + }, + "distributing": { + "title": "Distributing", + "body": "Bible files online or offline.", + "licence": "All rights reserved" + } + }, + "restrictLead": "That is why we call on those who hold restricted Scripture to release it.", + "restrictLink": "Why Scripture should be free", + "openTitle": "The more open, the more believers can build.", + "open": { + "content": { + "title": "Content and data", + "body": "Release under CC0, the public-domain dedication. CC BY 4.0 and CC BY-SA 4.0 also allow reuse, with conditions." + }, + "software": { + "title": "Software", + "body": "Release under a permissive licence such as MIT. Copyleft licences such as the AGPL also allow reuse, with more conditions." + } + }, + "manyTitle": "There is so much left to be done.", + "manyLead": "Any of this could be built once and shared with every believer.", + "todo": { + "scripture": { + "title": "Scripture and Christian texts", + "items": "New public-domain translations\nTranslations for unreached languages\nEasy-read and children’s editions\nStudy Bibles and notes\nInterlinears and reader’s editions\nChristian history and historic writings" + }, + "data": { + "title": "Data and reference", + "items": "Original-language alignments\nLexicons and morphology\nPeople, places and events\nMaps, geography and timelines\nShared identifiers that link passages, people and places across every resource" + }, + "media": { + "title": "Art and media", + "items": "Audio and dramatized Bibles\nSign-language Bibles\nScripture music\nBible films and animation\nIllustrations and 3D assets\nFonts for every script\nEditable source files: layered art, animation rigs, recording tracks" + }, + "teaching": { + "title": "Teaching and discipleship", + "items": "Kids programs and Sunday school curricula\nArts and crafts activities\nFamily discipleship resources\nSmall-group studies\nTheological courses" + }, + "extensions": { + "title": "Seed Bible extensions", + "items": "Scripture memory\nBible games\nReading programs\nGroup Bible study\nDiscipleship pathways\nChurch engagement" + }, + "tools": { + "title": "Tools and infrastructure", + "items": "Translation and checking platforms\nReusable components and starter projects\nAn open registry of resources and extensions\nLocalization and accessibility workflows\nPublishing to web, print, offline and messaging\nReview, correction and version histories\nSDKs and AI-ready data" + } + }, + "workTitle": "Let’s get to work!", + "workCta": "Contribute on Discord", + "fundAsk": "Rather fund the work?", + "fundLink": "Stand with us", + "fundBody": "Support beyond AO Lab’s yearly need goes to the Free Use Fund, for open content and software.", + "codeAsk": "Want to build on the code?", + "codeLink": "The API on GitHub", + "codeBody": "The Free Use Bible API is MIT licensed." } } diff --git a/docs/.vuepress/layouts/FlywheelLayout.vue b/docs/.vuepress/layouts/FlywheelLayout.vue new file mode 100644 index 00000000..cd493342 --- /dev/null +++ b/docs/.vuepress/layouts/FlywheelLayout.vue @@ -0,0 +1,12 @@ +<script setup lang="ts"> +import ParentLayout from '@vuepress/theme-default/layouts/Layout.vue'; +import FlywheelPage from '../components/FlywheelPage.vue'; +</script> + +<template> + <ParentLayout> + <template #page> + <FlywheelPage /> + </template> + </ParentLayout> +</template> diff --git a/docs/.vuepress/layouts/OpenEcosystemLayout.vue b/docs/.vuepress/layouts/OpenEcosystemLayout.vue new file mode 100644 index 00000000..80b83772 --- /dev/null +++ b/docs/.vuepress/layouts/OpenEcosystemLayout.vue @@ -0,0 +1,12 @@ +<script setup lang="ts"> +import ParentLayout from '@vuepress/theme-default/layouts/Layout.vue'; +import OpenEcosystemPage from '../components/OpenEcosystemPage.vue'; +</script> + +<template> + <ParentLayout> + <template #page> + <OpenEcosystemPage /> + </template> + </ParentLayout> +</template> diff --git a/docs/.vuepress/public/people/ted-hallum.jpg b/docs/.vuepress/public/people/ted-hallum.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8593f2ecb6cfc5d45de003c7210ba9294fa9d64d GIT binary patch literal 9049 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 Q6GMbg(%F3tX8zaz0>``pbpQYW literal 0 HcmV?d00001 diff --git a/docs/.vuepress/relayMilestones.ts b/docs/.vuepress/relayMilestones.ts new file mode 100644 index 00000000..70513a65 --- /dev/null +++ b/docs/.vuepress/relayMilestones.ts @@ -0,0 +1,814 @@ +/** + * The "Paul's letters … You" timeline on the home page: one stop per + * milestone, from Paul's command to read his letter aloud to the reader. + * The reader's dot on the relay line can be dragged through them (desktop + * only). Drawn by components/RelayTimeline.vue. + * + * `acts` names which of the five activities in the #since paragraph the + * milestone shows, by position: copying, translating, revising, adapting, + * distributing. Each `src` is a citation link. + * + * The milestones are English only for now; the panel's own words are in + * labels.json under home.timeline. + */ + +export const RELAY_ACTS = [ + 'copying', + 'translating', + 'revising', + 'adapting', + 'distributing', +] as const; + +export type RelayAct = (typeof RELAY_ACTS)[number]; + +export interface RelayMilestone { + when: string; + title: string; + body: string; + acts: RelayAct[]; + place: string; + note: string; + src: { t: string; u: string }[]; +} + +export const RELAY_MILESTONES: RelayMilestone[] = [ + { + "when": "First century AD", + "title": "Read this letter to everyone", + "body": "Paul charges the Thessalonian church to have his letter read to all the brothers.", + "acts": [ + "distributing" + ], + "place": "Thessalonica", + "note": "A command to read aloud. It does not itself specify a copying procedure or a translation. The date labels the apostolic period, not a precisely dated surviving manuscript.", + "src": [ + { + "t": "1 Thessalonians 5:27 · AAB", + "u": "https://seedbible.org/?translation=AAB&book=1TH&chapter=5&verse=27" + } + ] + }, + { + "when": "First century AD", + "title": "Let the next church read it too", + "body": "Paul directs Colossae and Laodicea to exchange letters for reading in both churches.", + "acts": [ + "distributing" + ], + "place": "Colossae and Laodicea", + "note": "Direct evidence for intended circulation. The verse does not say whether the exchange used originals, copies, or both.", + "src": [ + { + "t": "Colossians 4:16 · AAB", + "u": "https://seedbible.org/?translation=AAB&book=COL&chapter=4&verse=16" + } + ] + }, + { + "when": "Late first century AD", + "title": "Corinth is told to read Paul again", + "body": "Clement tells the Corinthians to take up Paul’s earlier letter and attend to its teaching.", + "acts": [ + "distributing" + ], + "place": "Rome → Corinth", + "note": "An early reception witness, conventionally dated near the end of the first century. It establishes continued access to 1 Corinthians, not the identity of a surviving copy.", + "src": [ + { + "t": "1 Clement 47", + "u": "https://www.newadvent.org/fathers/1010.htm" + } + ] + }, + { + "when": "Early second century AD", + "title": "Philippi still studies Paul", + "body": "Polycarp urges the Philippians to study the letter Paul wrote to them. His own letter draws repeatedly on Paul’s writings.", + "acts": [ + "distributing" + ], + "place": "Smyrna → Philippi", + "note": "The date is approximate; the letter’s dating and possible composition in stages are discussed in scholarship. Quoting Paul demonstrates reception, not a new Bible translation.", + "src": [ + { + "t": "Polycarp to the Philippians 3", + "u": "https://www.newadvent.org/fathers/0136.htm" + }, + { + "t": "University of Helsinki · introduction", + "u": "https://libraryguides.helsinki.fi/hulce_epistula_polycarpi/introduction" + } + ] + }, + { + "when": "AD 180", + "title": "Paul’s letters reach North Africa", + "body": "At the trial of the Scillitan martyrs in Carthage, Speratus identifies books and Paul’s letters among their possessions.", + "acts": [ + "distributing" + ], + "place": "Carthage, North Africa", + "note": "The trial record attests possession of the letters. It does not identify their language, so this stop does not claim that these particular copies were Latin.", + "src": [ + { + "t": "Acts of the Scillitan Martyrs", + "u": "https://www.newadvent.org/fathers/1013.htm" + } + ] + }, + { + "when": "c. AD 200", + "title": "Paul’s letters are collected in a book", + "body": "Papyrus 46 preserves a substantial Greek collection of Paul’s letters, copied onto papyrus and bound as a codex.", + "acts": [ + "copying", + "adapting" + ], + "place": "Egyptian manuscript tradition", + "note": "Palaeographic dating is approximate, usually late second or early third century. Adapting refers to collecting and presenting letters in a book, not rewriting their message. Hebrews is present in this ancient collection without settling its authorship.", + "src": [ + { + "t": "CSNTM · Papyrus 46", + "u": "https://manuscripts.csntm.org/manuscript/View/GA_P46" + }, + { + "t": "University of Michigan · P46", + "u": "https://apps.lib.umich.edu/files/collections/papyrus/k12/reading/Paul/perspective.html" + } + ] + }, + { + "when": "c. AD 200", + "title": "A copy of Titus survives", + "body": "Papyrus 32 preserves portions of Titus in Greek, another physical witness to the copying of the letters.", + "acts": [ + "copying" + ], + "place": "Now in Manchester", + "note": "CSNTM describes it as possibly second century, around AD 200. This date is approximate; the fragment is not an original letter.", + "src": [ + { + "t": "CSNTM · Papyrus 32", + "u": "https://manuscripts.csntm.org/manuscript/View/GA_P32" + } + ] + }, + { + "when": "Third century AD", + "title": "More letters are copied on papyrus", + "body": "Papyrus 30 preserves fragments of another Greek manuscript of Paul’s letters.", + "acts": [ + "copying" + ], + "place": "Now in Ghent", + "note": "The date is a century-level catalogue assignment, not a dated colophon. It is independent surviving evidence of copying, not a claimed ancestor of every later text.", + "src": [ + { + "t": "CSNTM · Papyrus 30", + "u": "https://manuscripts.csntm.org/manuscript/View/GA_P30" + } + ] + }, + { + "when": "Third century AD", + "title": "Another papyrus copy endures", + "body": "Papyrus 49 preserves another fragmentary Greek copy from the Pauline manuscript tradition.", + "acts": [ + "copying" + ], + "place": "Now at Yale", + "note": "The manuscript catalogue assigns it to the third century. Its position after P30 is for browsing and does not imply that their exact chronological order is known.", + "src": [ + { + "t": "CSNTM · Papyrus 49", + "u": "https://manuscripts.csntm.org/manuscript/View/GA_P49" + } + ] + }, + { + "when": "Fourth century AD", + "title": "Paul is copied into a Greek Bible", + "body": "Codex Vaticanus includes Romans, Corinthians, Galatians, Ephesians, and other letters in a large Greek biblical codex.", + "acts": [ + "copying" + ], + "place": "Now in the Vatican Library", + "note": "The Vatican catalogue dates the codex to the fourth century. Its surviving ancient New Testament is incomplete; this stop does not call it a complete surviving New Testament.", + "src": [ + { + "t": "Vatican Library · Vat. gr. 1209", + "u": "https://digi.vatlib.it/view/MSS_Vat.gr.1209" + } + ] + }, + { + "when": "Fourth century AD", + "title": "A complete New Testament survives", + "body": "Codex Sinaiticus preserves the New Testament in Greek, including the letters from Romans through Philemon.", + "acts": [ + "copying" + ], + "place": "Now held in several collections", + "note": "The manuscript is fourth century. “Complete” refers to its New Testament text; much of the original Old Testament is lost.", + "src": [ + { + "t": "British Library · Sinaiticus New Testament", + "u": "https://searcharchives.bl.uk/catalog/040-002169730" + } + ] + }, + { + "when": "Early fifth century AD", + "title": "Paul is read in Syriac", + "body": "The Peshitta New Testament takes shape in Syriac. Early surviving manuscripts include copies of Paul’s letters.", + "acts": [ + "translating", + "copying" + ], + "place": "Syriac-speaking churches", + "note": "The reference dates the early Peshitta to the beginning of the fifth century and lists fifth- and sixth-century Pauline witnesses. This is a version-level date, not a named translator’s completion date.", + "src": [ + { + "t": "Gorgias Encyclopedic Dictionary · NT manuscripts", + "u": "https://gedsh.bethmardutho.org/Bible-New-Testament-manuscripts.html" + } + ] + }, + { + "when": "AD 534", + "title": "A donor pays for another copy", + "body": "A Syriac manuscript of Paul’s letters is copied for a monastery library in Edessa. Its colophon records the year and its sponsor.", + "acts": [ + "copying", + "distributing" + ], + "place": "Edessa", + "note": "The catalogue transcribes a colophon dating the manuscript to AD 534 and describing its commissioning. The donor’s personal name is damaged.", + "src": [ + { + "t": "Syriaca · British Library Add. 14479", + "u": "https://bl.syriac.uk/ms/164" + } + ] + }, + { + "when": "AD 546–547", + "title": "A Latin copy is checked and corrected", + "body": "Victor of Capua corrects Codex Fuldensis, a Latin New Testament manuscript that includes Paul’s letters.", + "acts": [ + "copying", + "revising" + ], + "place": "Capua, Italy", + "note": "Houghton’s catalogue specifically discusses Victor’s corrections in Paul. Revising here means checking and correcting a transmitted text, not claiming every historical correction was right.", + "src": [ + { + "t": "Houghton · Latin NT manuscript catalogue", + "u": "https://academic.oup.com/book/12425/chapter/162898271" + }, + { + "t": "National Library of Ireland · microfilm record", + "u": "https://catalogue.nli.ie/Record/MS_UR_010505" + } + ] + }, + { + "when": "AD 615–616", + "title": "Syriac is compared with Greek", + "body": "Thomas of Harkel prepares a Syriac recension with Greek variant readings. Its subscriptions explicitly include Paul’s letters.", + "acts": [ + "translating", + "revising" + ], + "place": "Near Alexandria, Egypt", + "note": "The subscriptions date the work to AD 615/616. Its relationship to the earlier Philoxenian version is complex, so it is described here as a recension rather than a simple reprint.", + "src": [ + { + "t": "Gorgias Encyclopedic Dictionary · Harklean Version", + "u": "https://gedsh.bethmardutho.org/Harqlean-Version.html" + } + ] + }, + { + "when": "By AD 716", + "title": "A whole Bible travels toward Rome", + "body": "Codex Amiatinus, copied at Wearmouth–Jarrow, carries Paul’s letters within a complete Latin Bible sent toward Rome.", + "acts": [ + "copying", + "distributing" + ], + "place": "Northumbria → Italy", + "note": "The manuscript was produced before AD 716. The date marks its departure from England, not the first translation of its contents.", + "src": [ + { + "t": "University of Utah · Codex Amiatinus", + "u": "https://lib.utah.edu/collections/rarebooks/database/medieval-manuscript-facsimiles/bible-texts/codex-amiatinus.php" + }, + { + "t": "National Endowment for the Humanities · research record", + "u": "https://awardsearch.neh.gov/AwardDetail.aspx?gn=FB-51662-05" + } + ] + }, + { + "when": "c. AD 807–808", + "title": "The New Testament is copied in Ireland", + "body": "The Book of Armagh preserves the Latin New Testament alongside material associated with Patrick.", + "acts": [ + "copying" + ], + "place": "Armagh, Ireland", + "note": "The dated inscription concerns part of the manuscript’s production in AD 807/808. This is not a claim that every page was written in a single year.", + "src": [ + { + "t": "Royal Irish Academy · Book of Armagh", + "u": "https://confessio.ie/manuscripts/dublin" + }, + { + "t": "Trinity College Dublin · medieval Latin", + "u": "https://www.tcd.ie/library/research-collections/subject-strengths/medieval/medieval-latin.php" + } + ] + }, + { + "when": "c. AD 830–840", + "title": "A revised Latin Bible is copied again", + "body": "Scribes at Tours produce the Moutier-Grandval Bible using the Latin text revised by Alcuin. Paul’s letters travel within the whole Bible.", + "acts": [ + "copying", + "revising" + ], + "place": "Tours, France", + "note": "This dates a surviving copy of Alcuin’s revised text, not Alcuin’s own work, which preceded his death in AD 804.", + "src": [ + { + "t": "British Library · Moutier-Grandval Bible", + "u": "https://www.bl.uk/stories/blogs/posts/the-moutier-grandval-bible-loaned-to-jura" + } + ] + }, + { + "when": "Ninth century AD", + "title": "Greek and Latin share the page", + "body": "Codex Boernerianus places a Latin rendering between the lines of the Greek text of Paul’s letters.", + "acts": [ + "copying", + "adapting" + ], + "place": "Now in Dresden", + "note": "A bilingual presentation is a concrete adaptation for reading and comparison. The ninth-century date is approximate; the Latin rendering was not necessarily first translated for this copy.", + "src": [ + { + "t": "SLUB Dresden · Pauline manuscript research", + "u": "https://www.slub-dresden.de/en/research/digital-humanities/codex-boernerianus-gemeinsame-forschung-an-den-paulusbriefen" + }, + { + "t": "CSNTM · GA 012", + "u": "https://manuscripts.csntm.org/manuscript/View/GA_012" + } + ] + }, + { + "when": "AD 867", + "title": "Paul is translated into Arabic", + "body": "Bishr ibn al-Sirri translates Paul’s letters from Syriac into Arabic, annotates them, and copies them in Damascus.", + "acts": [ + "translating", + "copying", + "adapting" + ], + "place": "Damascus", + "note": "The colophon dates this work to September/October AD 867. The manuscript distinguishes biblical text from explanatory annotations; the notes are not presented as Paul’s own words.", + "src": [ + { + "t": "Vevian Zaki · study of Sinai Arabic 151", + "u": "https://biblia-arabica.com/lost-in-the-margins-reference-marks-in-ms-sinai-arabic-151/" + } + ] + }, + { + "when": "Eleventh century AD", + "title": "The letters are read in Slavonic", + "body": "The Enina Apostolos preserves Slavonic Acts-and-Epistles readings in an early Cyrillic manuscript.", + "acts": [ + "translating", + "copying", + "adapting" + ], + "place": "Bulgaria", + "note": "UNESCO dates the surviving fragment to the eleventh century and connects it to earlier Greek-to-Slavonic translation. This is a liturgical selection, not an intact copy of all Paul’s letters.", + "src": [ + { + "t": "UNESCO · Enina Apostolos", + "u": "https://www.unesco.org/en/memory-world/enina-apostolos-old-bulgarian-cyrillic-manuscript-fragment-11th-century" + } + ] + }, + { + "when": "Twelfth–thirteenth centuries AD", + "title": "Worn pages are copied and replaced", + "body": "Readers preserve the AD 534 Syriac manuscript by replacing lost leaves, including the beginning of Romans.", + "acts": [ + "copying" + ], + "place": "British Library Add. 14479", + "note": "The catalogue assigns the first leaf, with Romans 1:1–10, to the twelfth century and two paper leaves to the thirteenth. These dates concern repairs, not a new translation.", + "src": [ + { + "t": "Syriaca · later replacement leaves", + "u": "https://bl.syriac.uk/ms/164" + } + ] + }, + { + "when": "c. AD 1385", + "title": "Paul is copied in Middle English", + "body": "A surviving Wycliffite Bible includes Romans, Corinthians, Galatians, and the other letters in an English translation from Latin.", + "acts": [ + "translating", + "copying" + ], + "place": "England", + "note": "The British Library dates this surviving Bible to about AD 1385. It witnesses the earlier Wycliffite translation, not proof that John Wycliffe personally translated each book.", + "src": [ + { + "t": "British Library · Egerton 617–618", + "u": "https://searcharchives.bl.uk/catalog/032-001983667" + }, + { + "t": "British Library · New Testament contents", + "u": "https://searcharchives.bl.uk/catalog/040-001983669" + } + ] + }, + { + "when": "c. AD 1454–1455", + "title": "Printing multiplies the copies", + "body": "Gutenberg’s Latin Bible reproduces the whole Bible, including Paul’s letters, with movable type.", + "acts": [ + "copying", + "distributing" + ], + "place": "Mainz, Germany", + "note": "The publication is dated approximately AD 1454/1455. It is an early European typographic Bible, not the invention of printing worldwide.", + "src": [ + { + "t": "Library of Congress · Gutenberg Bible", + "u": "https://www.loc.gov/item/2021666734/" + }, + { + "t": "Library of Congress · date and publication", + "u": "https://guides.loc.gov/gutenberg?loclr=blogbib" + } + ] + }, + { + "when": "AD 1516", + "title": "Greek and a new Latin version are printed", + "body": "Erasmus publishes a Greek New Testament beside his Latin translation, bringing the letters into a new printed edition.", + "acts": [ + "revising", + "translating", + "distributing" + ], + "place": "Basel, Switzerland", + "note": "This was the first published printed Greek New Testament. The Complutensian New Testament had been printed earlier but published later.", + "src": [ + { + "t": "Museum of the Bible · 1516 edition", + "u": "https://collections.museumofthebible.org/artifacts/413-novum-instrumentum-omne-erasmuss-new-testament?theme=collections-highlights" + }, + { + "t": "SMU Bridwell · Erasmus editions", + "u": "https://bridwell.omeka.net/exhibits/show/highlightsbible/erasmus" + } + ] + }, + { + "when": "AD 1519", + "title": "The printed edition is corrected", + "body": "Erasmus’s second New Testament edition corrects typographical errors in the first. Revision continues after publication.", + "acts": [ + "revising", + "distributing" + ], + "place": "Basel, Switzerland", + "note": "A documented correction of an earlier edition. This does not imply that Erasmus’s editions became free from error.", + "src": [ + { + "t": "Museum of the Bible · second edition", + "u": "https://collections.museumofthebible.org/artifacts/18089-erasmuss-new-testament-in-greek-and-latin-second-edition?theme=a-history-of-translation" + } + ] + }, + { + "when": "AD 1522", + "title": "Paul is printed in Luther’s German", + "body": "Luther’s September Testament brings the New Testament, including Paul’s letters, to German readers in a new translation.", + "acts": [ + "translating", + "distributing" + ], + "place": "Wittenberg, Germany", + "note": "Luther’s was not the first German Bible translation. The date identifies his September New Testament edition.", + "src": [ + { + "t": "Emory Pitts Library · September Testament", + "u": "https://digital.pitts.emory.edu/s/digital-collections/item/5549" + }, + { + "t": "Morgan Library · Luther’s Bible", + "u": "https://www.themorgan.org/exhibitions/online/word-and-image/7" + } + ] + }, + { + "when": "AD 1526", + "title": "English copies cross the Channel", + "body": "Tyndale’s printed English New Testament is published at Worms and copies are smuggled into England and Scotland.", + "acts": [ + "translating", + "distributing" + ], + "place": "Worms → Britain", + "note": "The distribution claim follows the holding library’s account. The work includes all the New Testament letters, not only the Gospels.", + "src": [ + { + "t": "Chetham’s Library · Tyndale New Testament", + "u": "https://library.chethams.com/collections/101-treasures-of-chethams/william-tyndales-new-testament/" + } + ] + }, + { + "when": "AD 1534", + "title": "Tyndale revises his own translation", + "body": "Tyndale publishes a corrected New Testament, comparing his English with Greek and improving the earlier edition.", + "acts": [ + "revising" + ], + "place": "Antwerp", + "note": "A direct example of revising an existing translation rather than merely copying it.", + "src": [ + { + "t": "Chetham’s Library · 1534 revision", + "u": "https://library.chethams.com/collections/101-treasures-of-chethams/william-tyndales-new-testament/" + }, + { + "t": "Library of Congress · Tyndale’s influence", + "u": "https://www.loc.gov/loc/lcib/9707/tyndale.html" + } + ] + }, + { + "when": "AD 1551", + "title": "Verse numbers make passages easier to find", + "body": "Robert Estienne’s New Testament introduces the numbered verse divisions that become the familiar reference system for Paul’s letters.", + "acts": [ + "adapting", + "distributing" + ], + "place": "Geneva", + "note": "This concerns the modern New Testament verse-numbering system, not the first historical division of any biblical text. It is a navigation aid, not new inspired wording.", + "src": [ + { + "t": "Trinitarian Bible Society · 1551 edition", + "u": "https://www.tbsbibles.org/page/1551StephanusGreekNewTestament" + } + ] + }, + { + "when": "AD 1611", + "title": "Earlier English work is revised again", + "body": "The King James translators build on the Bishops’ Bible and earlier English versions, checking their work against Hebrew and Greek.", + "acts": [ + "translating", + "revising", + "distributing" + ], + "place": "England", + "note": "The translators’ rules explicitly allowed the use of earlier translations. This stop describes transmission and revision, not the edition’s historical publishing privileges.", + "src": [ + { + "t": "SMU Bridwell · translation rules", + "u": "https://bridwell.omeka.net/exhibits/show/kjb1611/king-james-and-his-translators" + }, + { + "t": "Cambridge University Library · 1611", + "u": "https://wwwe.lib.cam.ac.uk/CUL/exhibitions/KJV/1611.html" + } + ] + }, + { + "when": "AD 1661", + "title": "The letters are printed in Wôpanâak", + "body": "The Wôpanâak New Testament associated with John Eliot’s translation work is printed in Cambridge, Massachusetts.", + "acts": [ + "translating", + "distributing" + ], + "place": "New England", + "note": "The New Testament appeared in AD 1661; the complete Bible followed in AD 1663. The work involved Indigenous contributors as well as Eliot; this stop does not attribute the entire effort to one person.", + "src": [ + { + "t": "The Huntington · 1661 New Testament", + "u": "https://www.huntington.org/collections/lib-18725" + }, + { + "t": "Wôpanâak Bible Census · editions", + "u": "https://eliotcensus.org/about/" + } + ] + }, + { + "when": "AD 1715", + "title": "Paul is printed in Tamil", + "body": "The Tamil New Testament is published, including the letters, extending this transmission into a major South Indian language.", + "acts": [ + "translating", + "distributing" + ], + "place": "South India", + "note": "Harvard’s holding-library account dates the translated and published New Testament to AD 1715. It does not date the later complete one-volume Tamil Bible to this year.", + "src": [ + { + "t": "Harvard Divinity School Library · Tamil", + "u": "https://library.hds.harvard.edu/exhibits/incomparable-treasure/translations/tamil" + } + ] + }, + { + "when": "AD 1813", + "title": "The letters are printed in Chinese", + "body": "Robert Morrison’s Chinese New Testament is published, carrying Paul’s letters in a Chinese translation.", + "acts": [ + "translating", + "distributing" + ], + "place": "China", + "note": "This stop identifies the dated edition held by Harvard. It does not claim that Morrison worked alone or that Chinese Christians had never encountered biblical material before.", + "src": [ + { + "t": "Harvard Library · 1813 New Testament", + "u": "https://listview.lib.harvard.edu/lists/drs-432072489" + } + ] + }, + { + "when": "AD 1836", + "title": "The New Testament can be read by touch", + "body": "Perkins prints the New Testament in three volumes of Boston Line Type, an embossed alphabet for blind readers.", + "acts": [ + "adapting", + "copying" + ], + "place": "Boston, United States", + "note": "The archive lists all three New Testament volumes under AD 1836. This was raised Roman lettering, not braille; all the letters were included within the New Testament.", + "src": [ + { + "t": "Perkins Archives · Boston Line Type inventory", + "u": "https://www.perkins.org/finding-aid/perkins-boston-line-type-books/" + } + ] + }, + { + "when": "AD 1862", + "title": "Paul’s letters are printed in Yoruba", + "body": "An edition credits Samuel Ajayi Crowther and Thomas King with translating letters including Philippians, Colossians, Timothy, Titus, and Philemon.", + "acts": [ + "translating", + "distributing" + ], + "place": "Yoruba readers in West Africa", + "note": "The dated bibliographic record explicitly names the Pauline letters and both translators. Its historical title also groups Hebrews with Paul; this timeline does not decide Hebrews’ authorship.", + "src": [ + { + "t": "WorldCat · 1862 Yoruba epistles", + "u": "https://search.worldcat.org/title/The-Epistles-of-St.-Paul-to-the-Phillippians-Colossians-Thessalonians-Timothy-Titus-Philemon-and-the-Hebrews-the-General-Epistles-of-St.-John-the-General-Epistle-of-St.-Jude-and-the-Revelation-of-St.-John.-Translated-into-Yoruba-by-the-Rev.-S.-Crowther-and-the-Rev.-T.-King/oclc/792761014" + } + ] + }, + { + "when": "AD 1881", + "title": "The English New Testament is revised", + "body": "The Revised Version updates the English New Testament. Paul’s letters are compared and rendered again for another generation.", + "acts": [ + "translating", + "revising", + "distributing" + ], + "place": "Britain and the United States", + "note": "The New Testament was published in AD 1881; the Revised Version Old Testament followed in AD 1885. These publication dates should not be collapsed into one year.", + "src": [ + { + "t": "Library of Congress · 1881 Revised Testament", + "u": "https://www.loc.gov/item/unk82095910/" + }, + { + "t": "Cambridge University Press · Greek text and revision", + "u": "https://www.cambridge.org/core/books/new-testament-in-greek/82E206CA16D65ABA6562F0F8E9B57D71" + } + ] + }, + { + "when": "AD 1940s–1950s", + "title": "The Bible becomes a recorded voice", + "body": "Alexander Scourby records the King James Bible, allowing blind listeners and others to hear Paul’s letters in recorded form.", + "acts": [ + "adapting", + "distributing" + ], + "place": "United States", + "note": "AFB dates a Bible recording to AD 1945; Scourby Bible Media identifies AD 1953. A range avoids conflating recordings or claiming an unsupported single completion date. Audio is a format adaptation here, not a claim about its legal classification or licence.", + "src": [ + { + "t": "American Foundation for the Blind · Scourby", + "u": "https://afb.org/about-afb/history/online-museums/afb-talking-book-exhibit/celebrity-narrators/alexander-scourby" + }, + { + "t": "Scourby Bible Media · biography", + "u": "https://www.scourby.com/about-scourby/" + } + ] + }, + { + "when": "AD 2009", + "title": "An ancient copy becomes searchable online", + "body": "The Codex Sinaiticus project reunites images of its surviving pages online, with a linked transcription that includes Paul’s letters.", + "acts": [ + "copying", + "adapting", + "distributing" + ], + "place": "International digital collaboration", + "note": "The online launch was 6 July AD 2009. Public access to a website is not, by itself, a claim that every image or digital asset has unrestricted reuse rights.", + "src": [ + { + "t": "University of Birmingham · project launch", + "u": "https://www.birmingham.ac.uk/news-archive/2009/the-worlds-oldest-bible-reunited-online" + }, + { + "t": "Codex Sinaiticus · electronic edition", + "u": "https://codexsinaiticus.org/en/project/edition.aspx" + } + ] + }, + { + "when": "AD 2020", + "title": "A modern English text is freely reusable", + "body": "The World English Bible’s stable text edition places a modern English Bible, including Paul’s letters, in the public domain.", + "acts": [ + "translating", + "revising", + "distributing" + ], + "place": "Worldwide", + "note": "The publisher identifies this as the AD 2020 stable text edition. The World English Bible name is a trademark; the translation text is public domain.", + "src": [ + { + "t": "eBible.org · World English Bible Classic", + "u": "https://www.ebible.org/eng-web/copyright.htm" + } + ] + }, + { + "when": "AD 2023", + "title": "A modern translation is released to everyone", + "body": "The Berean Bible texts enter the public domain, permitting others to reproduce, integrate, and adapt Paul’s letters in these translations.", + "acts": [ + "distributing" + ], + "place": "Worldwide", + "note": "The publisher dates its dedication to 30 April AD 2023. This stop concerns the text dedication, not the separate rights in every recording, image, or edition.", + "src": [ + { + "t": "Berean Bible · publisher’s dedication", + "u": "https://berean.bible/terms.htm" + } + ] + }, + { + "when": "Today", + "title": "Now the letters reach you", + "body": "You can read Paul’s letters on a screen, then carry the work forward by copying, translating, revising, adapting, and distributing.", + "acts": [ + "copying", + "translating", + "revising", + "adapting", + "distributing" + ], + "place": "Wherever you are", + "note": "This is the reader-facing endpoint, not a dated historical artifact. These milestones illustrate several branches of transmission, not a single proven line of descent.", + "src": [ + { + "t": "Read Romans · AAB", + "u": "https://seedbible.org/?translation=AAB&book=ROM&chapter=1" + }, + { + "t": "Free Use Bible API", + "u": "https://bible.helloao.org/docs/" + } + ] + } +]; diff --git a/docs/.vuepress/testimonies.ts b/docs/.vuepress/testimonies.ts new file mode 100644 index 00000000..d26ad4f9 --- /dev/null +++ b/docs/.vuepress/testimonies.ts @@ -0,0 +1,57 @@ +/** + * The testimony river: the slow-moving row of faces and testimonies under + * "Supported by partners who believe Scripture should be truly free." on the + * home page. Drawn by components/TestimonyRiver.vue. Edit TESTIMONIES by hand. + * + * Only real testimonies from real people, shared with their permission. The + * river slips a "Your testimony here" card in after every few entries, linking + * to the Support page's #testimony section. With no entries, it shows one + * invitation instead. + * + * Preview the design with sample cards by adding ?river-preview to the + * address. Sample cards are never shown otherwise. + * + * Quotes stay in the language they were given in, so they are not in + * labels.json. + */ + +export interface Testimony { + /** Shown as written. */ + name: string; + /** Optional affiliation: title and organization. */ + role?: string; + /** + * Optional path under .vuepress/public: square, at least 96 px, under + * 30 KB. Without one, initials are drawn. + */ + photo?: string; + /** One or two sentences, about 160 characters. */ + quote: string; + /** True if they also support AO Lab. */ + gave?: boolean; +} + +/* From the case for support. */ +export const TESTIMONIES: Testimony[] = [ + { + name: 'Ted Hallum', + role: 'Director of Analytics & Information Management, Ligonier Ministries', + photo: '/people/ted-hallum.jpg', + quote: 'If you’re a Christian developer wanting to incorporate God’s Word into your project unencumbered, then AO Lab’s Free Use Bible API is the single most important piece of infrastructure on planet Earth.', + }, + { + name: 'Ryder Wishart, PhD', + role: 'CEO, Frontier R&D, makers of Aquilla', + quote: 'It’s the best Bible API ever. It’s on seedbible.org (the best Bible reading environment) and we use it in aquilla.app.', + }, + { + name: 'Maxwell Warren', + role: 'Building an open source Bible app', + quote: 'Praise be to God that He is raising people up to make high quality open source software.', + }, + { + name: 'Larry Hendrix', + role: 'Building an app to help his church engage Scripture', + quote: 'The end goal isn’t who has the best tech, but enabling growth in believers.', + }, +]; diff --git a/docs/.vuepress/wallData.ts b/docs/.vuepress/wallData.ts index 4f6043ff..e715f18a 100644 --- a/docs/.vuepress/wallData.ts +++ b/docs/.vuepress/wallData.ts @@ -7,15 +7,15 @@ * Claims beyond the goal are reported as going to the Free Use Fund. On the * page, "claimed" is labelled "Pledged". * - * Current base (November 9, 2026): + * Current base (November 13, 2026): * four active monthly donors on better.giving, $125 + $70 + $3 + $20 = * $218 a month (the $20 donor joined Nov 4, 2026) * pledged: 12 months of 2027 ($2,616) plus Nov and Dec 2026 payments * ($436) = $3,052 - * received so far: Nov 4 $20, Nov 7 $70 = $90 + * received so far: Nov 4 $20, Nov 7 $70, Nov 13 $125 = $215 * $5,000 annual support, received * $2 one-time gift, Oct 31, 2026, received - * others = { claimed: 3052 + 5000 + 2 = 8054, received: 90 + 5000 + 2 = 5092 } + * others = { claimed: 3052 + 5000 + 2 = 8054, received: 215 + 5000 + 2 = 5217 } * Amounts are gross gifts, before processing fees. * Shown anonymously until each donor agrees to be named. * @@ -72,6 +72,6 @@ export const WALL_DATA: WallData = { year: 2027, goal: 500000, unit: 240, - others: { claimed: 8054, received: 5092 }, + others: { claimed: 8054, received: 5217 }, supporters: [], }; diff --git a/docs/open-ecosystem-flywheel.md b/docs/open-ecosystem-flywheel.md new file mode 100644 index 00000000..2e84685d --- /dev/null +++ b/docs/open-ecosystem-flywheel.md @@ -0,0 +1,18 @@ +--- +layout: FlywheelLayout +sidebar: false +title: Why Christians should support an open ecosystem +headTitle: Why Christians should support an open ecosystem | Free Use Bible API +description: Why Christians should support an open ecosystem, and how each open release of content, data, tools and software gives the next builder more to start from. +--- + +<!-- + This page uses FlywheelLayout, which does not render the markdown below on the site. + Its text is in .vuepress/labels.json under "flywheelPage". +--> + +# Why Christians should support an open ecosystem + +The long form of the home page's flywheel section: the body of Christ, the flywheel, the restrictions that +stop it, the licences that keep it turning, and what is left to build. +See `.vuepress/components/FlywheelPage.vue`. diff --git a/docs/open-ecosystem.md b/docs/open-ecosystem.md new file mode 100644 index 00000000..d251ef3b --- /dev/null +++ b/docs/open-ecosystem.md @@ -0,0 +1,18 @@ +--- +layout: OpenEcosystemLayout +sidebar: false +title: Let’s build an open ecosystem +headTitle: Let’s build an open ecosystem | Free Use Bible API +description: Scripture, tools and data that any Christian may freely use, build on and share. +--- + +<!-- + This page uses OpenEcosystemLayout, which does not render the markdown below on the site. + Its text is in .vuepress/labels.json under "openEcosystem". +--> + +# Let’s build an open ecosystem + +The landing page for the "Let’s build an open ecosystem for global Christianity" banner. It is linked from +campaigns rather than the navbar. +See `.vuepress/components/OpenEcosystemPage.vue`. From 18dff3ac5e1abbbbcda9ec6453e78426351d2e26 Mon Sep 17 00:00:00 2001 From: Craig Bradley <craigbbradley@MacBook-Pro.local> Date: Sat, 14 Nov 2026 15:29:49 -0500 Subject: [PATCH 2/4] Rename the article to Why Christians Should Build Open Ecosystems - Page title and heading now read "Why Christians Should Build Open Ecosystems". - Remove its footer link; it returns in an articles section once there are more articles. - Link to it from the open ecosystem landing page's flywheel section, as on the home page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --- docs/.vuepress/components/FlywheelPage.vue | 2 +- docs/.vuepress/components/OpenEcosystemPage.vue | 17 +++++++++++++++++ docs/.vuepress/components/SiteFooter.vue | 8 -------- docs/.vuepress/labels.json | 3 +-- docs/open-ecosystem-flywheel.md | 8 ++++---- 5 files changed, 23 insertions(+), 15 deletions(-) diff --git a/docs/.vuepress/components/FlywheelPage.vue b/docs/.vuepress/components/FlywheelPage.vue index ae12223b..7a61069e 100644 --- a/docs/.vuepress/components/FlywheelPage.vue +++ b/docs/.vuepress/components/FlywheelPage.vue @@ -11,7 +11,7 @@ import { import { useVerses } from '../composables/useVerses'; import type { Labels } from '../labels'; -// Why Christians should support an open ecosystem: the long form of the home +// Why Christians Should Build Open Ecosystems: the long form of the home // page's flywheel section. The body of Christ, the flywheel drawn as a wheel, // the restrictions that stop it, the licences that keep it turning, and what // is left to build. diff --git a/docs/.vuepress/components/OpenEcosystemPage.vue b/docs/.vuepress/components/OpenEcosystemPage.vue index 72b80101..b5d0fcb6 100644 --- a/docs/.vuepress/components/OpenEcosystemPage.vue +++ b/docs/.vuepress/components/OpenEcosystemPage.vue @@ -154,6 +154,13 @@ onBeforeUnmount(() => io?.disconnect()); {{ labels.home.flywheel[step] }} </li> </ol> + <p class="fw-more"> + <RouteLink + :to="localePage('/open-ecosystem-flywheel.html')" + >{{ labels.home.flywheelLink }} + <span aria-hidden="true">→</span></RouteLink + > + </p> </div> </section> @@ -449,6 +456,16 @@ onBeforeUnmount(() => io?.disconnect()); } } + .fw-more { + margin: clamp(30px, 4.4vh, 44px) 0 0; + font-size: 15px; + font-weight: 600; + } + .fw-more a { + color: inherit; + text-decoration: underline; + text-underline-offset: 4px; + } /* ---------- the flywheel ---------- */ .fw-flow { list-style: none; diff --git a/docs/.vuepress/components/SiteFooter.vue b/docs/.vuepress/components/SiteFooter.vue index 8da2650f..fe0c671e 100644 --- a/docs/.vuepress/components/SiteFooter.vue +++ b/docs/.vuepress/components/SiteFooter.vue @@ -179,14 +179,6 @@ const aoLabLogoDark = withBase('/ao_lab_logo_dark.png'); >{{ labels.footer.newsletterShort }}</a > </li> - <li> - <RouteLink - :to=" - localePage('/open-ecosystem-flywheel.html') - " - >{{ labels.footer.flywheel }}</RouteLink - > - </li> <li> <RouteLink :to="localePage('/free-use-fund.html')" diff --git a/docs/.vuepress/labels.json b/docs/.vuepress/labels.json index 67115bab..520df1be 100644 --- a/docs/.vuepress/labels.json +++ b/docs/.vuepress/labels.json @@ -250,7 +250,6 @@ "seedBibleSoon": "Seed Bible (Coming soon)", "discordShort": "Discord", "newsletterShort": "Newsletter", - "flywheel": "Why an open ecosystem", "freeUseFund": "Free Use Fund", "support": "Support AO Lab", "nonprofit": "A 501(c)(3) nonprofit", @@ -568,7 +567,7 @@ "buildLabel": "Start building" }, "flywheelPage": { - "kicker": "Why Christians should support an open ecosystem", + "kicker": "Why Christians Should Build Open Ecosystems", "bodyTitle": "The body of Christ\nis meant to build as one.", "flywheelTitle": "An open ecosystem multiplies the work.", "flywheelLead": "Every open release gives the next builder more to start from.", diff --git a/docs/open-ecosystem-flywheel.md b/docs/open-ecosystem-flywheel.md index 2e84685d..b07f8177 100644 --- a/docs/open-ecosystem-flywheel.md +++ b/docs/open-ecosystem-flywheel.md @@ -1,9 +1,9 @@ --- layout: FlywheelLayout sidebar: false -title: Why Christians should support an open ecosystem -headTitle: Why Christians should support an open ecosystem | Free Use Bible API -description: Why Christians should support an open ecosystem, and how each open release of content, data, tools and software gives the next builder more to start from. +title: Why Christians Should Build Open Ecosystems +headTitle: Why Christians Should Build Open Ecosystems | Free Use Bible API +description: Why Christians should build open ecosystems, and how each open release of content, data, tools and software gives the next builder more to start from. --- <!-- @@ -11,7 +11,7 @@ description: Why Christians should support an open ecosystem, and how each open Its text is in .vuepress/labels.json under "flywheelPage". --> -# Why Christians should support an open ecosystem +# Why Christians Should Build Open Ecosystems The long form of the home page's flywheel section: the body of Christ, the flywheel, the restrictions that stop it, the licences that keep it turning, and what is left to build. From 0500982c0b98600f302af65ab193f348440d7f40 Mon Sep 17 00:00:00 2001 From: Craig Bradley <craigbbradley@MacBook-Pro.local> Date: Sat, 14 Nov 2026 15:41:55 -0500 Subject: [PATCH 3/4] Support page: new story section copy Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --- docs/.vuepress/labels.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/.vuepress/labels.json b/docs/.vuepress/labels.json index 520df1be..a95bdc47 100644 --- a/docs/.vuepress/labels.json +++ b/docs/.vuepress/labels.json @@ -330,8 +330,8 @@ }, "chooseNote": "You choose what appears publicly on the support wall.", "testimonyTitle": "We’d love to hear from you!", - "testimonyStepShare": "**Share your story.** How are you using the API? Or simply send a word of thanks or encouragement.", - "testimonyStepPermission": "**May we share your story?** If you would like to redact anything or remain anonymous, let us know! Did you make a donation? If so, please include the amount so we can add it to the support wall.", + "testimonyStepShare": "How are you using the API? Please let us know so we can potentially partner or showcase you!", + "testimonyStepPermission": "Did you make a donation? If so, please include the amount so we can add it to the support wall. If not, please pray for us for this movement. Nothing is more important than that!", "testimonyButton": "Email us your story", "testimonySubject": "My testimony for the support wall", "testimonyEmail": "Name or organization:\nMay we share your story? Anything to redact, or should we keep you anonymous?:\n\nYour story (how you use the API, a word of thanks, or a note of encouragement):\n\nLink to what you built (optional):\n\nIf you donated, the amount (optional):\nShort message for the wall, up to 80 characters (optional):\n\nAttach screenshots, photos, or a logo as an SVG or a transparent PNG at least 600 pixels on its long side (optional).\n", From abadf8cbe3649c39c705bf16607abba57cb9a38f Mon Sep 17 00:00:00 2001 From: Craig Bradley <craigbbradley@MacBook-Pro.local> Date: Sat, 14 Nov 2026 15:45:05 -0500 Subject: [PATCH 4/4] Support page: bold the story section's opening questions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --- docs/.vuepress/labels.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/.vuepress/labels.json b/docs/.vuepress/labels.json index a95bdc47..a6f22477 100644 --- a/docs/.vuepress/labels.json +++ b/docs/.vuepress/labels.json @@ -330,8 +330,8 @@ }, "chooseNote": "You choose what appears publicly on the support wall.", "testimonyTitle": "We’d love to hear from you!", - "testimonyStepShare": "How are you using the API? Please let us know so we can potentially partner or showcase you!", - "testimonyStepPermission": "Did you make a donation? If so, please include the amount so we can add it to the support wall. If not, please pray for us for this movement. Nothing is more important than that!", + "testimonyStepShare": "**How are you using the API?** Please let us know so we can potentially partner or showcase you!", + "testimonyStepPermission": "**Did you make a donation?** If so, please include the amount so we can add it to the support wall. If not, please pray for us for this movement. Nothing is more important than that!", "testimonyButton": "Email us your story", "testimonySubject": "My testimony for the support wall", "testimonyEmail": "Name or organization:\nMay we share your story? Anything to redact, or should we keep you anonymous?:\n\nYour story (how you use the API, a word of thanks, or a note of encouragement):\n\nLink to what you built (optional):\n\nIf you donated, the amount (optional):\nShort message for the wall, up to 80 characters (optional):\n\nAttach screenshots, photos, or a logo as an SVG or a transparent PNG at least 600 pixels on its long side (optional).\n",