From f55ca657e889e1b5dc5b6870b666b29602c39757 Mon Sep 17 00:00:00 2001 From: Thatsaphorn Atchariyaphap Date: Wed, 25 Jun 2025 09:37:07 +0900 Subject: [PATCH] Add `CookieConsentBanner` component and integrate cookie consent functionality --- lawfirm-demos/demo-1/app/layout.tsx | 2 + .../demo-1/components/CookieConsentBanner.tsx | 128 ++++++++++++++++++ lawfirm-demos/demo-1/components/Footer.tsx | 22 +-- 3 files changed, 144 insertions(+), 8 deletions(-) create mode 100644 lawfirm-demos/demo-1/components/CookieConsentBanner.tsx diff --git a/lawfirm-demos/demo-1/app/layout.tsx b/lawfirm-demos/demo-1/app/layout.tsx index a16eb74..9c37d09 100644 --- a/lawfirm-demos/demo-1/app/layout.tsx +++ b/lawfirm-demos/demo-1/app/layout.tsx @@ -3,6 +3,7 @@ import {Inter} from "next/font/google"; import Navbar from "@/components/Navbar"; import Footer from "@/components/Footer"; import React from "react"; +import CookieConsentBanner from "@/components/CookieConsentBanner"; const inter = Inter({subsets: ["latin"]}); @@ -18,6 +19,7 @@ export default function RootLayout( {children} +