Skip to content

Commit 990aaf9

Browse files
authored
chore: add google adsense code
1 parent d46e890 commit 990aaf9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/app/layout.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Metadata } from "next";
22
import Script from "next/script";
33
import { ThemeProvider } from "@mui/material";
44
import { AppRouterCacheProvider } from "@mui/material-nextjs/v13-appRouter";
5-
import { Analytics } from "@vercel/analytics/next"
5+
import { Analytics } from "@vercel/analytics/next";
66
import "./globals.css";
77
import theme from "./theme";
88
import { cn } from "~/utils/helpers";
@@ -55,6 +55,12 @@ export default function RootLayout({
5555
src="https://cdn.jsdelivr.net/gh/iamogbz/oh-my-wcs@6b7a7b0/components/carousel-stack.js"
5656
strategy="beforeInteractive"
5757
/>
58+
<Script
59+
async
60+
crossOrigin="anonymous"
61+
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3505239651298035"
62+
strategy="beforeInteractive"
63+
/>
5864
</body>
5965
</html>
6066
);

0 commit comments

Comments
 (0)