Remove featured articles and adjust card sizes on the homepage
Removes the `WideCard` component displaying two featured articles from the homepage and adjusts the aspect ratio of remaining cards. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 1f7e7e89-a520-4970-9645-37daadc466dc Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 334572fc-ac10-43d7-ba24-c3d7fe801ccd Replit-Helium-Checkpoint-Created: true
This commit is contained in:
parent
398b857287
commit
07afec8e0e
@ -679,14 +679,6 @@ export default function Home() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{widePickedArticles.length > 0 && (
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
||||
{widePickedArticles.map((a) => (
|
||||
<WideCard key={`wide-top-${a.id}`} article={a} focalPoints={focalPoints} />
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
|
||||
{gridRows.map((row, ri) => (
|
||||
<div key={`row-group-${ri}`}>
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user