fix: improve Plausible
Déploiement FRONT PROD / check (push) Successful in 2m13s
Déploiement FRONT PROD / deploy (push) Successful in 21s

This commit is contained in:
2026-06-11 18:52:37 +04:00
parent 0b50c9ac2f
commit 9c18e52046
+14 -18
View File
@@ -1,3 +1,4 @@
import PlausibleProvider from 'next-plausible'
import TopLoader from '../components/top-loader'
import Navigasyon from '../components/navigasyon'
import ThemeRegistry from './theme-registy'
@@ -53,25 +54,20 @@ const jsonLd = {
export default async function RootLayout({children}) {
return (
<html lang='fr' suppressHydrationWarning>
<head>
<script
defer
data-domain='pawol.nu'
src='https://plausible.io/js/pa-3sQidCSfiSOXQUh-4La0T.js'
/>
</head>
<body>
<TopLoader color='#ffeb3b' />
<ThemeRegistry>
<Navigasyon />
{children}
</ThemeRegistry>
<section>
<script
type='application/ld+json'
dangerouslySetInnerHTML={{__html: JSON.stringify(jsonLd)}}
/>
</section>
<PlausibleProvider src='https://plausible.io/js/pa-3sQidCSfiSOXQUh-4La0T.js'>
<TopLoader color='#ffeb3b' />
<ThemeRegistry>
<Navigasyon />
{children}
</ThemeRegistry>
<section>
<script
type='application/ld+json'
dangerouslySetInnerHTML={{__html: JSON.stringify(jsonLd)}}
/>
</section>
</PlausibleProvider>
</body>
</html>
)