The home page currently shows a hero + latest 6 reviews. It doesn't surface the directory's activity dimensions — most-reviewed judges, trending courthouses, recently-active reviewers, top-rated by practice area, etc. Those sections are what turn a "directory + reviews" site into something a user wants to come back to.
Scope
- New sections on
/:- Trending judges this week — most-reviewed in the last 7 days. SQL:
JudgeReview.where('status', 'published').where('created_at', '>', now() - 7d).groupBy('judge_id').orderByCountDesc().limit(8). - Most-reviewed judges all-time —
Judge.withCount('reviews').orderBy('reviews_count', 'desc').limit(8). - Top-rated judges — avg-rating threshold + min review count to prevent gaming.
- Recently-published reviews — already on the page, keep this.
- Active reviewers — users with most reviews this month. Promotes credibility.
- Trending judges this week — most-reviewed in the last 7 days. SQL:
- Each section: 8 cards in a grid, "see all →" link to a filtered listing page.
Acceptance
- Home page has 4–5 distinct sections, each surfacing a different facet of activity.
- Sections degrade gracefully when there's no data (empty-state copy, not blank space).
- Section queries cache for ~5 minutes so they don't hammer the DB on every home view.