Adjust article layout to position side ads closer to content

Modify article page layout to reduce side ad width and remove unnecessary wrapper div.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 23852c00-4779-460a-9e0c-d09fee4b6c92
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 26960b3d-c70e-43b9-a359-aab3199ecab7
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/23852c00-4779-460a-9e0c-d09fee4b6c92/MkhYNq3
Replit-Helium-Checkpoint-Created: true
This commit is contained in:
sebastjanartic 2026-03-07 10:34:05 +00:00
parent 25f31c0867
commit 4b77ed8935

View File

@ -219,9 +219,8 @@ export default function ArticlePage() {
return (
<div className="min-h-screen bg-background">
<Header />
<PageSideAds />
<main className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
<div className="max-w-4xl mx-auto">
<PageSideAds contentHalfWidth={480} />
<main className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
<Link href="/">
<Button variant="ghost" size="sm" className="mb-3 gap-2" data-testid="button-back">
<ArrowLeft className="w-4 h-4" />
@ -327,7 +326,6 @@ export default function ArticlePage() {
</div>
<RelatedArticles currentSlug={slug || ""} />
</div>
</main>
<Footer />
</div>