import type { ReactNode } from "react"
/**
* GDPR consent banner — shown in UK before any data is loaded.
* Replace this placeholder with your real consent implementation.
* Exported as a named component; assembled into wrappers[] in uk/index.ts.
*/
export function GDPRConsentBanner({ children }: { children: ReactNode }) {
return (
<>
This service uses data in accordance with UK GDPR. By continuing you
agree to our data policy.
{children}
>
)
}
/**
* Cookie consent banner — shown below the GDPR banner in UK.
* Demonstrates a second add-on wrapper in the same region.
* Replace this placeholder with your real cookie consent implementation.
*
* Ordering note: wrappers are applied outermost-first (reduceRight).
* With wrappers: [GDPRConsentBanner, CookieConsentBanner]:
* GDPRConsentBanner wraps CookieConsentBanner wraps the app.
* In the DOM: GDPR banner → Cookie banner → app content (top to bottom).
*/
export function CookieConsentBanner({ children }: { children: ReactNode }) {
return (
<>