Conversation
Replace role-based i18n keys (learn/organise/campaign) with section-based keys (hero, how-it-works, fixometer, cta-banner). Update fixitclinic instance copy. Controller adds wasteTotalLbs, volunteerCount, and groupCount to the view and converts CO2 to pounds. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
New SCSS stylesheet with .fixometer, .hero--split, .how-it-works, .cta-banner, and .landing-header components. Full template rewrite replacing the three role-based cards with Fix-O-Meter hero, split hero, How It Works, and CTA banner. Header partial simplified from stats display to logo + nav links. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Update PHP assertion from landing.learn to landing.title. Update Playwright expected heading. Add test for #fixometer-hero element. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Auto-generated translations rebuild. Includes trivial trailing newline removal in app.js. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Translate new section-based landing page keys (hero, how-it-works, fixometer, cta-banner) for all non-English locales. Base instance locales translated via DeepL API; fixitclinic instance translated manually. fr-BE copied from fr. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Collaborator
Author
|
QA 👍 |
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.
Description
This redesigns the landing page/home page from the old role-based card layout (learn/organize/campaign) to a more modern section-based design.
The new layout centers around a Fix-O-Meter hero displaying global impact stats (waste diverted, CO2 prevented, devices fixed, volunteers, events), a split hero with title and CTAs, a "How It Works" 3-step card section, and a full-width CTA banner.
It brings more attention to the global data and shift the objective of the platform to be for organizing repair events.
QA Notes