Remove responsive ad sizes and simplify ad implementation

Remove mobileWidth and mobileHeight props from AdSenseAd component, update initialization logic, and simplify ad rendering to non-responsive fixed sizes.

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/Myr4JGO
This commit is contained in:
sebastjanartic
2025-09-28 12:54:07 +00:00
parent e03f94b499
commit 235dc584ec
4 changed files with 20 additions and 80 deletions
-6
View File
@@ -461,8 +461,6 @@ export default function LivePage() {
adSlot="3047267170"
width={728}
height={90}
mobileWidth={300}
mobileHeight={250}
className="w-full"
/>
</div>
@@ -476,8 +474,6 @@ export default function LivePage() {
adSlot="5629279662"
width={728}
height={90}
mobileWidth={300}
mobileHeight={250}
className="w-full"
/>
</div>
@@ -540,8 +536,6 @@ export default function LivePage() {
adSlot="9876543210"
width={728}
height={90}
mobileWidth={300}
mobileHeight={250}
/>
</div>
</div>
-6
View File
@@ -781,8 +781,6 @@ export default function VideoPage() {
adSlot="5629279662"
width={728}
height={90}
mobileWidth={300}
mobileHeight={250}
className="w-full"
/>
</div>
@@ -797,8 +795,6 @@ export default function VideoPage() {
adSlot="5629279662"
width={728}
height={90}
mobileWidth={300}
mobileHeight={250}
className="w-full"
/>
</div>
@@ -863,8 +859,6 @@ export default function VideoPage() {
adSlot="1372934919"
width={728}
height={90}
mobileWidth={300}
mobileHeight={250}
className="w-full"
/>
</div>