Update layout to display two featured articles side-by-side
Modify the home page grid layout to display two wide cards horizontally, each featuring a different article, on larger screens. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: d227974c-3dbf-4b3c-894c-dc7e74566da3 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
5432c3b460
commit
c82dfc7c98
@ -523,7 +523,7 @@ export default function Home() {
|
||||
))}
|
||||
|
||||
{shuffled.length > 1 && (
|
||||
<div className="space-y-4">
|
||||
<div className="grid grid-cols-1 lg:grid-cols-2 gap-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