Remove ad integrations from various platform pages

Refactor HeaderAd and VideoPage components to remove AdSenseAd integrations and adjust header ad container.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 401e2ec0-e00d-4f10-9d0e-60f3d479f9a5
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/60d372ff-2c10-46c7-b01b-10c3435136b0/401e2ec0-e00d-4f10-9d0e-60f3d479f9a5/3l7HcE7
This commit is contained in:
sebastjanartic 2025-09-28 19:19:38 +00:00
parent 8bd99f7c38
commit 08523362a5
3 changed files with 9 additions and 13 deletions

View File

@ -27,6 +27,10 @@ externalPort = 3001
localPort = 35637
externalPort = 3000
[[ports]]
localPort = 45503
externalPort = 3003
[env]
PORT = "5000"

View File

@ -21,7 +21,7 @@ export default function HeaderAd() {
}, []);
return (
<div className="w-full flex justify-center py-1 bg-bunny-dark hidden md:block" ref={adRef}>
<div className="hidden lg:flex justify-center py-4" ref={adRef}>
{/* Desktop Only: 970x90px Header Ad */}
<ins
className="adsbygoogle"

View File

@ -501,20 +501,12 @@ export default function VideoPage() {
)}
</div>
{/* Fixed Header Ad */}
<HeaderAd />
{/* Fixed Header Ad - contained within page width */}
<div className="container mx-auto">
<HeaderAd />
</div>
<div className="container p-4 lg:p-6 relative">
{/* Ad within container - same width as content */}
<div className="flex justify-center mb-6">
<AdSenseAd
adSlot="6554928035"
width={970}
height={90}
className="max-w-full"
/>
</div>
{/* Background logo decorations */}
<div
style={{