Page layout
Every page has the same shape: a cream header band, white content, an ink footer. These are the building blocks that give it that shape, all aligned to one shared container.
Page model
Cream header band, then white content, then the ink footer. Cream comes back only as an inset band behind a card group or a callout; ink comes back only as a dark slab before the footer. Never put two cream or two dark sections next to each other.
Your local AI crew.
Every chapter is run by volunteers. Find yours, or put your city on the map.
Events near you
White content: cards, lists and running text.
| Band | Class | Background |
|---|---|---|
| Header | header.hero | --cream with a bottom border |
| Content | .wrap.home-sec sections | --content (white) |
| Inset band | .card-band, .weekly-callout | --cream / --cream-warm, inside the container |
| Closing call to action | .dark-slab in .slab-zone or .home-sec | --ink, inside the container |
| Footer | footer.footer2 | --ink, rounded top |
- Start every page with a
header.hero, even a short one. - Leave white space between an inset band and the next coloured block.
- A cream band straight after the cream header, or a dark slab touching the footer.
- Cream as the content background.
Container
One shared .wrap (max plus a gutter) holds the nav, hero, every section, the slabs and the footer, so all left and right edges land on the same two lines. Add the section class to the same element: class="wrap home-sec", class="wrap hero-inner".
This text starts on the same line as the nav logo and the footer.
- Set vertical rhythm with
padding-topandpadding-bottom(as.hero-innerand.home-secdo). - Check alignment with element bounding boxes, not by eye.
- Put a padding shorthand such as
padding: 40px 0on an element that carries.wrap: it zeroes the side gutter and the content touches the screen edge on mobile. - Nest a second max-width container inside
.wrap.
Section head
Opens a content section: an eyebrow, the section title and, when the section previews a longer list, an "All x →" link on the right. It wraps under the title on small screens and sets --head-gap below itself.
Events near you
- Name the destination in the link: "All events", "All videos".
- Keep the
.arrowspan; it nudges right on hover.
- Use a button for the link; it navigates.
- Skip the eyebrow.
Homepage hero
The centred hero with the display headline, two actions and the count-up stats. Only the homepage uses it.
Learn, build and grow with AI.
Free events, courses and a friendly community of developers in 76 countries.
- One primary and one secondary action.
- Real numbers from the database.
- Use
.home-heroon inner pages.
Page hero
The standard header band for every other page: breadcrumb, eyebrow, h1, a muted subline and up to two actions. Optional .hero-chips sit above the title.
Learn AI by building it.
Free, hands-on courses made by the Global AI Community. Learn at your own pace or in a live workshop with your chapter.
- Wrap the breadcrumb in
<nav aria-label="Breadcrumb">, hide the separators from screen readers and mark the last item.crumb-currentwitharia-current="page", not a link. - Keep the subline to one or two sentences.
- Repeat the h1 in the breadcrumb on the homepage (set
hideBreadcrumb). - More than two hero actions.
Split hero
Title on the left, proof on the right. Use .hero-split when a page has a few headline numbers (chapters, countries, cities) worth showing beside the title. It stacks on narrow screens.
Your local AI crew, in 76 countries.
Every chapter is run by volunteers - free events, talks and workshops around the world. Find yours, or put your city on the map.
- Two to four stats with short labels.
- Put actions in the right column; they belong under the subline.
Inset band
A cream panel inside the container that groups a set of cards so they read as one block. It is how cream returns below the header. Use it once or twice per page, with white space around it.
Events near you
- Put white cards on the cream band.
- Keep it inside
.wrap; it is not a full-width band.
- Place it directly under the cream header.
- Nest a band in a band.
Dark slab
The closing call to action: an ink panel with an eyebrow in logo blue, a short heading, one line of text and one orange button. Use at most one per page, near the end, above the footer with white space between them.
Start a chapter in your city.
Bring free AI events to your community. We help with speakers, content and partners.
- One action, the page's next step.
- Wrap it in
.wrap.home-secor.slab-zonefor the section rhythm.
- Two slabs on a page, or a slab touching the footer.
- A secondary button next to the primary.
Stats row
Big centred numbers with small labels, the site's proof that the community is real. data-count rolls the number up on load (skipped under reduced motion); render 0 in the markup and the real value in the attribute.
| Pattern | Use for |
|---|---|
.stats-row / .stat-big | Centred, large: the homepage hero. |
.hero-stats / .stat | Compact, left-aligned: beside a title in a split hero. |
- Three or four real numbers, labels in lower case.
- Rounded marketing numbers that don't match the data.