Remove large advertisements and update image links
Removes the `ArtistPatternBg` component and associated AdSense ad from the home page layout, and updates image URLs in `gallery-data.json`. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 1644f40d-b627-4183-83f0-70fe3e53bb60 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/517dfa7b-26ac-463d-a6e1-a58c6df97188/V5dWXpq Replit-Helium-Checkpoint-Created: true
This commit is contained in:
parent
b69a3bdc0a
commit
3905f52571
@ -9,7 +9,6 @@ import { Skeleton } from "@/components/ui/skeleton";
|
|||||||
import Header from "@/components/header";
|
import Header from "@/components/header";
|
||||||
import Footer from "@/components/footer";
|
import Footer from "@/components/footer";
|
||||||
import AdSense, { ArticleCardAd, SidebarAd } from "@/components/adsense";
|
import AdSense, { ArticleCardAd, SidebarAd } from "@/components/adsense";
|
||||||
import ArtistPatternBg from "@/components/artist-pattern-bg";
|
|
||||||
import { PhotoGalleryWidget } from "@/components/photo-gallery";
|
import { PhotoGalleryWidget } from "@/components/photo-gallery";
|
||||||
import { HoroscopeWidget } from "@/components/horoscope-widget";
|
import { HoroscopeWidget } from "@/components/horoscope-widget";
|
||||||
import { RecipeWidget } from "@/components/recipe-widget";
|
import { RecipeWidget } from "@/components/recipe-widget";
|
||||||
@ -683,23 +682,10 @@ export default function Home() {
|
|||||||
<ArticleCardAd />
|
<ArticleCardAd />
|
||||||
|
|
||||||
{widePickedArticles.length > 0 && (
|
{widePickedArticles.length > 0 && (
|
||||||
<div className="grid grid-cols-1 lg:grid-cols-4 gap-4">
|
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
||||||
<ArtistPatternBg className="hidden lg:block rounded-lg overflow-hidden bg-card border border-card-border" seed={99}>
|
{widePickedArticles.map((a) => (
|
||||||
<AdSense
|
<WideCard key={`wide-top-${a.id}`} article={a} focalPoints={focalPoints} />
|
||||||
slot="3854634730"
|
))}
|
||||||
format="fluid"
|
|
||||||
layoutKey="-6r+cy-10+8a-3"
|
|
||||||
style={{ display: "block" }}
|
|
||||||
className="w-full h-full min-h-[250px]"
|
|
||||||
/>
|
|
||||||
</ArtistPatternBg>
|
|
||||||
<div className="lg:col-span-3">
|
|
||||||
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
|
||||||
{widePickedArticles.map((a) => (
|
|
||||||
<WideCard key={`wide-top-${a.id}`} article={a} focalPoints={focalPoints} />
|
|
||||||
))}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user