From cdac942fcab7d2fb4ae74fcf45eb7c196a48499c Mon Sep 17 00:00:00 2001 From: Thatsaphorn Atchariyaphap Date: Thu, 26 Jun 2025 10:30:49 +0900 Subject: [PATCH] Add `CookieConsentBanner` component and integrate into `layout.tsx` for cookie consent management --- lawfirm-demos/demo-2/app/layout.tsx | 2 + .../demo-2/components/CookieConsentBanner.tsx | 128 ++++++++++++++++++ 2 files changed, 130 insertions(+) create mode 100644 lawfirm-demos/demo-2/components/CookieConsentBanner.tsx diff --git a/lawfirm-demos/demo-2/app/layout.tsx b/lawfirm-demos/demo-2/app/layout.tsx index 52365e2..97a12ce 100644 --- a/lawfirm-demos/demo-2/app/layout.tsx +++ b/lawfirm-demos/demo-2/app/layout.tsx @@ -4,6 +4,7 @@ import "./globals.css"; import Navbar from "@/components/Navbar"; import React from "react"; import Footer from "@/components/Footer"; +import CookieConsentBanner from "@/components/CookieConsentBanner"; const geistSans = Geist({ variable: "--font-geist-sans", @@ -59,6 +60,7 @@ export default function RootLayout({ {children}