Skip to content

Constrain schedule and speakers pages to the site container - #169

Merged
matrixise merged 2 commits into
mainfrom
schedule-layout
Nov 18, 2026
Merged

matrixise merged 2 commits into
mainfrom
schedule-layout

Conversation

@matrixise

Copy link
Copy Markdown
Contributor

Problem

On /schedule/, /grid/ and /speakers/, the Sessionize embeds spanned the full viewport width (edge to edge, not aligned with the navigation), and on mobile the session list was a few pixels wider than the screen. The pages also had no title or header.

Changes

New layouts/partials/programme-page.html, shared by the three pages:

  • Page header: <h1>, date and venue, plus counts computed from Sessionize (38 talks & panels · 5 workshops · 49 speakers).
  • View tabs: List / Grid / Speakers, with aria-current on the active one.
  • Constrained embed:
    • max-w-4xl for the session list and speaker bios, for a readable line length;
    • max-w-7xl (the site container, aligned with the nav) for the grid and its 5 room columns;
    • overflow-x: clip to stop the mobile overflow.
  • Removed the min-h-screen flex items-center justify-center wrapper.

assets/css/main.css: on /grid/, Sessionize's own day title ("Saturday, November 21, 2026") is hidden. This is a single-day event and the header already shows the date, and that title was a second <h1>.

Structured data is unchanged (same partials, still emitted on each page).

Verification (Playwright, local build)

Chromium and Firefox at 1440 / 768 / 390 px, on all three pages:

  • no horizontal overflow;
  • exactly one visible <h1>;
  • the correct tab is marked active;
  • JSON-LD blocks still present.

scripts/check-csp.py passes.

🤖 Generated with Claude Code

The Sessionize embeds on /schedule/ and /grid/ spanned the full viewport
(and the list was a few pixels wider than the viewport on mobile), with
no page title.

- Add partials/programme-page.html shared by /schedule/ and /grid/:
  page <h1>, date and venue, session/workshop/speaker counts from
  Sessionize, and List / Grid / Speakers tabs
- Constrain the embed to the site container: max-w-4xl for the list
  (readable line length), max-w-7xl for the grid (room columns);
  clip horizontal overflow
- Drop the min-h-screen flex centering wrapper
- Hide Sessionize's own day title on the grid (single-day event, and
  it was a second <h1>)
- /speakers/ uses partials/programme-page.html too (header, tabs,
  constrained embed); the tabs become List / Grid / Speakers views
- Speaker bios get the same readable max-w-4xl column as the session
  list; only the grid keeps the full container width
@netlify

netlify Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for pycon-ireland-2026 ready!

Name Link
🔨 Latest commit c496fd0
🔍 Latest deploy log https://app.netlify.com/projects/pycon-ireland-2026/deploys/6afe0e093f3a0fc54b9e7a48
😎 Deploy Preview https://deploy-preview-169--pycon-ireland-2026.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@matrixise
matrixise merged commit 06677cc into main Nov 18, 2026
6 checks passed
@matrixise
matrixise deleted the schedule-layout branch November 18, 2026 20:47
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.

1 participant