Skip to content
Snippets Groups Projects
Commit ebee1690 authored by elg's avatar elg
Browse files

Merge branch 'GREG-383-accessibility-statement' into 'master'

Add link to accessibility statement

See merge request !437
parents 35a66c36 a838983c
No related branches found
No related tags found
1 merge request!437Add link to accessibility statement
Pipeline #238568 passed
......@@ -2,6 +2,7 @@
"applicationTitle": "Guest Service",
"link": {
"terms": {
"accessibilityStatement": "Accessibility statement (in Norwegian only)",
"header": "TERMS",
"ITRules": "IT Rules",
"privacy": "Privacy Policy"
......
......@@ -4,7 +4,8 @@
"terms": {
"header": "VILKÅR",
"ITRules": "IT-reglement",
"privacy": "Personvern"
"privacy": "Personvern",
"accessibilityStatement": "Tilgjengelighetserklæring"
},
"help": {
"header": "HJELP OG KONTAKT",
......
......@@ -4,7 +4,8 @@
"terms": {
"header": "VILKÅR",
"ITRules": "IT-reglement",
"privacy": "Personvern"
"privacy": "Personvern",
"accessibilityStatement": "Tilgjengelegheitserklæring"
},
"help": {
"header": "HJELP OG KONTAKT",
......
......@@ -29,6 +29,8 @@ export const responsibleOrganizationEn: string =
env.REACT_APP_RESPONSIBLE_ORGANIZATION_EN as string
/* no links */
export const accessibilityStatementLink: string =
env.REACT_APP_ACCESSIBILITY_STATEMENT_LINK as string
export const itRulesLink: string = env.REACT_APP_IT_RULES_LINK as string
export const privacyPolicyLink: string =
env.REACT_APP_PRIVACY_POLICY_LINK as string
......
......@@ -3,6 +3,7 @@ import { styled } from '@mui/material/styles'
import { Link } from '@mui/material'
import {
accessibilityStatementLink,
appInst,
responsibleOrganization,
responsibleOrganizationEn,
......@@ -113,6 +114,9 @@ function Footer() {
<StyledLink href={getPrivacyPolicyLink()}>
{t('footer:link.terms.privacy')}
</StyledLink>
{accessibilityStatementLink && <StyledLink href={accessibilityStatementLink}>
{t('footer:link.terms.accessibilityStatement')}
</StyledLink>}
</LinkSection>
<LinkSection>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment