From de82125999efc3aab5ea48bb359b261937d69466 Mon Sep 17 00:00:00 2001 From: Local Administrator Date: Wed, 3 Jun 2026 12:50:55 +0000 Subject: [PATCH] feat(avbeat): brand-blue nav, navy card text, tagline rename, hide Industry News dates + Topics row, force-dynamic homepage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Main nav background → brand-blue #1D4ED8 (sampled from logo emblem). - Nav link text → white with darker-blue hover bg so contrast holds. - Article card title fixed from #e0e0e0 to navy #0F172A (was unreadable on the new white surface). - Industry News card date row removed. - /news Topics filter chip row removed. - /news article hover from stark #111 to light-blue #EFF6FF tint matching the brand. - Tagline 'News & Intelligence for Pro AV, Live Production & Display Tech' renamed to 'Pro AV, Display and Live Production Tech' across Header, RSS feed, newsletter welcome template, root layout title, page title, OG/Twitter tags. - Homepage page.tsx now has `export const dynamic = 'force-dynamic'` + `revalidate = 0` so the hero (FeaturedBentoFromDb) actually re-renders against the live supabase row (previously the page was being statically prerendered which masked DB-driven hero swaps). --- src/app/api/newsletter/subscribers/route.ts | 2 +- src/app/home-page/components/ArticleFeed.tsx | 11 ++----- src/app/home-page/page.tsx | 8 ++++- src/app/layout.tsx | 8 ++--- src/app/news/NewsPageClient.tsx | 32 ++------------------ src/app/rss/route.ts | 2 +- src/components/Header.tsx | 8 ++--- 7 files changed, 22 insertions(+), 49 deletions(-) diff --git a/src/app/api/newsletter/subscribers/route.ts b/src/app/api/newsletter/subscribers/route.ts index 35c8d58..a79576a 100644 --- a/src/app/api/newsletter/subscribers/route.ts +++ b/src/app/api/newsletter/subscribers/route.ts @@ -141,7 +141,7 @@ export async function POST(req: NextRequest) {

AV Beat

-

News & Intelligence for Pro AV, Live Production & Display Tech

+

Pro AV, Display and Live Production Tech

diff --git a/src/app/home-page/components/ArticleFeed.tsx b/src/app/home-page/components/ArticleFeed.tsx index b22a862..54bba22 100644 --- a/src/app/home-page/components/ArticleFeed.tsx +++ b/src/app/home-page/components/ArticleFeed.tsx @@ -624,7 +624,7 @@ export default function ArticleFeed() { )}
-

+

By {article?.author} - {article?.date && ( - <> - - - - )} + {/* Date intentionally hidden on Industry News cards per current design direction. */} - {/* Row 2: Category chips */} -
- Topics: -
- {CATEGORIES.map((cat) => ( - - ))} -
- {hasActiveFilters && ( - - )} -
+ {/* Topics chip row hidden per current design direction (2026-06-03). */} @@ -285,7 +259,7 @@ export default function NewsPage({ + className="flex gap-4 py-5 border-b border-[#DCE6F2] group hover:bg-[#EFF6FF] transition-colors px-2 -mx-2 rounded-sm">
{article.category || "NEWS"}
-

+

{article.title || "Untitled"}

{article.excerpt || ""}

diff --git a/src/app/rss/route.ts b/src/app/rss/route.ts index 1cfcb5f..fccd916 100644 --- a/src/app/rss/route.ts +++ b/src/app/rss/route.ts @@ -44,7 +44,7 @@ export async function GET() { AV Beat ${SITE_URL} - News & Intelligence for Pro AV, Live Production & Display Tech + Pro AV, Display and Live Production Tech en-us ${new Date().toUTCString()} ${items} diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 2a31319..4c1d70d 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -257,7 +257,7 @@ export default function Header() {
{/* MAIN NAV */}
-