Skip to content

Commit

Permalink
Add policies to the global footer
Browse files Browse the repository at this point in the history
  • Loading branch information
subinasr committed Oct 15, 2024
1 parent 253b4f8 commit 2ba041f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/src/components/GlobalFooter/i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"footerContactUs":"Contact Us",
"footerIFRC":"© IFRC {year} v{appVersion}",
"globalFindOut": "Find Out More",
"policies": "Policies",
"cookiePolicy": "Cookie Policy",
"termsAndConditions": "Terms and Conditions",
"globalHelpfulLinks": "Helpful links"
}
}
18 changes: 18 additions & 0 deletions app/src/components/GlobalFooter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,24 @@ function GlobalFooter(props: Props) {
</Link>
</div>
</div>
<div className={styles.section}>
<Heading>
{strings.policies}
</Heading>
<div className={styles.subSection}>
<Link
to="cookiePolicy"
>
{strings.cookiePolicy}
</Link>
<Link
// FIXME: Add termsAndConditions link after the page is created
to="cookiePolicy"
>
{strings.termsAndConditions}
</Link>
</div>
</div>
<div className={styles.section}>
<Heading>
{strings.globalHelpfulLinks}
Expand Down
2 changes: 1 addition & 1 deletion app/src/views/CookiePolicy/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function Component() {
{
termsLink: (
<Link
href="/"
href="mailto:av@ifrc.org"
withUnderline
external
>
Expand Down

0 comments on commit 2ba041f

Please sign in to comment.