Add a sixth story to the top stories list

Update the home page to display 6 articles in the Top Stories section instead of 5.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 530e1445-321d-4445-944c-16bebe18c62c
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/517dfa7b-26ac-463d-a6e1-a58c6df97188/drGbo1a
Replit-Helium-Checkpoint-Created: true
This commit is contained in:
sebastjanartic 2026-02-28 21:05:34 +00:00
parent 5afac30d5a
commit fa4bbe314f
2 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -226,7 +226,7 @@ function TopStoriesList({ articles }: { articles: Article[] }) {
Top-Storys
</h3>
<div className="space-y-0">
{articles.slice(0, 5).map((article) => (
{articles.slice(0, 6).map((article) => (
<Link key={article.id} href={`/article/${article.slug}`}>
<div className="group cursor-pointer py-1.5 border-b border-card-border last:border-0" data-testid={`card-top-${article.id}`}>
<h4 className="text-xs font-medium text-card-foreground line-clamp-2 group-hover:text-primary transition-colors leading-snug">{article.title}</h4>