feat: add cookie consent banner and privacy policy page; update dependencies and improve animations
This commit is contained in:
13
app/components/ClientCookieConsentBanner.tsx
Normal file
13
app/components/ClientCookieConsentBanner.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
// app/components/ClientCookieConsentBanner.tsx
|
||||
|
||||
"use client";
|
||||
|
||||
import dynamic from 'next/dynamic';
|
||||
|
||||
const CookieConsentBanner = dynamic(() => import('./CookieConsentBanner'), {ssr: false});
|
||||
|
||||
const ClientCookieConsentBanner = ({onConsentChange}: { onConsentChange: (consent: string) => void }) => {
|
||||
return <CookieConsentBanner onConsentChange={onConsentChange}/>;
|
||||
};
|
||||
|
||||
export default ClientCookieConsentBanner;
|
||||
Reference in New Issue
Block a user