-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add page with link to form for retrieving residual value on tra…
…vel cards (#474) * Add page for residual value on the travel card. * Update src/translations/pages/contact.ts Co-authored-by: Mathias Oterhals Myklebust <[email protected]> * Update src/translations/pages/contact.ts Co-authored-by: Mathias Oterhals Myklebust <[email protected]> * Update src/translations/pages/contact.ts Co-authored-by: Mathias Oterhals Myklebust <[email protected]> * Update src/translations/pages/contact.ts Co-authored-by: Mathias Oterhals Myklebust <[email protected]> --------- Co-authored-by: Mathias Oterhals Myklebust <[email protected]>
- Loading branch information
1 parent
07126ba
commit 53c5513
Showing
4 changed files
with
107 additions
and
2 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
src/page-modules/contact/refund/forms/residualValueOnTravelCard/index.tsx
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import Link from 'next/link'; | ||
import { Typo } from '@atb/components/typography'; | ||
import { PageText, useTranslation } from '@atb/translations'; | ||
import { SectionCard } from '@atb/page-modules/contact/components'; | ||
|
||
export const ResidualValueOnTravelCard = ({}) => { | ||
const { t } = useTranslation(); | ||
return ( | ||
<SectionCard | ||
title={t(PageText.Contact.refund.residualValueOnTravelCard.title)} | ||
> | ||
<Typo.p textType="body__primary"> | ||
<Link | ||
href={t(PageText.Contact.refund.residualValueOnTravelCard.link.href)} | ||
> | ||
{t(PageText.Contact.refund.residualValueOnTravelCard.link.text)} | ||
</Link> | ||
</Typo.p> | ||
|
||
<Typo.p textType="body__primary"> | ||
{t( | ||
PageText.Contact.refund.residualValueOnTravelCard | ||
.monthlyPayoutDetails, | ||
)} | ||
</Typo.p> | ||
|
||
<div> | ||
<Typo.p textType="body__primary--bold"> | ||
{t( | ||
PageText.Contact.refund.residualValueOnTravelCard | ||
.automatedProcessNotice.note, | ||
)} | ||
</Typo.p> | ||
<Typo.p textType="body__primary"> | ||
{t( | ||
PageText.Contact.refund.residualValueOnTravelCard | ||
.automatedProcessNotice.text, | ||
)} | ||
</Typo.p> | ||
</div> | ||
</SectionCard> | ||
); | ||
}; |
This file contains 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
This file contains 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
This file contains 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