Repository navigation
Description
Background
We are planning on improving the UI/UX of our website.
PyCon Italia's visual identity is one of the strongest in the European Python conference scene, and nothing in this brief asks you to soften it. The problem is allocation, not aesthetics: the homepage currently spends its two most valuable screens on brand and none on information, and the navigation hides 24 links behind a single button with no structure.
We want the same identity, doing more work.
Current state
The hero is a full-viewport illustration containing no text at all. The only elements on the first screen are the PYCON(IT) 26 logo lockup and three unlabelled icon buttons.
The conference name, dates and city do exist — BOLOGNA, MAY 27 – 30, 2026 / We welcome you to PyCon Italia 2026! — but they sit one full scroll below the fold, on a second screen that spends an entire viewport on eight words and a snake illustration.
Net effect: a visitor scrolls through two complete viewports before reaching any substantive content.
Two related observations:
- The illustration takes 2–3 seconds to render. On a cold load the genuine first impression is a plain dark rectangle with a logo — so the current design isn't even delivering the brand moment it's trading information for.
- The layout we're asking for already exists in the system. Interior pages —
/help-organize-pycon-italiais the clearest example — already use copy-left / illustration-right, and it works well. The homepage is the exception, not the standard.
Problem statement
A first-time visitor cannot answer what is this, when, where, and can I still get a ticket without scrolling. The illustration is doing brand work but no information work, while occupying 100% of the highest-value space on the site.
What the fold must communicate
In priority order:
- What — "PyCon Italia 2027" as real text, not only as a logo
- When and where — dates and city, legible at a glance
- What kind of event — one line, e.g. "Four days of talks, tutorials and community, in Bologna"
- Primary action — the single most important action for the current phase (see states below)
- Secondary action — normally the programme or schedule
- Scale — optional credibility marker; the sponsor section already cites 1,000+ attendees
Directions to explore
As part of this ticket, you should explore the option of havng a Copy and CTAs left, illustration right. Lowest risk, already proven on interior pages, stacks cleanly on mobile.
Activity
marcoacierno commentedon Aug 15, 2026
@claude work on this
claude commentedon Aug 15, 2026
Claude finished @marcoacierno's task in 12m 31s —— View job •
claude/issue-4797-20260815-2223• Create PR ➔2027 hero — copy left, illustration right
HomepageHeroWagtail block + GraphQL typeschema.graphqlWhat changed
The hero was a CMS block that had exactly one field —
city— which is why the first screen had no text on it. I extended the block rather than hardcoding "PyCon Italia 2027", so copy and CTAs can change per conference phase without a deploy, like every other block on the site.Backend —
HomepageHerogainstitle,location,dates,subtitle,highlight,primary_cta,secondary_cta, all optional, mapping to the fold priority list in the issue:title— "PyCon Italia 2027" as real textlocation+dates, rendered as one uppercase eyebrow linesubtitleprimary_ctasecondary_ctahighlight— e.g. "1,000+ attendees"Frontend —
SplitSection's proven geometry, inlined because the animated hero scene needs to fill its column rather than sit in the fixed-size illustration slot that component provides: content column left, illustration bleeding to the right viewport edge (w-full-outside-container, the same trick interior pages use), stacking to a single column belowlgwith the copy first so the mobile fold leads with information.The animated day/night illustration is kept — the identity is unchanged, it just moves into the right column. Both CTAs support
modal:links, consistent withTextSectionandInformationSection.On the 2–3s render you mentioned: this also fixes the cold-load problem, because the copy is plain server-rendered text and no longer waits on the SVG. The first paint now carries the conference name, dates and CTAs whether or not the illustration has arrived.
Backwards compatibility — a block with only
cityset (i.e. every existing page today) keeps rendering the original full-bleed hero. Deploying this cannot change the live 2026 homepage before content is filled in; the new layout activates when an editor adds copy.Checks
Backend, all passing:
ruff format --checkandmypy .do report failures, but they are pre-existing on this branch's merge base — I verified by stashing my changes and re-running: identical output (Found 3 errors in 3 filesfor mypy, frombadge_scanner/models.pymodule resolution).ruff format's complaints in the two files I touched are on lines I did not write (implicit string concatenation infactories.py, a long function signature intest_cms_page.py).Frontend:
One thing to know before merging
pnpm codegenvalidates against the deployed backend (API_URL_SERVER, staging in the lint workflow), notbackend/schema.graphql. So the frontend lint job on this PR will fail withCannot query field "location" on type "HomepageHero"until the backend is deployed — the usual backend-first ordering in this repo, not a defect in the change. I verified the fragment itself is correct by running codegen against the localbackend/schema.graphql, which succeeds.I implemented only the direction the issue asked me to explore (copy left / illustration right). The navigation problem — 24 links behind one button — and removing the now-redundant second screen (
HomeIntroSection, which is a content decision in Wagtail rather than a code change) are both untouched.• Branch
claude commentedon Aug 15, 2026
Claude finished @marcoacierno's task in 16m 15s —— View job •
claude/issue-4797-20260815-2225• Create PR ➔2027 redesign — hero
HomepageHeroWagtail StreamField block; it stored onlycityschema.graphqlWhat changed
The fold had no text because the block had nowhere to store any. So the block now stores it:
pretitleBologna, May 27 – 30, 2027titlePyCon Italia 2027, as real text, not only the logosubtitleprimary_cta/secondary_ctamodal:links work like in the other blockshighlight1,000+ attendeesillustrationfrontend/src/components/blocks/homepage-hero/index.tsxrenders those in the left column with the illustration on the right, stacking copy first on mobile — the sameContainer+Grid/GridColumnshapeSectionuses on interior pages.Two deliberate choices worth your review:
illustrationin the CMS skips the animated scene entirely — that's the 2–3s problem the issue describes, made an editor choice rather than a code choice.One thing to know before CI is green
Frontend Lintrunspnpm codegenagainstpastaporto-admin.pycon.it, so it will fail on this branch until the backend is deployed there — the new fields don't exist in the deployed schema yet. Onmainthe deploy pipeline already deploys the backend and waits for it before building the frontend, so ordering is only an issue for the PR check. I verified the frontend against a locally generated schema instead.Checks
ruff format --checkalso flagsapi/cms/tests/factories.pyandtest_cms_page.py, but the diff it wants is on lines I didn't touch (implicit string concatenation and a long function signature that predate this branch), so I left them alone.Not done
Only the hero is in scope here — the navigation restructuring the issue mentions in its background section isn't part of this change.
•
claude/issue-4797-20260815-2225[-]2027 redesign - hero[/-][+]2027 redesign - hero - exploration 1[/+]