feat : adding google adsense
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type { Metadata } from "next";
|
||||
import Script from "next/script";
|
||||
import { Anuphan, Geist_Mono } from "next/font/google";
|
||||
|
||||
import { DeploymentUpdateNotifier } from "@/components/deployment-update-notifier";
|
||||
@@ -39,6 +40,11 @@ export default function RootLayout({ children }: LayoutProps<"/">) {
|
||||
className={`dark ${anuphan.variable} ${geistMono.variable} h-full antialiased`}
|
||||
>
|
||||
<body className="flex min-h-full flex-col">
|
||||
<Script
|
||||
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9687404323559597"
|
||||
async
|
||||
crossOrigin="anonymous"
|
||||
/>
|
||||
<TooltipProvider>
|
||||
<PageProgress />
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user