Vzrok: slika v FeaturedHeroCard ima lg:flex-1 lg:aspect-auto, torej pozre ves
visek visine vrstice. Visina vrstice je najvisji stolpec, in ko je bil ta
visok, je 16:9 naslovnica v object-cover postala pokoncna in mocno prirezana -
obraz cez cel okvir.
Dvoje:
- karusel dobi lg:max-h-[560px] poleg obstojecega lg:min-h-[460px], tako da je
visina slike omejena med priblizno 16:10 in 16:13 in nikoli pokoncna;
- stranski stolpec je zdaj lg:flex lg:flex-col, seznam Zuletzt hinzugefuegt pa
lg:flex-1 z overflow-hidden in osmimi namesto petimi novicami, tako da visek
visine poziera on in ne slika.
Naslovnica je imela lastno kopijo zgornjega pasu s trdo visino 90 px in
responsive=false. Google je vanjo postavil 320x50 in okrog je ostal siv rob -
tako je izgledalo na telefonu. Zdaj uporablja skupno komponento TopBannerAd,
ki je format=auto z full-width-responsive: kreativa dobi celo sirino, prazna
enota se ne izrise. Isto velja za vse ostale strani, ki TopBannerAd ze
uporabljajo.
Lepljivemu pasu odstranjen overflow-hidden in maxHeight - oglas mora biti cel
viden, vodoravni format itak ne da vec kot 320x100.
Po podatkih AdSense (zadnjih 7 dni) prihodek nesejo folx.tv in-article
(98,93 EUR), Folx News In-Article = slot 4154017639 (82,45 EUR) in Multiplex
(63,59 EUR). Prejsnji commit je pri dveh od teh zmanjsal stevilo mest.
- odlozena zahteva (IntersectionObserver) NI vec privzeta: eager=true.
Odlozeno nalaganje dvigne vidnost, a znizza stevilo prikazov pri enotah
globlje na strani - in prav te nesejo denar. Pot ostaja v kodi za kasneje,
ko bomo ucinek lahko izmerili. Popravek 3-sekundnega odstevanja ostane.
- clanek: enota 4154017639 vrnjena na stran, a pod naslovom in tik pred
besedilom namesto kot pas nad naslovnico - isti prikazi, boljse mesto,
naslov ne pade pod pregib.
- PageSideAds: oba stolpca spet tu. Sirina se prilagodi zaslonu prek
--rail-w: 160x600 od 1536 px, 300x600 od 1700 px. Dodan onAdStatus, da
prazna enota ne pusti luknje.
- naslovnica dobi Multiplex, edina strana ga ni imela.
Skupaj na clanku (telefon): display pred besedilom, in-article za uvodom,
display na sredini (in vec pri dolgih), multiplex, lepljivi pas.
Introduce a new push notification prompt banner that appears on the homepage after a delay, encouraging users to subscribe to notifications. The banner will not appear if the user is already subscribed, has previously dismissed it, or if push notifications are not supported. Refactor existing push notification logic to be more modular and reusable across components.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 23852c00-4779-460a-9e0c-d09fee4b6c92
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: cf18a9e4-eed8-448c-9c3c-694f18134403
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/23852c00-4779-460a-9e0c-d09fee4b6c92/ICRgny1
Replit-Helium-Checkpoint-Created: true
Introduce `PageSideAds` component and integrate it across various pages including Home, Article, Category, Videos, Gallery, Horoscope, Recipes, Search, About, Impressum, Datenschutz, and Empfang. This component displays vertical ads on screens wider than 2xl. Additionally, the Home page's existing ad implementation is refactored to use this new component.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1f7e7e89-a520-4970-9645-37daadc466dc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 6355ba60-5043-4119-a09f-5437b272e829
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/1f7e7e89-a520-4970-9645-37daadc466dc/zWnrdl3
Replit-Helium-Checkpoint-Created: true
Injects `ArticleCardAd` components into rows that do not contain widgets, ensuring a consistent four-column layout on the home page. Updates image URLs in `gallery-data.json`.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1f7e7e89-a520-4970-9645-37daadc466dc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 4f807297-9291-4e24-9592-e66ee067829b
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/1f7e7e89-a520-4970-9645-37daadc466dc/NJvOVoB
Replit-Helium-Checkpoint-Created: true
Remove the logic that injected ads into the main article grid and update the rendering to no longer display ad components, ensuring only articles and widgets are present.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1f7e7e89-a520-4970-9645-37daadc466dc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: bcef02dc-c87d-439a-bac8-229492bf633b
Replit-Helium-Checkpoint-Created: true
Removes the `WideCard` component displaying two featured articles from the homepage and adjusts the aspect ratio of remaining cards.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1f7e7e89-a520-4970-9645-37daadc466dc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 334572fc-ac10-43d7-ba24-c3d7fe801ccd
Replit-Helium-Checkpoint-Created: true
Reduce the aspect ratio of wide article cards from 4/3 to 16/9 and remove standalone ArticleCardAd components from the homepage.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1f7e7e89-a520-4970-9645-37daadc466dc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 0edf8dc1-93c0-48f9-aa7d-c5138ea7f0ab
Replit-Helium-Checkpoint-Created: true
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
Removes the `ArticleCardAd` component from the home page (`client/src/pages/home.tsx`) to eliminate a large advertisement positioned directly below the carousel. Also updates image URLs in `server/gallery-data.json` to new Dropbox locations.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1f7e7e89-a520-4970-9645-37daadc466dc
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: d8db5fc6-0476-4950-ae0c-7bc1341fd856
Replit-Helium-Checkpoint-Created: true