Arrange featured articles vertically below the main grid
Update the layout in the home page to display two wide article cards stacked vertically below the main grid, instead of side-by-side. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 88de469f-c609-4ccb-a159-9d54a74c98e5 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/517dfa7b-26ac-463d-a6e1-a58c6df97188/0ZGabQy Replit-Helium-Checkpoint-Created: true
This commit is contained in:
parent
f8c7a6bd66
commit
5432c3b460
@ -523,7 +523,7 @@ export default function Home() {
|
||||
))}
|
||||
|
||||
{shuffled.length > 1 && (
|
||||
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4">
|
||||
<div className="space-y-4">
|
||||
<WideCard article={shuffled[shuffled.length - 1]} focalPoints={focalPoints} />
|
||||
<WideCard article={shuffled[shuffled.length - 2]} focalPoints={focalPoints} />
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user