diff --git a/package.json b/package.json index b56e9a1..6745467 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,9 @@ "prepare": "husky install", "build:icons": "svgr svgs/resources/ --config-file svgs/configs/.svgrrc.default.cjs && prettier -w ./components/icons" }, + "engines": { + "node": "20.x" + }, "dependencies": { "@artsy/fresnel": "^7.1.3", "@lingui/react": "^4.11.4", diff --git a/src/components/common/Footer/Footer.constants.ts b/src/components/common/Footer/Footer.constants.ts index f92982d..370c39f 100644 --- a/src/components/common/Footer/Footer.constants.ts +++ b/src/components/common/Footer/Footer.constants.ts @@ -53,6 +53,12 @@ export const documentation: ListItemProps[] = [ title: 'Widget Playground', openInNewTab: true, }, + { + location: '', + title: 'Cookie Setting', + className: 'cky-banner-element', + openInNewTab: false, + }, ]; export const socialMedia: ListItemProps[] = [ diff --git a/src/components/common/Footer/Footer.type.ts b/src/components/common/Footer/Footer.type.ts index 0026c1e..72f9cda 100644 --- a/src/components/common/Footer/Footer.type.ts +++ b/src/components/common/Footer/Footer.type.ts @@ -5,4 +5,5 @@ export interface ListItemProps { openInNewTab: boolean; title: string; icon?: React.ComponentType; + className?: string; } diff --git a/src/components/common/Footer/ListItem.tsx b/src/components/common/Footer/ListItem.tsx index d551f74..98f35d9 100644 --- a/src/components/common/Footer/ListItem.tsx +++ b/src/components/common/Footer/ListItem.tsx @@ -2,14 +2,14 @@ import Link from 'next/link'; import { ListItemProps } from './Footer.type'; function ListItem(props: ListItemProps) { - const { title, openInNewTab, location, icon: Icon } = props; + const { title, openInNewTab, location, className, icon: Icon } = props; return (
  • {Icon && } {title}