Skip to content

[#105] Home page — compact hero + storyline feed#110

Merged
realproject7 merged 1 commit intomainfrom
task/105-home-page
Mar 15, 2026
Merged

[#105] Home page — compact hero + storyline feed#110
realproject7 merged 1 commit intomainfrom
task/105-home-page

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

Fixes #105

  • Compact hero: PlotLink title + one-line tagline, ~60px height — not a full-screen splash
  • Trending section: Top 4 trending storylines via getTrendingStorylines(), with #trending header
  • Recent feed: 8 newest active storylines with #recent header and "view all →" link to /discover
  • Empty state: Terminal-style "no storylines found" with CTA to create the first story
  • Server-side: Same pattern as discover page, 120s ISR revalidation, reuses StoryCard

Test plan

  • Home page shows compact hero + storyline cards immediately
  • Trending section appears when trending data exists
  • "View all →" navigates to /discover
  • Story cards link to /story/[storylineId]
  • Empty state shows CTA when no storylines exist

🤖 Generated with Claude Code

Content-first home page: compact hero (title + tagline), trending
section with top 4 storylines, recent feed with 8 newest, "view all"
link to discover, and empty state CTA. Server-side fetched with 120s
ISR, reusing StoryCard component.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

T2b Review — APPROVE

Content-first home page rewrite, all requirements met:

  • Compact hero (title + tagline) ✓
  • Trending (top 4) + recent feed (8 newest) with StoryCard reuse ✓
  • "view all →" to /discover ✓
  • Empty state with terminal style + create CTA ✓
  • Server-side fetch with ISR 120s, trending wrapped in .catch() ✓

LGTM ✓

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

This rewrites the home page into a content-first entry point with a compact hero, recent storyline feed, optional trending section, and a clear empty-state CTA, all using the existing server-side fetch pattern and StoryCard component.

Findings

  • No blocking findings.

Decision

Approving because the implementation matches issue #105 scope, preserves the expected story links and discover navigation, and the refreshed lint/typecheck run passed.

@realproject7 realproject7 merged commit 4b7e9f9 into main Mar 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P4.5-2] Home page — compact hero + storyline feed

2 participants