diff --git a/CLAUDE.md b/CLAUDE.md index f35090c..8b0da0c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -26,3 +26,5 @@ It's okay to add temporary logging that will be removed for debugging. Don't try to guess what's broken , use debug tools / symbols, supported by the build scripts Feature docs/patches are in features//. Run scripts/create-feature-patches.sh to save patches for root, kicad, wxwidgets submodules. + +The landing page / website is in /site (Astro, deployed as static assets to Cloudflare R2). When releasing a new version, bump the hardcoded build SHA `BUILD_SHA` in site/src/components/Footer.astro to the deployed main-repo commit. It's shown in the footer and links to that commit; because it pins the kicad + wxwidgets submodule revisions implicitly, it is our GPLv3 corresponding-source pointer (see /licenses). The site is static so there's no build-time git/env to set it automatically — it must be updated by hand each release. diff --git a/README.md b/README.md index 3d98f11..8a1dbc9 100644 --- a/README.md +++ b/README.md @@ -170,6 +170,23 @@ See **[docs/README.md](docs/README.md)** for the full documentation map. Highlig - [Debugging Guide](docs/debugging/DEBUG.md) - Asyncify/WASM debugging - [Tests README](tests/README.md) - Test infrastructure +## Landing page / website + +The marketing site and landing page live in [`site/`](site/) (Astro), deployed as +static assets to Cloudflare R2. + +**On every release, bump the build SHA.** `site/src/components/Footer.astro` has a +hardcoded `BUILD_SHA` constant that is shown in the footer and links to the +corresponding commit. Because the main-repo commit pins the KiCad and wxWidgets +submodule revisions implicitly, this is our GPLv3 **corresponding-source** pointer +(surfaced on `/licenses`). The site is static, so nothing sets it automatically — +update `BUILD_SHA` by hand to the deployed `pcbjam` commit each time you release. + ## License KiCad is GPL-3.0. This project follows the same license. + +The site combines KiCad (GPLv3) with the wxWidgets fork; the wxWidgets WebAssembly +port files are LGPL v2 (without the wxWindows binary exception). See the +`/licenses` page (`site/src/content/legal/licenses.md`) for the full breakdown and +the corresponding-source offer. diff --git a/site/src/assets/gal/gal-alpha-blending-native.png b/site/src/assets/gal/gal-alpha-blending-native.png new file mode 100644 index 0000000..348d385 Binary files /dev/null and b/site/src/assets/gal/gal-alpha-blending-native.png differ diff --git a/site/src/assets/gal/gal-alpha-blending-webgl.png b/site/src/assets/gal/gal-alpha-blending-webgl.png new file mode 100644 index 0000000..8c33295 Binary files /dev/null and b/site/src/assets/gal/gal-alpha-blending-webgl.png differ diff --git a/site/src/assets/gal/gal-transform-api-native.png b/site/src/assets/gal/gal-transform-api-native.png new file mode 100644 index 0000000..06f381b Binary files /dev/null and b/site/src/assets/gal/gal-transform-api-native.png differ diff --git a/site/src/assets/gal/gal-transform-api-webgl.png b/site/src/assets/gal/gal-transform-api-webgl.png new file mode 100644 index 0000000..761c2cc Binary files /dev/null and b/site/src/assets/gal/gal-transform-api-webgl.png differ diff --git a/site/src/components/Footer.astro b/site/src/components/Footer.astro index b515eab..a3d5d35 100644 --- a/site/src/components/Footer.astro +++ b/site/src/components/Footer.astro @@ -5,6 +5,13 @@ import EECredit from './EECredit.astro'; const year = new Date().getFullYear(); // TODO(links): add Roadmap (/roadmap) and dedicated How-it-works/Open pages when they ship. const GITHUB_URL = 'https://github.com/emergence-engineering'; + +// Build provenance. Hardcoded because the site ships as static assets (R2), so +// there's no build-time git/env to read it from. BUMP THIS to the deployed +// main-repo (pcbjam) commit on each release — it pins the KiCad + wxWidgets +// submodule revisions implicitly. See /licenses for the source-code offer. +const BUILD_SHA = '695a460'; +const BUILD_COMMIT_URL = `https://github.com/emergence-engineering/pcbjam/commit/${BUILD_SHA}`; ---