Skip to content

Landing page: builder-first structure and inverted bands (stack 3 of 6) - #383

Merged
danbaruka merged 3 commits into
IntersectMBO:mainfrom
IanoNjuguna:stack/02a-landing-page
Nov 10, 2026
Merged

danbaruka merged 3 commits into
IntersectMBO:mainfrom
IanoNjuguna:stack/02a-landing-page

Conversation

@IanoNjuguna

@IanoNjuguna IanoNjuguna commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

What this does

The landing page as it will ship, with the current bar and footer untouched. This is the first of four PRs that together replace the old one, split so each can be read on its own.

  • Hero on caramel, then five bands: 01 Start here, 02 Pathways, 03 Explore Cardano, 04 Become a Contributor, 05 Latest Updates
  • 03 and 05 invert to midnight in light mode and to moon in dark mode, so the page has two chapter breaks instead of five near-identical bands
  • Pathways is an expanding panel per track, each with its own accent on a 3px leading stripe
  • Latest Updates is a horizontal session track built from sessions.json, which Session index generator, repo metadata and types (stack 1 of 6, no visual change) #380 adds
  • Section 04 pairs the contribution routes with the next working-group call

The stack

PR Layer Size
#380 session generator, sessions.json, repo metadata, types 6 files, +327 −6
#384 design tokens, no visual change 1 file, +108 −2
this the landing page 14 files, +2003 −438
#385 section 04 and the sessions control 6 files, +551 −226
next the footer 3 files, +296 −37
next the bar and the phone menu sheet 10 files, +673 −43

Merge in that order. The two above this one open once it lands, because a PR's base has to live in this repository and the stack is built in a fork, so a stacked PR opened early would show this layer's diff twice.

The diff on this page is cumulative until #380 and #384 merge. Its own layer is 21 files, +2496 −811; the extra files are the two layers below it, shown here because main does not have them yet.

Decisions worth a reviewer's time

Bands are tokens, not colours. Each band declares --band-bg and --card-bg; .bandDark re-points the whole token set on the section element. In light mode the inverted band is midnight, in dark mode it is moon, which is what stops the rhythm disappearing when the page is already dark.

The old bar and footer rules are carried forward unchanged at the foot of custom.css. The page has to land before the chrome that replaces it, and without those rules the current footer would lose its gradient and the bar its link colours the moment this merged. The two PRs above delete them, one each.

Section 04 computes the next call at build time from meetup-sessions.json rather than fetching anything. #378 records what that means when a series pauses.

Verified

No test runner in this repo, so: tsc --noEmit, docusaurus build, and measurement in a browser.

  • Bands resolve caramel, white, moon, midnight, white, midnight at 1280
  • Footer keeps its gradient, bar keeps its blue, so the interim state is coherent
  • No horizontal overflow at 1280, no broken links in the docs link check
  • Every text element on the landing bands scanned against its own painted background in both themes, none under 4.5:1

Related issues

#300, the component and design-token baseline. This PR is the semantic layer that issue asks for, for this surface: --color-*, --space-*, --radius-*, --shadow-*, plus the band pair and per-track accents, consumed by name and never as raw values. What it does not do is the three-tier export (W3C JSON, Style Dictionary), the agent skill, or the CI check that fails on arbitrary values, so #300 stays open.

#201, the core contributor pathway, asked for core protocol contribution to be a parallel track rather than a later chapter, and was closed as not planned. Section 02 carries five parallel tracks, three of them core protocol (Haskell, Rust, Go), each landing on the core-contributor guides under how-to-guide/advanced/. Recorded as context, not as a close.

#264 is handled by its own PR, which links the existing Yaci DevKit guide from Getting Started.

Three things that no page renders yet, shipped first so the landing page can import them.

`scripts/generate-sessions.js` reads the archive's frontmatter and writes
`src/data/sessions.json`. It derives each href from the file's own path, accounting for
Docusaurus stripping number prefixes and for `readme`/`index` folders, because the archive is
inconsistent: most sessions carry a `slug:` that includes their number, eight have none and are
served at the number-stripped path, and two folders are both numbered 14. 21 sessions against
26 built routes, none missing.

`scripts/fetch-github-data.js` also calls `/repos/{owner}/{repo}` and writes a `repo` block,
with the same keep-on-failure rule as the rest of that script. `githubData.json` gains that
block so a local build has stars and forks to render.

`@types/react-dom` arrives for the components that follow.
Colour, spacing, radius and shadow tokens named by intent rather than by value, plus the
warning callout's four values, the track accents, the focus ring and the theme-switch rules.
106 tokens where the stylesheet had 85 and drops none of them, so every existing rule keeps
resolving to what it resolved to before: the rendered page is unchanged, which is the point of
landing the vocabulary before the page that speaks it.

The dark surface moves to html[data-theme='dark'] in the same pass. Infima declares its own dark
tokens on that selector, so a bare [data-theme='dark'] block loses every contested token without
saying so.
@IanoNjuguna
IanoNjuguna force-pushed the stack/02a-landing-page branch from e378f6d to 041ffff Compare November 7, 2026 05:04
@IanoNjuguna IanoNjuguna changed the title Landing page: builder-first structure and inverted bands (stack 2 of 4) Landing page: builder-first structure and inverted bands (stack 3 of 5) Nov 7, 2026
Hero on caramel, then five bands: 01 Start here, 02 Pathways, 03 Explore Cardano, 04 Become a
Contributor, 05 Latest Updates. 03 and 05 invert to midnight in light mode and to moon in dark
mode, so the page has two chapter breaks instead of five near-identical bands, and every band
declares --band-bg / --card-bg rather than a colour.

Pathways is an expanding panel per track with that track's accent on a 3px leading stripe.
Latest Updates is a session track built from sessions.json. Section 04 pairs the contribution
routes with the next working-group call. The hero illustration ships as webp.

The old navbar and footer rules are carried forward unchanged at the foot of the stylesheet:
this PR lands the page before the chrome that replaces them, and without those rules the current
footer would lose its gradient the moment it merged. The next two PRs delete them, one each.
@IanoNjuguna
IanoNjuguna force-pushed the stack/02a-landing-page branch from 041ffff to 7b7a741 Compare November 7, 2026 05:19
@IanoNjuguna IanoNjuguna changed the title Landing page: builder-first structure and inverted bands (stack 3 of 5) Landing page: builder-first structure and inverted bands (stack 3 of 6) Nov 7, 2026
danbaruka pushed a commit that referenced this pull request Nov 10, 2026
Credits people for something specific rather than for showing up: the first
entry is the security report that removed the Discord server invites from the
site, and the second is the landed work, counted from commits on main.

Kept as its own docs page rather than a homepage band because the landing page
is mid-rewrite in the open stack (#383, #385, #386, #387), and a band here would
conflict with all four and renumber every section.
@danbaruka
danbaruka merged commit 7b7a741 into IntersectMBO:main Nov 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants