Skip to content

Commit

Permalink
additional help text when client has partner
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-solo committed Oct 18, 2024
1 parent 9e8c214 commit a2f1c1b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/StepperPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,10 @@ const StepperPage: React.FC = () => {
<h2 className="text-[32px] leading-[36px] sm:text-h2 font-header-gc mb-6 font-bold font-700">
{tsln.stepper.partnerInfo}
</h2>
{/* if it's step 2 then display a paragraph */}
{activeStep === 2 && (
<p className="mb-8">{tsln.stepper.partnerInfoHelp}</p>
)}
</>
)}
{isPartnered &&
Expand Down
1 change: 1 addition & 0 deletions i18n/web/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ const en: WebTranslations = {
stepper: {
yourInfo: 'Your information',
partnerInfo: `Partner's information`,
partnerInfoHelp: `Since you have a partner, we'll also need their information to estimate your benefits.`,
previousStep: 'Previous',
nextStep: 'Next',
getEstimate: 'Estimate my benefits',
Expand Down
1 change: 1 addition & 0 deletions i18n/web/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ const fr: WebTranslations = {
stepper: {
yourInfo: 'Vos renseignements',
partnerInfo: 'Renseignements sur votre conjoint',
partnerInfoHelp: `Puisque vous avez un partenaire, nous aurons également besoin de ses informations pour estimer vos prestations.`,
nextStep: 'Suivant',
previousStep: 'Précédent',
getEstimate: 'Estimer mes prestations',
Expand Down
1 change: 1 addition & 0 deletions i18n/web/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ export type WebTranslations = {
stepper: {
yourInfo: string
partnerInfo: string
partnerInfoHelp: string
nextStep: string
previousStep: string
getEstimate: string
Expand Down

0 comments on commit a2f1c1b

Please sign in to comment.