21 lines
523 B
JavaScript
21 lines
523 B
JavaScript
import "@pdntechnology/cookie-consent/styles.css";
|
|
import "@/lib/consent-config";
|
|
import { ConsentBootstrap } from "@pdntechnology/cookie-consent/react";
|
|
import { Providers } from "./providers";
|
|
|
|
export const metadata = {
|
|
title: "Cookie Consent Demo",
|
|
description: "Next.js demo for @pdntechnology/cookie-consent",
|
|
};
|
|
|
|
export default function RootLayout({ children }) {
|
|
return (
|
|
<html lang="tr">
|
|
<body>
|
|
<ConsentBootstrap />
|
|
<Providers>{children}</Providers>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|