diff --git a/web/src/components/Breadcrumb/Breadcrumb.tsx b/web/src/components/Breadcrumb/Breadcrumb.tsx index 5f4e2a5..a4b311a 100644 --- a/web/src/components/Breadcrumb/Breadcrumb.tsx +++ b/web/src/components/Breadcrumb/Breadcrumb.tsx @@ -1,6 +1,7 @@ import { Fragment } from 'react'; import { Box, Flex, Text } from '@chakra-ui/react'; import RouterLink from '@/components/RouterLink'; +import { t } from '@/i18n'; import type { BreadcrumbItem } from '@/lib/shootPageView'; type BreadcrumbProps = { @@ -68,7 +69,7 @@ export default function Breadcrumb({ {!last && ( )} diff --git a/web/src/components/ContactDetails/ContactDetails.tsx b/web/src/components/ContactDetails/ContactDetails.tsx index af957bc..178f88a 100644 --- a/web/src/components/ContactDetails/ContactDetails.tsx +++ b/web/src/components/ContactDetails/ContactDetails.tsx @@ -12,6 +12,7 @@ import Eyebrow from '@/components/Eyebrow/Eyebrow'; import socialPlatforms from '@/content/socialPlatforms'; import type { ContentImage, EmailAddress, SocialLink } from '@/content/types'; import useHydrated from '@/hooks/useHydrated'; +import { t } from '@/i18n'; import { contactChannels, type ContactChannel } from '@/lib/contactChannels'; type ContactDetailsProps = { @@ -122,7 +123,7 @@ export default function ContactDetails({ <> {' '} - (opent in nieuw tabblad) + {t('common.newTab.short')} )} diff --git a/web/src/components/Footer/Footer.tsx b/web/src/components/Footer/Footer.tsx index 8ea128d..926f7c4 100644 --- a/web/src/components/Footer/Footer.tsx +++ b/web/src/components/Footer/Footer.tsx @@ -12,6 +12,7 @@ import socialPlatforms from '@/content/socialPlatforms'; import type { SiteContent } from '@/content/types'; import useEmailAddress from '@/hooks/useEmailAddress'; import useHydrated from '@/hooks/useHydrated'; +import { t } from '@/i18n'; import { copyrightLine } from '@/lib/copyrightLine'; import { visibleSocials } from '@/lib/visibleSocials'; import { footerNav } from '@/navigation'; @@ -69,7 +70,7 @@ export default function Footer({ content }: FooterProps) { > Andrea Slop Fotografie {socials.length > 0 && ( - + {socials.map((social) => ( - (opent in nieuw tabblad) + {t('common.newTab.short')} @@ -106,7 +107,10 @@ export default function Footer({ content }: FooterProps) { )} {available && ( - + {address === null ? ( // Even hoog als FooterLink (44px onder lg, daarna // een tekstregel), zodat de kolom niet verspringt @@ -143,7 +147,7 @@ export default function Footer({ content }: FooterProps) { {copyrightLine(year)} - + -