From 78049cc867a039cdff2d3021b8bafce21b1daf18 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Fri, 6 Mar 2026 15:12:14 +0000 Subject: [PATCH] Adjust ad placement to prevent overlap on legal and other pages Modify `PageSideAds` component to accept a `contentHalfWidth` prop, dynamically adjusting ad positioning on pages with narrower content layouts (Impressum, Datenschutz, Kontakt, About) to `384px`, and on Empfang page to `448px`, resolving overlap issues. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 23852c00-4779-460a-9e0c-d09fee4b6c92 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: b8ad454c-ef1f-4377-8e94-d9e1665feb20 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/23852c00-4779-460a-9e0c-d09fee4b6c92/ee1CXlO Replit-Helium-Checkpoint-Created: true --- client/src/pages/about.tsx | 2 +- client/src/pages/datenschutz.tsx | 2 +- client/src/pages/empfang.tsx | 2 +- client/src/pages/impressum.tsx | 2 +- client/src/pages/kontakt.tsx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/src/pages/about.tsx b/client/src/pages/about.tsx index d5bd27f..a2eb15d 100644 --- a/client/src/pages/about.tsx +++ b/client/src/pages/about.tsx @@ -9,7 +9,7 @@ export default function AboutPage() { return (
- +
diff --git a/client/src/pages/datenschutz.tsx b/client/src/pages/datenschutz.tsx index 737e12d..e968673 100644 --- a/client/src/pages/datenschutz.tsx +++ b/client/src/pages/datenschutz.tsx @@ -9,7 +9,7 @@ export default function DatenschutzPage() { return (
- +
diff --git a/client/src/pages/empfang.tsx b/client/src/pages/empfang.tsx index ef913f4..dc5117f 100644 --- a/client/src/pages/empfang.tsx +++ b/client/src/pages/empfang.tsx @@ -38,7 +38,7 @@ export default function EmpfangPage() { return (
- +
diff --git a/client/src/pages/impressum.tsx b/client/src/pages/impressum.tsx index 45e3fd8..ab29b31 100644 --- a/client/src/pages/impressum.tsx +++ b/client/src/pages/impressum.tsx @@ -9,7 +9,7 @@ export default function ImpressumPage() { return (
- +
diff --git a/client/src/pages/kontakt.tsx b/client/src/pages/kontakt.tsx index 515dcd4..c372300 100644 --- a/client/src/pages/kontakt.tsx +++ b/client/src/pages/kontakt.tsx @@ -40,7 +40,7 @@ export default function KontaktPage() { return (
- +