diff --git a/components/Cta/CtaLink.tsx b/components/Cta/CtaLink.tsx index 2ca0005a..f3598535 100644 --- a/components/Cta/CtaLink.tsx +++ b/components/Cta/CtaLink.tsx @@ -47,6 +47,10 @@ export const CtaLink = React.forwardRef( if (isInternal) { myLink = cachedUrl || href; + if (myLink === 'home') { + myLink = ''; + } + if (!myLink?.startsWith('/')) { myLink = `/${myLink}`; } diff --git a/components/GAProvider.tsx b/components/GAProvider.tsx index 8f5f4496..1761323b 100644 --- a/components/GAProvider.tsx +++ b/components/GAProvider.tsx @@ -1,5 +1,5 @@ 'use client'; -import { GoogleTagManager } from '@next/third-parties/google' +import { GoogleTagManager } from '@next/third-parties/google'; import { useEffect } from 'react'; import useUTMs from '@/hooks/useUTMs'; const GTM_ID = 'GTM-5RGQ5DD'; diff --git a/components/Storyblok/SbBasicCard.tsx b/components/Storyblok/SbBasicCard.tsx index 399d9606..5e67a814 100644 --- a/components/Storyblok/SbBasicCard.tsx +++ b/components/Storyblok/SbBasicCard.tsx @@ -14,6 +14,7 @@ import { type SbImageType } from './Storyblok.types'; export type SbBasicCardProps = { blok: { _uid: string; + id: string; superhead?: string; heading?: string; headingLevel?: HeadingType; @@ -35,6 +36,7 @@ export type SbBasicCardProps = { export const SbBasicCard = ({ blok: { + id, superhead, heading, headingLevel, @@ -66,6 +68,7 @@ export const SbBasicCard = ({ return ( and items into
  • isList?: boolean; gap?: GridGapType; @@ -35,6 +36,7 @@ type SbGridProps = { export const SbGrid = ({ blok: { + id, isList, gap, boundingWidth = 'full', @@ -63,6 +65,7 @@ export const SbGrid = ({ return ( (