Repository navigation
fix(home): apply review feedback on the redesigned home - #327
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…n the mockup - The mission illustration plays its entry animation once scrolled into view. - The AI layers reveal one by one as the section scrolls in, and hide again on the way back up. - The agent windows stagger their rows in and show typing dots before the insight message. - Reduced motion and server render keep every element visible.
The hero CTA scrolled to the diagnostic block at the bottom of the page. It now links to the localised contact page, and shows even when the page has no diagnostic block.
…rrent language - New ContactCta component: a button that opens the localised contact page. - The home hero, challenges and why-Ocobo CTAs used to scroll to the diagnostic block. They now open the contact page. - The challenge hero and diagnostic CTAs use the component. The challenge hero no longer shows two arrows. - ButtonLink hides its arrow from screen readers.
This was referenced Nov 16, 2026
- Use transform instead of the preset translate utility, which only sets shadow variables: the illustration hover drift, the AI layer rise and the agent window rows now move. - Respect reduced motion on the illustration hover. - Add ContactCta to the button recipe jsx list so its props are extracted. - Drop the unused hero-reveal keyframe and token. - Update the outdated diagnostic anchor comments. - Test ContactCta on the unprefixed home.
This branch was successfully deployed
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.
Fixes from Benjamin's review of the redesigned home (#324), plus one on the challenge pages.
Changes
Method section background
app/components/home/interventions-section.tsx: the method section (#methode) goes from grey to white. It followed the grey mission section, and the two read as one grey block. The section order now alternates as in the mockup.Mission illustration animation
app/components/home/dashboard-illustration.tsx: the illustration plays its entry animation once a quarter of it is in view. The shapes pop, the windows rise, then the lines, bars and pie grow and the wave draws itself. On hover the windows drift apart and the shapes swell, unless the visitor prefers reduced motion.preset/keyframes.ts: newil-*keyframes for these steps.AI section animations
app/hooks/use-scroll-steps.ts(new, with tests): reveals steps one by one as an element scrolls in, and hides them again on the way back up, as in the mockup.app/components/home/ai-section.tsx: the three layers and the caption use it, in place ofReveal.app/components/home/ai-agent-windows.tsx: each agent window staggers its rows in once visible. The score bars grow, and the insight window shows typing dots before its message.preset/tokens/index.ts,preset/keyframes.ts:typing-dotanimation token andtyping-hidekeyframe. The unusedhero-revealkeyframe and token are removed.transform. The presettranslateutility only sets shadow variables and moves nothing.Server render, no JavaScript and reduced motion all keep every element visible.
Architect CTA always opens the contact page
app/components/ui/contact-cta.tsx(new, with tests): the "Échanger avec un architecte" button. It opens the contact page in the current language (/fr/contactor/en/contact).preset/recipes/button.ts:ContactCtajoins the recipejsxlist, so Panda extracts itsvariantandsizeprops.app/components/ui/button-link.tsx: the arrow is hidden from screen readers. This applies to everyButtonLink: home, challenge pages, and any other page using it. Nothing changes visually.To check on the Vercel preview
gray.light, so they get paler on white. Compare them with the mockup.preset/(keyframes, tokens, button recipe): run the J1 checklist for preset changes.Follow-up decisions