Remove all advertisements from the website for an ad-free user experience
Remove AdSense integrations from HeaderAd, netflix-grid, VideoPage, and home components. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 45a1dcfc-f8a2-475a-a6b9-96fbb841dc27 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/60d372ff-2c10-46c7-b01b-10c3435136b0/45a1dcfc-f8a2-475a-a6b9-96fbb841dc27/sMbpUIe
This commit is contained in:
@@ -21,22 +21,10 @@ export default function HeaderAd() {
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div className="w-full flex justify-center py-1 bg-bunny-dark" ref={adRef}>
|
||||
{/* Mobile: 320x50px */}
|
||||
<div className="w-full flex justify-center py-1 bg-bunny-dark hidden md:block" ref={adRef}>
|
||||
{/* Desktop Only: 970x90px Header Ad */}
|
||||
<ins
|
||||
className="adsbygoogle md:hidden"
|
||||
style={{
|
||||
display: 'inline-block',
|
||||
width: '320px',
|
||||
height: '50px'
|
||||
}}
|
||||
data-ad-client="ca-pub-4465464714854276"
|
||||
data-ad-slot="7241323742"
|
||||
/>
|
||||
|
||||
{/* Desktop: 970x90px Wide Header Ad */}
|
||||
<ins
|
||||
className="adsbygoogle hidden md:inline-block"
|
||||
className="adsbygoogle"
|
||||
style={{
|
||||
display: 'inline-block',
|
||||
width: '970px',
|
||||
|
||||
@@ -454,18 +454,6 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* Mobile inline ads after video 4 and 8 in "Meist Angesehen" category only */}
|
||||
{category.title.includes("Meist Angesehen") && (index === 3 || index === 7) && (
|
||||
<div
|
||||
key={`mobile-ad-${index}`}
|
||||
className="flex-shrink-0 w-[calc(100vw-1.5rem)] sm:w-[330px] md:hidden"
|
||||
style={{
|
||||
scrollSnapAlign: window.innerWidth < 768 ? 'start' : 'none'
|
||||
}}
|
||||
>
|
||||
<MobileInlineAd />
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user