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 TopLoader from '../components/top-loader'
import Navigasyon from '../components/navigasyon' import Navigasyon from '../components/navigasyon'
import ThemeRegistry from './theme-registy' import ThemeRegistry from './theme-registy'
@@ -53,25 +54,20 @@ const jsonLd = {
export default async function RootLayout({children}) { export default async function RootLayout({children}) {
return ( return (
<html lang='fr' suppressHydrationWarning> <html lang='fr' suppressHydrationWarning>
<head>
<script
defer
data-domain='pawol.nu'
src='https://plausible.io/js/pa-3sQidCSfiSOXQUh-4La0T.js'
/>
</head>
<body> <body>
<TopLoader color='#ffeb3b' /> <PlausibleProvider src='https://plausible.io/js/pa-3sQidCSfiSOXQUh-4La0T.js'>
<ThemeRegistry> <TopLoader color='#ffeb3b' />
<Navigasyon /> <ThemeRegistry>
{children} <Navigasyon />
</ThemeRegistry> {children}
<section> </ThemeRegistry>
<script <section>
type='application/ld+json' <script
dangerouslySetInnerHTML={{__html: JSON.stringify(jsonLd)}} type='application/ld+json'
/> dangerouslySetInnerHTML={{__html: JSON.stringify(jsonLd)}}
</section> />
</section>
</PlausibleProvider>
</body> </body>
</html> </html>
) )