mirror of
https://github.com/placeholder-soft/web.git
synced 2026-01-12 22:45:00 +08:00
restore cookie banner (#1169)
This commit is contained in:
committed by
GitHub
parent
cf6699961a
commit
d2c46c444b
@@ -1,6 +1,6 @@
|
||||
'use client';
|
||||
|
||||
// import { CookieBanner } from '@coinbase/cookie-banner';
|
||||
import { CookieBanner } from '@coinbase/cookie-banner';
|
||||
|
||||
export const cookieBannerTheme = {
|
||||
colors: {
|
||||
@@ -39,12 +39,17 @@ export const cookieBannerTheme = {
|
||||
tablet: 768,
|
||||
},
|
||||
zIndex: {
|
||||
hidden: 0,
|
||||
normal: 1,
|
||||
elevated: 2,
|
||||
high: 2,
|
||||
extraHigh: 3,
|
||||
backdrop: 999,
|
||||
overlay: 1000,
|
||||
top: 1001,
|
||||
},
|
||||
};
|
||||
|
||||
export default function CookieBannerWrapper() {
|
||||
// return <CookieBanner companyName="Base" link="/cookie-policy" theme={cookieBannerTheme} />;
|
||||
return null;
|
||||
return <CookieBanner companyName="Base" link="/cookie-policy" theme={cookieBannerTheme} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user