Standardize page layouts and footer width for consistent appearance

Update various page components and the footer to use a `max-w-7xl` width for consistent layout across the site. Removes explicit `contentHalfWidth` props from `PageSideAds` components, allowing them to default to the standardized width.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 23852c00-4779-460a-9e0c-d09fee4b6c92
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 2d87eb5e-a5f7-4bb4-8334-5904d9d52843
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:
sebastjanartic 2026-03-06 15:37:25 +00:00
parent d056a4a06d
commit 0fb975ac6e
8 changed files with 13 additions and 13 deletions

View File

@ -11,7 +11,7 @@ const SOCIAL_LINKS = [
export default function Footer() { export default function Footer() {
return ( return (
<footer className="border-t border-border mt-16" data-testid="footer"> <footer className="border-t border-border mt-16" data-testid="footer">
<div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-10 relative z-20"> <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-10 relative z-20">
<div className="grid grid-cols-1 md:grid-cols-3 gap-8"> <div className="grid grid-cols-1 md:grid-cols-3 gap-8">
<div> <div>
<h3 className="font-bold text-card-foreground text-lg mb-3">Folx Music Television</h3> <h3 className="font-bold text-card-foreground text-lg mb-3">Folx Music Television</h3>

View File

@ -9,8 +9,8 @@ export default function AboutPage() {
return ( return (
<div className="min-h-screen bg-background"> <div className="min-h-screen bg-background">
<Header /> <Header />
<PageSideAds contentHalfWidth={384} /> <PageSideAds />
<main className="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 py-8"> <main className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div className="flex items-center gap-3 mb-8"> <div className="flex items-center gap-3 mb-8">
<Tv className="w-7 h-7 text-primary" /> <Tv className="w-7 h-7 text-primary" />
<h1 className="text-3xl font-bold text-foreground" data-testid="text-about-title"> <h1 className="text-3xl font-bold text-foreground" data-testid="text-about-title">

View File

@ -220,7 +220,7 @@ export default function ArticlePage() {
<div className="min-h-screen bg-background"> <div className="min-h-screen bg-background">
<Header /> <Header />
<PageSideAds /> <PageSideAds />
<main className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-8"> <main className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<Link href="/"> <Link href="/">
<Button variant="ghost" size="sm" className="mb-6 gap-2" data-testid="button-back"> <Button variant="ghost" size="sm" className="mb-6 gap-2" data-testid="button-back">
<ArrowLeft className="w-4 h-4" /> <ArrowLeft className="w-4 h-4" />

View File

@ -9,8 +9,8 @@ export default function DatenschutzPage() {
return ( return (
<div className="min-h-screen bg-background"> <div className="min-h-screen bg-background">
<Header /> <Header />
<PageSideAds contentHalfWidth={448} /> <PageSideAds />
<main className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-8"> <main className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div className="flex items-center gap-3 mb-8"> <div className="flex items-center gap-3 mb-8">
<Shield className="w-7 h-7 text-primary" /> <Shield className="w-7 h-7 text-primary" />
<h1 className="text-3xl font-bold text-foreground" data-testid="text-datenschutz-title"> <h1 className="text-3xl font-bold text-foreground" data-testid="text-datenschutz-title">

View File

@ -38,8 +38,8 @@ export default function EmpfangPage() {
return ( return (
<div className="min-h-screen bg-background"> <div className="min-h-screen bg-background">
<Header /> <Header />
<PageSideAds contentHalfWidth={448} /> <PageSideAds />
<main className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-8"> <main className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div className="flex items-center gap-3 mb-2"> <div className="flex items-center gap-3 mb-2">
<Tv className="w-7 h-7 text-primary" /> <Tv className="w-7 h-7 text-primary" />
<h1 className="text-3xl font-bold text-foreground" data-testid="text-empfang-title"> <h1 className="text-3xl font-bold text-foreground" data-testid="text-empfang-title">

View File

@ -9,8 +9,8 @@ export default function ImpressumPage() {
return ( return (
<div className="min-h-screen bg-background"> <div className="min-h-screen bg-background">
<Header /> <Header />
<PageSideAds contentHalfWidth={448} /> <PageSideAds />
<main className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-8"> <main className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div className="flex items-center gap-3 mb-8"> <div className="flex items-center gap-3 mb-8">
<Scale className="w-7 h-7 text-primary" /> <Scale className="w-7 h-7 text-primary" />
<h1 className="text-3xl font-bold text-foreground" data-testid="text-impressum-title"> <h1 className="text-3xl font-bold text-foreground" data-testid="text-impressum-title">

View File

@ -40,8 +40,8 @@ export default function KontaktPage() {
return ( return (
<div className="min-h-screen bg-background"> <div className="min-h-screen bg-background">
<Header /> <Header />
<PageSideAds contentHalfWidth={384} /> <PageSideAds />
<main className="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 py-8"> <main className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div className="flex items-center gap-3 mb-8"> <div className="flex items-center gap-3 mb-8">
<Mail className="w-7 h-7 text-primary" /> <Mail className="w-7 h-7 text-primary" />
<h1 className="text-3xl font-bold text-foreground" data-testid="text-kontakt-title"> <h1 className="text-3xl font-bold text-foreground" data-testid="text-kontakt-title">

View File

@ -78,7 +78,7 @@ export default function SearchPage() {
<div className="min-h-screen bg-background" data-testid="page-search"> <div className="min-h-screen bg-background" data-testid="page-search">
<Header /> <Header />
<PageSideAds /> <PageSideAds />
<main className="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 py-6"> <main className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6">
<Link href="/"> <Link href="/">
<button className="flex items-center gap-1 text-muted-foreground hover:text-foreground text-sm mb-4 transition-colors" data-testid="link-back-home"> <button className="flex items-center gap-1 text-muted-foreground hover:text-foreground text-sm mb-4 transition-colors" data-testid="link-back-home">
<ArrowLeft className="w-4 h-4" /> <ArrowLeft className="w-4 h-4" />