diff --git a/client/src/pages/home.tsx b/client/src/pages/home.tsx index ef96bf8..0dd4a54 100644 --- a/client/src/pages/home.tsx +++ b/client/src/pages/home.tsx @@ -554,7 +554,8 @@ export default function Home() { const rowStart = r * 4; const hasWidget = items.slice(rowStart, rowStart + 4).some((it) => it.type === "widget"); if (!hasWidget) { - items[rowStart + 3] = { type: "ad", key: `ad-row-${adCount++}` }; + const pos = adCount % 2 === 0 ? 0 : 3; + items[rowStart + pos] = { type: "ad", key: `ad-row-${adCount++}` }; } }