2027 redesign: put the conference name, dates and CTAs on the homepage fold - #4800
Draft
marcoacierno wants to merge 1 commit into
Draft
2027 redesign: put the conference name, dates and CTAs on the homepage fold#4800marcoacierno wants to merge 1 commit into
marcoacierno wants to merge 1 commit into
Conversation
The homepage hero was a full-viewport illustration with no text: a visitor had to scroll two screens before learning what the event is, when and where it happens, or how to get a ticket. Give the HomepageHero block the copy it was missing (pretitle, title, subtitle, highlight, primary and secondary CTA) and render it with the copy-left / illustration-right layout interior pages already use. The illustration can now also be one of the static styleguide illustrations, which paints immediately instead of taking a couple of seconds like the animated city scene. Heroes with no copy configured keep rendering exactly as before, so already published pages are untouched until they're edited. Refs #4797 Co-authored-by: Marco Acierno <3382153+marcoacierno@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
Adds copy/CTA fields to the
No blocking issues found. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4800 +/- ##
==========================================
+ Coverage 93.08% 93.10% +0.02%
==========================================
Files 360 360
Lines 11202 11221 +19
Branches 902 902
==========================================
+ Hits 10427 10447 +20
+ Misses 663 662 -1
Partials 112 112 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The homepage hero was a full-viewport illustration with no text at all: the conference name, dates and city only appeared one full scroll below the fold.
This gives the
HomepageHeroCMS block the copy it was missing and renders it with the copy-left / illustration-right layout interior pages already use.New fields on the Homepage Hero block
pretitleBologna, May 27 - 30, 2027titlePyCon Italia 2027subtitlehighlight1,000+ attendeesprimary_cta/secondary_ctamodal:links are supported like in the other blocksillustrationRendering
Deploying
The frontend fetches the GraphQL schema at build time from the deployed backend, so the backend needs to reach pastaporto-admin.pycon.it before the Frontend Lint codegen step can pass on this branch. The deploy pipeline already deploys the backend before building the frontend on main.
Checks
uv run pytest api cms -q -n auto- 596 passed, 7 skipped, 1 xfaileduv run python manage.py makemigrations --check- No changes detecteduv tool run ruff@0.12.5 check api/cms cms- All checks passednpx tsc --noEmit(against the locally generated schema) - only the pre-existing file-input errornpx @biomejs/biome check .- cleanPart of #4797
Generated with Claude Code