From 561d15d8b327e66db2a7097b675e7194d4a71d49 Mon Sep 17 00:00:00 2001 From: sebastjan Date: Sun, 16 Aug 2026 08:55:21 +0200 Subject: [PATCH] Oglasi: vsebinske enote odzivne namesto fiksnih 90px, multiplex na koncu clanka --- client/src/components/adsense.tsx | 9 +++++---- client/src/pages/article.tsx | 7 ++++++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/client/src/components/adsense.tsx b/client/src/components/adsense.tsx index 5bfe560..332515d 100644 --- a/client/src/components/adsense.tsx +++ b/client/src/components/adsense.tsx @@ -109,14 +109,15 @@ export function TopBannerAd() { } export function InArticleAd() { + // Odzivna enota: AdSense sam izbere obliko (na mobilnem 300x250 / 336x280, + // na namizju leaderboard). Fiksnih 90 px je najslabse placana oblika. return ( -
+
Anzeige
); diff --git a/client/src/pages/article.tsx b/client/src/pages/article.tsx index f63fc33..2b2314b 100644 --- a/client/src/pages/article.tsx +++ b/client/src/pages/article.tsx @@ -9,7 +9,7 @@ import { Button } from "@/components/ui/button"; import { Skeleton } from "@/components/ui/skeleton"; import Header from "@/components/header"; import Footer from "@/components/footer"; -import AdSense, { InArticleAd, PageSideAds } from "@/components/adsense"; +import AdSense, { InArticleAd, PageSideAds, MultiplexAd } from "@/components/adsense"; import { useIsMobile } from "@/hooks/use-mobile"; import DOMPurify from "dompurify"; import ShareButtons from "@/components/share-buttons"; @@ -418,6 +418,11 @@ export default function ArticlePage() { />
+
+
Anzeige
+ +
+