Repository navigation
Homepage: Lacuna gets a header link, a hero name and its own section - #204
Conversation
Lacuna Institute is now linked from three places on the homepage and from the header of every page. - Header: `Lacuna` joins Products, Factory and Services on every page (projects/site-data.js nav; scripts/site-chrome.mjs regenerated the 15 static pages). - Hero: the section names under the wordmark are now Factory, Studio, Lacuna, Liminal. Four names stay on one line down to a 320px screen. - Section III, Lacuna: a full-height canvas (src/visuals/atlas.js) draws the Earth as dots, turning once in two minutes, with the Atlas's 21 sites marked. It names each site in turn; the caption, the coordinates and the links follow the name, so a press on the globe opens that site on the Atlas. The heading, the site name and "open the atlas" are links too. Under it, two rows link to the Lacuna Atlas and the Paracas bundles dataset. Liminal becomes section IV. - The globe's data (src/visuals/atlas-data.js) is generated from the Atlas's own site list and land outline by scripts/lacuna-home.mjs; the build fails when it is stale, so the homepage cannot disagree with the Atlas about which sites exist. - The homepage description (search results, link previews, llms.txt) and its structured data now say Lacuna Institute is SyberLabs' research institute. - CI: the build must contain the homepage section and the header link. - Shared modules changed, so their import tokens move to 20261116b. With reduced motion the globe is one still frame naming Paracas. The section and all ten links are in the served HTML before any script runs. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VHrJ4hF9F7rPZoYPicN6fE
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c37c0c5eea
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const y = 1 - (2 * (i + 0.5)) / N; | ||
| const lat = Math.asin(y) * 180 / Math.PI; | ||
| let lon = ((i * GOLDEN * 180 / Math.PI) % 360 + 360) % 360; if (lon > 180) lon -= 360; | ||
| if (d3.geoContains(land, [lon, lat])) points.push(Math.round(lon * 100), Math.round(lat * 100)); |
There was a problem hiding this comment.
Avoid recomputing the land grid on every build check
Whenever pnpm build:site reaches the --check in scripts/assemble-dist.sh, this loop recomputes 11,000 geoContains queries against the world topology before comparing the generated file. On the reviewed Node 24 workspace, that check kept one CPU core busy for roughly a minute, even though the data was unchanged; avoid doing the full generation during routine build checks.
Useful? React with 👍 / 👎.
Lacuna Institute is linked from the homepage in three places, and from the header of every page.
Header.
Lacunajoins Products, Factory and Services on every page (projects/site-data.js;scripts/site-chrome.mjsregenerated the 15 static pages). It fits at 1100px. On phones the header keeps the logo,Book a consultationand Menu, as before; the Menu already lists Lacuna.Hero. The section names under the wordmark are now Factory, Studio, Lacuna, Liminal. All four stay on one line down to a 320px screen.
Section III, Lacuna. A full-height canvas (
src/visuals/atlas.js) draws the Earth as dots, turning once in two minutes, with the Atlas's 21 sites marked: a lit dot for a Lacuna investigation, a ring for an open question. The globe names each site in turn. The caption, the coordinates and the links follow the name, so a press on the globe opens that site on the Atlas. The heading, the site name and "open the atlas" are links too. Under the globe, two rows link to the Lacuna Atlas and the Paracas bundles dataset, and one line says what Lacuna Institute is. Liminal becomes section IV.Also:
src/visuals/atlas-data.js) is generated from the Atlas's own site list and land outline bynode scripts/lacuna-home.mjs. The build fails when it is stale, so the homepage cannot disagree with the Atlas about which sites exist.llms.txt) and its structured data now say Lacuna Institute is SyberLabs' research institute.CLAUDE.md(Homepage) andREADME.mddescribe the fourth section. The hero still has no paragraph and no buttons, andBook a consultationis unchanged.20261116b.Without script the section and its links are in the served HTML (ten links to Lacuna on the homepage). With reduced motion the globe is one still frame naming Paracas.
Section order. Lacuna is third of four, after the product sections. Moving it directly under the hero is a one-line move in
src/App.jsxplus the numerals.#203 (Psycho Syber, draft) plans a header link, a menu entry and a homepage line in the same files as this change (
projects/site-data.js,src/App.jsx), and already editsscripts/assemble-dist.sh. Whichever lands second rebases, keeps both nav entries, then runsnode scripts/site-chrome.mjsandnode scripts/llms.mjs. The header now carries four links and fits at 1100px; a fifth needs a check at that width.Checked locally: build; the workflow's shell checks; QA sweep (48 pages, 0 errors, 0 warnings); navigation 9 of 9; probe 15 of 15; server 208 of 208; header, Atlas, Atlas-data and llms generators up to date. In Chromium at 1440, 1100, 390 and 320px: one full turn names all 21 sites, the caption and both links agree with the name at every sample, a press on the globe opened
/lacuna/#nanmadolwith that site's panel open, the name plate stays inside the canvas on phones, no page errors, no sideways scroll.https://claude.ai/code/session_01VHrJ4hF9F7rPZoYPicN6fE
Generated by Claude Code