ux: dark-theme conversion + forum hero + ticker cleanup

- /manufacturers index + DirectoryClient: convert white/light-ink theme
  to BB dark theme so it stops standing out against the rest of the site
- /manufacturers/[slug]: same conversion, includes the new executives
  card grid and Headquarters block
- /nab-2026: same conversion, including hero gradient and sponsor tile
  borders (amber on dark instead of amber on white)
- Forum: remove "Top Performing Threads" widget from both /forum and
  /forum/[slug] (display only — TopThreadsWidget component preserved
  in case admins want to re-enable later)
- Forum hero: vertical padding py-10 → py-5, tagline reduced from
  three sentences to one. Adds a "Sign in to post" or "Start a thread"
  CTA in the hero's top-right depending on auth state.
- Recent Forum Posts ticker: drop replies entirely, surface only thread
  titles so breadth of conversation shows instead of the loudest
  threads dominating with reply chatter.
This commit is contained in:
Ryan Salazar
2026-05-27 14:52:08 +00:00
parent 52a6792c9e
commit 3460baa8b9
7 changed files with 147 additions and 159 deletions

View File

@@ -361,9 +361,6 @@ export default function ForumCategoryPage() {
</form>
)}
{/* Top Performing Threads Widget (shown when category is loaded) */}
{!loading && category && <TopThreadsWidget categoryId={category.id} />}
{/* Search + Sort Bar */}
<div className="flex flex-col sm:flex-row gap-3 mb-5">
{/* Search */}

View File

@@ -264,14 +264,41 @@ export default function ForumIndexPage() {
<main className="min-h-screen bg-[#111111]">
{/* Hero — width-aligned with content below + featured-box pattern */}
<div className="max-w-container mx-auto px-4">
<div className="bg-[#1a2535] border-b border-[#2a3a50] py-10 px-4">
<div className="flex items-center gap-3 mb-2">
<img src="/logos/crew-lounge-logo.svg" alt="The Crew Lounge" className="w-8 h-8" />
<h1 className="text-3xl font-heading font-bold text-white">The Crew Lounge</h1>
<div className="bg-[#1a2535] border-b border-[#2a3a50] py-5 px-4">
<div className="flex items-start justify-between gap-4 flex-wrap">
<div className="flex-1 min-w-0">
<div className="flex items-center gap-3 mb-1">
<img src="/logos/crew-lounge-logo.svg" alt="The Crew Lounge" className="w-8 h-8" />
<h1 className="text-3xl font-heading font-bold text-white">The Crew Lounge</h1>
</div>
<p className="text-[#aab4c4] font-body text-sm max-w-2xl">
Connect with broadcast, motion picture, and post production pros worldwide.
</p>
</div>
<div className="flex-shrink-0">
{currentUserId ? (
<Link
href="/forum/new"
className="inline-flex items-center gap-2 bg-[#3b82f6] hover:bg-[#2563eb] text-white font-body font-semibold text-sm rounded-lg px-5 py-2.5 transition-colors"
>
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" aria-hidden="true">
<path d="M12 5v14M5 12h14" />
</svg>
Start a thread
</Link>
) : (
<Link
href="/forum/login?next=/forum"
className="inline-flex items-center gap-2 bg-[#3b82f6] hover:bg-[#2563eb] text-white font-body font-semibold text-sm rounded-lg px-5 py-2.5 transition-colors"
>
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" aria-hidden="true">
<path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4M10 17l5-5-5-5M15 12H3" />
</svg>
Sign in to post
</Link>
)}
</div>
</div>
<p className="text-[#aab4c4] font-body text-base max-w-2xl">
The Crew Lounge: connect with broadcast, motion picture and post production professionals worldwide. Ask questions, share expertise, and discuss the technology shaping the industry.
</p>
</div>
</div>
@@ -505,12 +532,9 @@ export default function ForumIndexPage() {
</div>
)}
{/* Default view: Top Threads + Category Grid */}
{/* Default view: Category Grid */}
{!isSearchMode && (
<>
{/* Top Performing Threads Widget */}
{!loading && <TopThreadsWidget />}
{loading && (
<div className="space-y-3 mb-8">
{[...Array(8)].map((_, i) => (