From d8ca8ff3ecc6a518d0d5e68d204dfc161ab446b2 Mon Sep 17 00:00:00 2001 From: Local Administrator Date: Thu, 4 Jun 2026 20:34:30 +0000 Subject: [PATCH] fix(article-detail): sidebar column width + placeholder using new mark MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two pointed bugs on the article detail page: 1) Width alignment. The right-rail Related Articles and Related Forum Posts boxes were free-stretching to the lg:col-span-4 width while the SidebarAdStack below them rendered ads at their natural 300px (items- end, right-aligned). The visual result: boxes overhung the ad column on both edges. Wrapped each sidebar in an inner `w-full lg:w-[300px] lg:ml-auto` div so every block (ads + boxes + newsletter) shares one 300px column on lg+ and stays full-width on mobile. Applied to both article templates (/articles/[slug] and /news/[slug]). 2) Placeholder rendered the old "AV BEAT" wordmark when an article had no featured image. Rebuilt article-placeholder.svg around the new brand mark — the A-monogram tile with the blue gradient (#2563EB→#1E3A8A) that matches AnimatedLogo + the rest of the brand-gradient system. Same 1200×630 dimensions so OG/feed embeds aren't affected. Co-Authored-By: Claude Opus 4.7 (1M context) --- public/assets/images/article-placeholder.svg | 38 +++++++++++++++---- .../articles/[slug]/ArticleDetailClient.tsx | 8 +++- .../news/[slug]/NewsArticleDetailClient.tsx | 10 ++++- 3 files changed, 44 insertions(+), 12 deletions(-) diff --git a/public/assets/images/article-placeholder.svg b/public/assets/images/article-placeholder.svg index 2397ff7..5609b9b 100644 --- a/public/assets/images/article-placeholder.svg +++ b/public/assets/images/article-placeholder.svg @@ -1,20 +1,42 @@ - + - + + + + + - - - - AV - BEAT - PRO AV · DISPLAY · LIVE PRODUCTION + + + + + + + + + + + + + + + + + + + AV BEAT + INSIDE THE FUTURE OF PRO AV diff --git a/src/app/articles/[slug]/ArticleDetailClient.tsx b/src/app/articles/[slug]/ArticleDetailClient.tsx index 0e89d6b..d12ce3f 100644 --- a/src/app/articles/[slug]/ArticleDetailClient.tsx +++ b/src/app/articles/[slug]/ArticleDetailClient.tsx @@ -393,8 +393,11 @@ export default function ArticleDetailClient({ article, relatedArticles, relatedF - {/* Sidebar */} -