Remove large advertisements from the homepage layout
Remove standalone ArticleCardAd components from the home page to eliminate large advertisements, leaving only smaller, integrated ads. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 1f7e7e89-a520-4970-9645-37daadc466dc Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: ef5ba67e-9b41-4de5-8012-f9362d99aa87 Replit-Helium-Checkpoint-Created: true
This commit is contained in:
parent
a796e4a298
commit
931260fb21
@ -706,12 +706,9 @@ export default function Home() {
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
{ri % 3 === 2 && ri < gridRows.length - 1 && <ArticleCardAd />}
|
||||
</div>
|
||||
))}
|
||||
|
||||
<ArticleCardAd />
|
||||
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">
|
||||
{bottomSection.map((item, i) => (
|
||||
<div key={`bottom-${i}`}>
|
||||
@ -720,8 +717,6 @@ export default function Home() {
|
||||
))}
|
||||
</div>
|
||||
|
||||
<ArticleCardAd />
|
||||
|
||||
{extraBottomArticles.length > 3 && (
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">
|
||||
{extraBottomArticles.slice(3, 6).map((a) => (
|
||||
@ -730,16 +725,12 @@ export default function Home() {
|
||||
</div>
|
||||
)}
|
||||
|
||||
<ArticleCardAd />
|
||||
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">
|
||||
<PhotoGalleryWidget key="extra-gallery" />
|
||||
<NewsWidget key="extra-news" />
|
||||
<RecipeWidget key="extra-recipe" />
|
||||
</div>
|
||||
|
||||
<ArticleCardAd />
|
||||
|
||||
</main>
|
||||
<Footer />
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user