feat(BOOK-436): Added manage cookie bot dynamic content to content pages

Approved-by: Linus Flood
This commit is contained in:
Erik Tiekstra
2025-10-09 12:46:17 +00:00
parent 77ee88c6ea
commit d298d5c2ff
7 changed files with 82 additions and 5 deletions

View File

@@ -0,0 +1,30 @@
import { CookieConsentButton } from "@/components/Blocks/DynamicContent/ManageCookieConsent/CookieConsentButton"
import SectionContainer from "@/components/Section/Container"
import SectionHeader from "@/components/Section/Header"
import SectionLink from "@/components/Section/Link"
interface ManageCookieConsentProps {
title?: string
subtitle?: string
link?: { href: string; text: string }
}
export function ManageCookieConsent({
title,
subtitle,
link,
}: ManageCookieConsentProps) {
return (
<SectionContainer>
<SectionHeader
link={link}
preamble={subtitle}
title={title}
headingAs="h3"
headingLevel="h2"
/>
<CookieConsentButton />
<SectionLink link={link} variant="mobile" />
</SectionContainer>
)
}