Adsense
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
'use client';
|
||||
|
||||
import React from 'react';
|
||||
import Script from 'next/script';
|
||||
import AdBanner from '@/components/ads/AdBanner';
|
||||
|
||||
export default function ToolsLayout({
|
||||
@@ -10,6 +11,13 @@ export default function ToolsLayout({
|
||||
}) {
|
||||
return (
|
||||
<div className="flex flex-col min-h-screen">
|
||||
{/* AdSense script - only loads on tool pages */}
|
||||
<Script
|
||||
async
|
||||
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2782770414424875"
|
||||
crossOrigin="anonymous"
|
||||
strategy="lazyOnload"
|
||||
/>
|
||||
<div className="flex-grow relative">
|
||||
{children}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user