Skip to content

Commit

Permalink
feat: add cookie banner
Browse files Browse the repository at this point in the history
  • Loading branch information
martapanc committed Sep 21, 2023
1 parent b70c72f commit bf307c9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/app/(public)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use client';

import Script from 'next/script';
import { ReactNode } from 'react';
import { I18nextProvider } from 'react-i18next';

Expand All @@ -22,6 +23,13 @@ export default function RootLayout({ children }: { children: ReactNode }) {
sizes='32x32'
href='/favicon/favicon.ico'
/>

{/* Cookie banner */}
<Script
id='cookieyes'
type='text/javascript'
src='https://cdn-cookieyes.com/client_data/343cca4a060bf9189f75d72e/script.js'
></Script>
</head>
<body>
<LayoutClient>{children}</LayoutClient>
Expand Down

0 comments on commit bf307c9

Please sign in to comment.