You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Challenge pages: experts CTA opens the contact page #328
#212 (PRD: website redesign v2, delivery steps J1 to J6)
Context
#327 adds ContactCta. Every "Échanger avec un architecte" button now opens the contact page in the current language.
On challenge pages, the experts block CTA ("Échanger avec l'un d'eux" / "Talk to one of them") was left out. It still scrolls to the #diagnostic block at the bottom of the page. It also disappears when the page has no diagnostic block.
The hero CTA on the same page always shows and always opens the contact page, so the two CTAs now behave differently.
Decision needed
Should the experts CTA open the contact page too?
Yes (recommended): one rule for every contact CTA. ChallengeExperts loses its hasDiagnostic prop.
No: keep the scroll to the diagnostic block, which repeats the offer before the contact link.
What to build (if yes)
app/components/challenges/challenge-experts.tsx: replace the anchor with <ContactCta size="md">{t('experts.cta')}</ContactCta>.
Remove hasDiagnostic from ChallengeExperts and from the challenge route.
Update the slug route test that expects #diagnostic for "Talk to one of them".
Acceptance criteria
The experts CTA opens /fr/contact on French pages and /en/contact on English pages.
It shows even when the page has no diagnostic block.
Activity