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">

View File

@@ -4,7 +4,6 @@ import Header from "@/components/Header";
import Footer from "@/components/Footer";
import FeaturedBentoFromDb from '@/components/FeaturedBentoFromDb';
import FeaturedCarouselServer from '@/components/FeaturedCarouselServer';
import TrendsSidebar from '@/components/TrendsSidebar';
import LiveWireTicker from '@/components/LiveWireTicker';
import NewsTicker from "./components/NewsTicker";
import FeaturedBento from "./components/FeaturedBento";
@@ -179,7 +178,6 @@ export default function HomePage() {
{/* Newsletter signup */}
<ScrollRevealSection className="section-enter section-enter-5">
<div className="max-w-container mx-auto px-4 mb-8"><TrendsSidebar /></div>
<NewsletterSignup />
</ScrollRevealSection>

View File

@@ -105,7 +105,9 @@ export default async function TechnologyPage() {
<h2 className="font-heading text-[#e0e0e0] text-sm font-bold leading-snug mb-1 group-hover:text-[#3b82f6] transition-colors line-clamp-2">
{article.title}
</h2>
<span className="text-[#555] font-body text-[11px]">{article.date}</span>
{article.category !== "Featured" && (
<span className="text-[#555] font-body text-[11px]">{article.date}</span>
)}
</div>
</Link>
))}