Adsense fehler
This commit is contained in:
parent
5784a52e3c
commit
5b74b7b405
|
|
@ -352,19 +352,7 @@ export default function CryptoGenerator() {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{/* Leaderboard Ad - Below Form */}
|
||||
<div className="mt-12 mb-12">
|
||||
<div className="text-center text-xs text-slate-400 mb-2 uppercase tracking-wider">Advertisement</div>
|
||||
<div className="flex justify-center bg-slate-50 rounded-xl p-4 border border-slate-100">
|
||||
{/* @ts-ignore */}
|
||||
<ad-banner
|
||||
data-ad-slot="leaderboard-slot-id"
|
||||
data-ad-format="auto"
|
||||
full-width-responsive="true"
|
||||
className="w-full max-w-[728px]"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{/* Upsell Banner */}
|
||||
<div className="mt-8 bg-gradient-to-r from-slate-900 to-slate-700 rounded-2xl p-6 flex flex-col sm:flex-row items-center justify-between gap-4">
|
||||
|
|
|
|||
|
|
@ -20,31 +20,16 @@ export default function ToolsLayout({
|
|||
/>
|
||||
<div className="flex-grow relative">
|
||||
{children}
|
||||
|
||||
{/* Desktop Sidebar Ad - High Resolution Only */}
|
||||
{/* Positioned absolute to the right, only visible on very wide screens (2xl) */}
|
||||
<div className="hidden 2xl:block absolute right-4 top-32 w-[160px] z-10">
|
||||
<div className="sticky top-24">
|
||||
<div className="text-center text-[10px] text-slate-300 mb-1">AD</div>
|
||||
<AdBanner
|
||||
dataAdSlot="sidebar-slot-id"
|
||||
dataAdFormat="vertical"
|
||||
className="min-h-[600px] w-[160px]"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Footer Ad Placement - Appears on ALL tool pages */}
|
||||
{/* AdBanner handles its own visibility - only shows when an ad is filled */}
|
||||
<div className="container mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl pb-8">
|
||||
<div className="mx-auto max-w-4xl text-center text-xs text-slate-400 mb-2">
|
||||
Sponsored
|
||||
</div>
|
||||
<AdBanner
|
||||
dataAdSlot="1234567890" // Placeholder
|
||||
dataAdFormat="auto"
|
||||
fullWidthResponsive={true}
|
||||
className="bg-slate-50 rounded-xl p-4 border border-slate-100 min-h-[100px]"
|
||||
className="bg-slate-50 rounded-xl p-4 border border-slate-100"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -277,16 +277,6 @@ export const InstantGenerator: React.FC<InstantGeneratorProps> = ({ t }) => {
|
|||
</div>
|
||||
</motion.div>
|
||||
</div>
|
||||
|
||||
{/* Leaderboard Ad */}
|
||||
<div className="mt-16 max-w-4xl mx-auto">
|
||||
<div className="text-center text-xs text-gray-400 mb-2 uppercase tracking-wider">Advertisement</div>
|
||||
<AdBanner
|
||||
dataAdSlot="leaderboard-slot-id"
|
||||
dataAdFormat="auto"
|
||||
className="bg-white rounded-xl p-4 border border-gray-100 shadow-sm min-h-[90px]"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue