Adjust layout to fix card sizing issues and reposition ad units

Modify the home page layout to revert card sizes to their original dimensions and adjust the display of ad units.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 6417b4ad-a802-4080-af16-dc4a1e0ff596
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/517dfa7b-26ac-463d-a6e1-a58c6df97188/ls5p9ni
Replit-Helium-Checkpoint-Created: true
This commit is contained in:
sebastjanartic 2026-02-28 22:40:32 +00:00
parent 75f1de829b
commit 8361871b4f
3 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 KiB

View File

@ -524,8 +524,8 @@ export default function Home() {
{ type: "widget", el: <div key="bottom-horoscope" className="flex flex-col gap-4"><HoroscopeWidget /><WeatherWidget /></div> },
{ type: "widget", el: <BreakingNewsWidget key="bottom-breaking" /> },
{ type: "widget", el: <RecipeWidget key="bottom-recipe" /> },
{ type: "ad", el: <AdSense key="ad-bottom-1" slot="bottom-1" className="w-full min-h-[250px]" /> },
{ type: "ad", el: <AdSense key="ad-bottom-2" slot="bottom-2" className="w-full min-h-[250px]" /> },
{ type: "ad", el: <div key="ad-bottom-1" className="bg-card rounded-lg border border-card-border overflow-hidden flex items-center justify-center min-h-[250px]"><AdSense slot="bottom-1" className="w-full h-full" /></div> },
{ type: "ad", el: <div key="ad-bottom-2" className="bg-card rounded-lg border border-card-border overflow-hidden flex items-center justify-center min-h-[250px]"><AdSense slot="bottom-2" className="w-full h-full" /></div> },
];
for (let i = items.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));