Remove advertisements from legal and contact pages to improve user experience
Removes the `PageSideAds` component from the `datenschutz.tsx`, `impressum.tsx`, and `kontakt.tsx` pages to prevent ad content from overlapping with essential information on these legal and contact pages. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 23852c00-4779-460a-9e0c-d09fee4b6c92 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 665ce46e-c2ff-4234-9500-cbd9df304798 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
This commit is contained in:
parent
5ceae7ca39
commit
349935f25d
BIN
attached_assets/image_1772809553164.png
Normal file
BIN
attached_assets/image_1772809553164.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 212 KiB |
BIN
attached_assets/image_1772809581249.png
Normal file
BIN
attached_assets/image_1772809581249.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 197 KiB |
@ -2,14 +2,12 @@ import { Shield } from "lucide-react";
|
||||
import Header from "@/components/header";
|
||||
import Footer from "@/components/footer";
|
||||
import { usePageMeta } from "@/hooks/use-page-meta";
|
||||
import { PageSideAds } from "@/components/adsense";
|
||||
|
||||
export default function DatenschutzPage() {
|
||||
usePageMeta("Datenschutz - FOLX TV", "Datenschutzerklärung von FOLX TV – Ihr Volksmusik & Schlager Fernsehsender.");
|
||||
return (
|
||||
<div className="min-h-screen bg-background">
|
||||
<Header />
|
||||
<PageSideAds contentHalfWidth={384} />
|
||||
<main className="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
||||
<div className="flex items-center gap-3 mb-8">
|
||||
<Shield className="w-7 h-7 text-primary" />
|
||||
|
||||
@ -2,14 +2,12 @@ import { Scale } from "lucide-react";
|
||||
import Header from "@/components/header";
|
||||
import Footer from "@/components/footer";
|
||||
import { usePageMeta } from "@/hooks/use-page-meta";
|
||||
import { PageSideAds } from "@/components/adsense";
|
||||
|
||||
export default function ImpressumPage() {
|
||||
usePageMeta("Impressum - FOLX TV", "Impressum und rechtliche Informationen zu FOLX TV – Volksmusik & Schlager Fernsehsender.");
|
||||
return (
|
||||
<div className="min-h-screen bg-background">
|
||||
<Header />
|
||||
<PageSideAds contentHalfWidth={384} />
|
||||
<main className="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
||||
<div className="flex items-center gap-3 mb-8">
|
||||
<Scale className="w-7 h-7 text-primary" />
|
||||
|
||||
@ -4,7 +4,6 @@ import { SiFacebook, SiInstagram, SiYoutube, SiTiktok } from "react-icons/si";
|
||||
import Header from "@/components/header";
|
||||
import Footer from "@/components/footer";
|
||||
import { usePageMeta } from "@/hooks/use-page-meta";
|
||||
import { PageSideAds } from "@/components/adsense";
|
||||
import { apiRequest } from "@/lib/queryClient";
|
||||
|
||||
export default function KontaktPage() {
|
||||
@ -40,7 +39,6 @@ export default function KontaktPage() {
|
||||
return (
|
||||
<div className="min-h-screen bg-background">
|
||||
<Header />
|
||||
<PageSideAds contentHalfWidth={384} />
|
||||
<main className="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
||||
<div className="flex items-center gap-3 mb-8">
|
||||
<Mail className="w-7 h-7 text-primary" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user