We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec1dc3d commit ea92a7fCopy full SHA for ea92a7f
app/layout.tsx
@@ -37,16 +37,13 @@ export default async function RootLayout({
37
children: React.ReactNode
38
}>) {
39
const isDev = process.env.NODE_ENV === "development"
40
+ const isOfficialDeployment = process.env.ZOLA_OFFICIAL === "true"
41
const userProfile = await getUserProfile()
42
43
return (
44
<html lang="en" suppressHydrationWarning>
- {!isDev ? (
45
- <Script
46
- async
47
- src="https://analytics.umami.is/script.js"
48
- data-website-id="42e5b68c-5478-41a6-bc68-088d029cee52"
49
- />
+ {!isDev && isOfficialDeployment ? (
+ <Script defer src="https://assets.onedollarstats.com/stonks.js" />
50
) : null}
51
<body
52
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
0 commit comments