File tree Expand file tree Collapse file tree
screens/landing-page/sections/footer/views Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ const translations = {
9191 } ,
9292 legal : {
9393 impressum : {
94+ title : "Imprint" ,
9495 declaration5TMG : "Information in accordance with § 5 TMG" ,
9596 representedBy : "Represented by" ,
9697 registered : "Registration" ,
@@ -389,6 +390,7 @@ const translations = {
389390 } ,
390391 legal : {
391392 impressum : {
393+ title : "Impressum" ,
392394 declaration5TMG : "Angaben gemäß § 5 TMG" ,
393395 representedBy : "Vertreten durch" ,
394396 registered : "Eintragung" ,
Original file line number Diff line number Diff line change @@ -6,8 +6,10 @@ import LogoBar from "@/ui/shared-components/LogoBar";
66import GitHubLink from "@/ui/shared-components/GitHubLink" ;
77import FeatureToggle from "../components/FeatureToggle" ;
88import RegularButton from "@/ui/shared-components/buttons/RegularButton" ;
9+ import useTranslation from "@/ui/language/useTranslation" ;
910
1011const LandingPageFooterDesktop = ( ) => {
12+ const { t } = useTranslation ( ) ;
1113
1214 return (
1315 < VBox sx = { {
@@ -30,8 +32,8 @@ const LandingPageFooterDesktop = () => {
3032 </ HBox >
3133 < HBox justifyContent = { 'center' } alignItems = { 'center' } >
3234 < HBox sx = { { width : '506px' , justifyContent : 'center' } } >
33- < RegularButton link = '/impressum' variant = 'pinkContained' text = 'Impressum' size = 'small' />
34- < RegularButton link = '/data-protection' variant = 'pinkContained' text = 'Datenschutz' size = 'small' />
35+ < RegularButton link = '/impressum' variant = 'pinkContained' text = { t ( "home.legal.impressum.title" ) } size = 'small' />
36+ < RegularButton link = '/data-protection' variant = 'pinkContained' text = { t ( "home.legal.dataProtection.title" ) } size = 'small' />
3537 </ HBox >
3638 </ HBox >
3739 </ VBox >
Original file line number Diff line number Diff line change @@ -6,8 +6,10 @@ import LogoBar from "@/ui/shared-components/LogoBar";
66import GitHubLink from "@/ui/shared-components/GitHubLink" ;
77import theme from "@/theme" ;
88import RegularButton from "@/ui/shared-components/buttons/RegularButton" ;
9+ import useTranslation from "@/ui/language/useTranslation" ;
910
1011const LandingPageFooterMobile = ( ) => {
12+ const { t } = useTranslation ( ) ;
1113
1214 return (
1315 < VBox sx = { {
@@ -28,8 +30,8 @@ const LandingPageFooterMobile = () => {
2830 </ VBox >
2931 </ VBox >
3032 < VBox >
31- < RegularButton link = '/impressum' variant = 'pinkContained' text = 'Impressum' size = 'small' />
32- < RegularButton link = '/data-protection' variant = 'pinkContained' text = 'Datenschutz' size = 'small' />
33+ < RegularButton link = '/impressum' variant = 'pinkContained' text = { t ( "home.legal.impressum.title" ) } size = 'small' />
34+ < RegularButton link = '/data-protection' variant = 'pinkContained' text = { t ( "home.legal.dataProtection.title" ) } size = 'small' />
3335 </ VBox >
3436 </ VBox >
3537 ) ;
You can’t perform that action at this time.
0 commit comments