Skip to content

Commit

Permalink
Merge pull request #27 from kvarteret/Contact-translations
Browse files Browse the repository at this point in the history
added translation for kontakt.js
  • Loading branch information
TheAzack9 authored Oct 5, 2021
2 parents 014bed5 + d6397aa commit 264c5ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/shared/layout/kontakt.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react'

import { Box, Divider, Grid, Typography } from '@material-ui/core'
import { makeStyles } from '@material-ui/styles'
import { getTranslatedText } from '../../../helpers/textHelper'

const useStyles = makeStyles({
divider: {
Expand All @@ -26,7 +27,7 @@ const Kontakt = ({ siteTitle }) => {
spacing={2}
>
<Grid item xs={12} sm={5}>
<Typography variant="h6">BESØKSADDRESSE</Typography>
<Typography variant="h6">{getTranslatedText('besoksaddresse')}</Typography>
<Typography variant="h6" color="textSecondary">
OLAV KYRRES GATE
</Typography>
Expand All @@ -35,7 +36,7 @@ const Kontakt = ({ siteTitle }) => {
</Typography>
</Grid>
<Grid item xs={12} sm={7}>
<Typography variant="h6">POSTADDRESSE</Typography>
<Typography variant="h6">{getTranslatedText('postaddresse')}</Typography>
<Typography variant="h6" color="textSecondary">
POSTBOKS 1822 HÅKONSGATEN
</Typography>
Expand Down

0 comments on commit 264c5ae

Please sign in to comment.