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:
parent
8bd99f7c38
commit
08523362a5
4
.replit
4
.replit
@ -27,6 +27,10 @@ externalPort = 3001
|
||||
localPort = 35637
|
||||
externalPort = 3000
|
||||
|
||||
[[ports]]
|
||||
localPort = 45503
|
||||
externalPort = 3003
|
||||
|
||||
[env]
|
||||
PORT = "5000"
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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={{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user