home: hide dates on Featured posts site-wide; remove BB-AI trends sidebar

Dates
- FeaturedBentoFromDb hero + 4-up rail no longer render `ago(wp_published_at)`.
  The whole component renders only Featured-category posts (filter is
  category ILIKE 'featured'), so dropping the date display globally inside
  it satisfies the "Featured posts have no date" requirement.
- /gear and /technology category cards: wrap the existing `{article.date}`
  output in `{article.category !== "Featured" && ...}` so only non-Featured
  posts continue to show their publish date.
- All other category landing pages, /news/<slug> detail, ArticleFeed, and
  LiveWireTicker either don't render a visible article date or only use it
  for SEO/structured-data fields (kept).

Trends sidebar
- Remove `BB AI · detected trends` block from the homepage (between
  ArticleFeed and NewsletterSignup). Drop the unused import and delete
  the orphaned TrendsSidebar.tsx component file. The detect-trends data
  fetch and `bb_pulse_dot` mini-widget are gone from the page; nothing
  else referenced them.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ryan Salazar
2026-05-18 23:47:00 +00:00
parent 308b27ec3e
commit 488a381aed
5 changed files with 9 additions and 119 deletions

View File

@@ -62,8 +62,12 @@ export default async function GearPage() {
</div>
<div className="p-4">
<div className="flex items-center gap-2 mb-2">
<span className="text-[#555] font-body text-[11px]">{article.date}</span>
<span className="text-[#444] text-[10px]">·</span>
{article.category !== "Featured" && (
<>
<span className="text-[#555] font-body text-[11px]">{article.date}</span>
<span className="text-[#444] text-[10px]">·</span>
</>
)}
<span className="text-[#555] font-body text-[11px]">{article.readTime}</span>
</div>
<h2 className="font-heading text-[#e0e0e0] text-sm font-bold leading-snug mb-2 group-hover:text-[#3b82f6] transition-colors line-clamp-3">