File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import { getCliVersion } from "@/lib/get-cli-version";
1717import { StructuredData } from "@/components/structured-data" ;
1818import "@workspace/ui/globals.css" ;
1919import { Toaster } from "@workspace/ui/components/sonner" ;
20+ import Script from "next/script" ;
2021
2122const fontSans = Geist ( {
2223 subsets : [ "latin" ] ,
@@ -104,6 +105,12 @@ export default async function RootLayout({ children }: Readonly<LayoutProps>) {
104105 return (
105106 < html lang = "en" suppressHydrationWarning >
106107 < head >
108+ < Script
109+ async
110+ src = { `https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=${ process . env . NEXT_PUBLIC_AD_CLIENT_ID } ` }
111+ crossOrigin = "anonymous"
112+ strategy = "afterInteractive"
113+ />
107114 < StructuredData type = "website" />
108115 </ head >
109116 < body
You can’t perform that action at this time.
0 commit comments