Repository navigation
Closed
Labels
enhancementNew feature or requestNew feature or requestready-for-agentFully specified, AFK-ready for an agentFully specified, AFK-ready for an agent
Description
Parent
#212 (PRD: website redesign v2, delivery steps J1 to J6)
What to build
The tracer bullet for the six challenge pages. One route and one template render any challenge file, found by language and slug. A missing file returns 404.
The route is _main.($lang).challenges.$slug.tsx: /challenges/<slug> in French, /en/challenges/<slug> in English. The segment and the slug are the same in both languages, like every other route (decided in #212).
This ticket renders four sections, in the order of #212:
- Hero, with the bow tie from J2: bow tie with active stages, challenge colour and KPI tooltips #227 (J2: bow tie with active stages, challenge colour and KPI tooltips) in the challenge colour and its active stages.
- Symptoms, with coral bullets on every challenge page.
- Audience.
- Diagnostic, a yellow block on every challenge page, with its call to action through
button.
A section whose content is missing is hidden. A bracketed mockup field never renders.
A challenge goes live when its file is on posts main. There is no feature flag.
Choices to make in this ticket
These are the maintainer's choices, not Ocobo's. Record them in the PR.
- The URL scheme of challenge pages.
- How the language switcher maps a French slug to its English slug.
Also in scope
- The URL maps to the
staticcache strategy ingetCacheStrategyForPath. Extend the function if it does not. - The sitemap lists every published challenge, in both languages.
Acceptance criteria
- Loader tests through
invokeLoader: the route returns the challenge for a language and slug, and 404 for a missing file. - A section with no content is absent from the page.
- French and English render, and the language switcher reaches the matching slug.
- The sitemap test covers challenge pages.
- With
GITHUB_BRANCHset to apostsbranch that holds a challenge file, the page renders on the preview.
After merge
- Once Redeploy the website on content merge to main posts#105 (Redeploy the website on content merge to main) is live and the first challenge file merges, check that a change shows on the website within minutes, without a website PR.
Open questions
- English is machine-translated from French. Who reviews the English is an open Ocobo question; it does not hold this ticket.
- The word "jalon" in the bow tie tooltips. It does not hold this ticket.
Blocked by
- J2: button secondary and link, badge ai and xs, and Eyebrow #221 (J2: button secondary and link, badge ai and xs, and Eyebrow)
- J2: bow tie with active stages, challenge colour and KPI tooltips #227 (J2: bow tie with active stages, challenge colour and KPI tooltips)
- J3: read challenge files through the content API #229 (J3: read challenge files through the content API)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestready-for-agentFully specified, AFK-ready for an agentFully specified, AFK-ready for an agent
Activity
[-]J4: enjeu page route with hero, symptoms, audience and diagnostic[/-][+]J4: challenge page route with hero, symptoms, audience and diagnostic[/+]wab commentedon Oct 21, 2026
Decision: the English challenge route is
/en/challenges/<slug>. The French route keeps the French word:/enjeux/<slug>. Slugs are identical in both languages (posts#108), so the language switcher only swaps the language prefix and the segment. Follows website#262.wab commentedon Nov 3, 2026
Impact of the mockup update in ocobo-revops/prototype#26 (page-by-page feedback from Morgane). Mockup copy enters production only once Ocobo validates it (PRD content rule). The validation question is on #212.
hero.ctalives is an open question on PRD: website redesign v2, delivery steps J1 to J6 #212.diagnostic.cta("Réserver un diagnostic") no longer matches the mockup.wab commentedon Nov 4, 2026
Impact of the mockup updates in ocobo-revops/prototype#27 (new home and AI headlines, Enjeux menu font) and ocobo-revops/prototype#28 (page headline style, manifesto button, menu entry colour). Mockup copy enters production only once Ocobo validates it (PRD content rule).
The second line of the challenge H1 is now italic, in the challenge colour.
app/components/challenges/challenge-hero.tsxrendershero.titleMutedingray.titleMutedno longer describes what it renders. Renaming it touches both Zod schemas (website andposts).wab commentedon Nov 4, 2026
The H1 second-line change above is now tracked in #303 (J4 follow-up: italic accent colour on the second line of page headlines), since this ticket is closed.
Correction: renaming
titleMutedtouches only the website view model inapp/modules/challenge-page.ts. Thepostsschema stores the hero title as a tuple, so it is not affected.