Skip to content

Add rotating 'latest build' spotlight to homepage #3

Closed

Description

@JDerekLomas

Purpose

The homepage hero is static — same text every visit. A rotating project spotlight gives people a reason to come back and celebrates what the community is building. This is the #1 thing CodeVibing should do: make builders feel seen.

Current state

Featured builds section shows a grid of up to 6 projects. They're small cards, easy to scroll past. Nothing says "look at this."

Proposal

Add a spotlight section below the hero that features one project prominently:

  • Large preview image (if available)
  • Project title, description, author with avatar
  • "Check it out" link
  • Rotates daily (or on each page load, simpler)

Selection logic

Pick from cv_profiles.projects — prioritize projects with preview images and descriptions. Could be random, or weighted by recency. No curation needed initially.

Design

Full-width card, hero-sized. Think "Product Hunt featured" but warmer. The post-it note aesthetic could work here — a big post-it that says "look what [author] built."

Files

  • src/app/page.tsx — add SpotlightBuild component
  • src/lib/supabase.ts — maybe add getRandomFeaturedProject() or reuse existing

Verification

  • Spotlight shows a different project on page refreshes (or daily)
  • Gracefully handles no projects (hide section)
  • Project link works, author link goes to profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions