diff --git a/components/CookieConsent.tsx b/components/CookieConsent.tsx new file mode 100644 index 0000000..af8db76 --- /dev/null +++ b/components/CookieConsent.tsx @@ -0,0 +1,14 @@ +import CookieConsentBar from "@/ui/CookieConsentBar"; + +const CookieConsent = () => { + return( + + ); +}; + +export default CookieConsent; \ No newline at end of file diff --git a/components/design/CookieConsentBar/index.tsx b/components/design/CookieConsentBar/index.tsx new file mode 100644 index 0000000..2441961 --- /dev/null +++ b/components/design/CookieConsentBar/index.tsx @@ -0,0 +1,38 @@ +import CookieConsent from "react-cookie-consent"; +import { CookieConsentBarProps, CookieConsentBtnProps } from "./types"; +import * as Styles from "./styles"; +import { Button } from "@taikai/rocket-kit"; + +const CookieConsentBar = (props: CookieConsentBarProps) => { + const { + buttonText, + cookieName, + expires, + message, + } = props; + + const Btn = (props: CookieConsentBtnProps) => +