Rearrange content layout to place advertisements correctly
Update the layout configuration in `home.tsx` to ensure advertisements appear directly after article content in the bottom section. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 366cf91b-e383-4f2e-8861-f7cc8be03e95 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/517dfa7b-26ac-463d-a6e1-a58c6df97188/nFw7xof Replit-Helium-Checkpoint-Created: true
This commit is contained in:
parent
e10aa417c1
commit
2d010f73a4
@ -550,8 +550,8 @@ export default function Home() {
|
|||||||
type: "article" as const,
|
type: "article" as const,
|
||||||
el: <BlogCard key={`bottom-art-${a.id}`} article={a} focalPoints={focalPoints} />,
|
el: <BlogCard key={`bottom-art-${a.id}`} article={a} focalPoints={focalPoints} />,
|
||||||
})),
|
})),
|
||||||
{ type: "widget", el: <PhotoGalleryWidget key="bottom-gallery" /> },
|
|
||||||
{ type: "ad", el: <div key="ad-bottom-1"><ArticleCardAd /></div> },
|
{ type: "ad", el: <div key="ad-bottom-1"><ArticleCardAd /></div> },
|
||||||
|
{ type: "widget", el: <PhotoGalleryWidget key="bottom-gallery" /> },
|
||||||
];
|
];
|
||||||
return items;
|
return items;
|
||||||
}, [bottomArticles, focalPoints]);
|
}, [bottomArticles, focalPoints]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user