diff --git a/client/src/components/footer.tsx b/client/src/components/footer.tsx
index 135b1e2..bf60727 100644
--- a/client/src/components/footer.tsx
+++ b/client/src/components/footer.tsx
@@ -60,21 +60,6 @@ export default function Footer({ narrow }: { narrow?: boolean }) {
Video
-
-
- Fotogalerie
-
-
-
-
- Horoskop
-
-
-
-
- Rezepte
-
-
Kontakt
diff --git a/client/src/components/header.tsx b/client/src/components/header.tsx
index 699459f..33b2750 100644
--- a/client/src/components/header.tsx
+++ b/client/src/components/header.tsx
@@ -9,9 +9,6 @@ const navItems = [
{ label: "Start", href: "/" },
{ label: "News", href: "/category/News" },
{ label: "Video", href: "/videos" },
- { label: "Galerie", href: "/gallery" },
- { label: "Horoskop", href: "/horoskop" },
- { label: "Rezepte", href: "/rezepte" },
{ label: "Kontakt", href: "/kontakt" },
];
diff --git a/client/src/pages/home.tsx b/client/src/pages/home.tsx
index e229dcd..9ba06f4 100644
--- a/client/src/pages/home.tsx
+++ b/client/src/pages/home.tsx
@@ -11,9 +11,6 @@ import { Skeleton } from "@/components/ui/skeleton";
import Header from "@/components/header";
import Footer from "@/components/footer";
import AdSense, { ArticleCardAd, SidebarAd, PageSideAds, MultiplexAd, TopBannerAd } from "@/components/adsense";
-import { PhotoGalleryWidget } from "@/components/photo-gallery";
-import { HoroscopeWidget } from "@/components/horoscope-widget";
-import { RecipeWidget } from "@/components/recipe-widget";
import { NewsWidget } from "@/components/news-widget";
import { SidebarWeatherWidget } from "@/components/weather-widget";
import { BreakingNewsWidget } from "@/components/breaking-news-widget";
@@ -825,16 +822,13 @@ export default function Home() {
return out;
}, [shuffled]);
+ // 30. 8. 2026: horoskop, recept in galerija so vzeti z naslovnice. Po GA4 so
+ // v 28 dneh naredili 242, 60 in 16 ogledov od 96.307, clanki pa 93.001.
+ // Sprosceni prostor gre clankom.
const widgets = useMemo(() => [
- { id: "horoscope", el: },
{ id: "news", el:
},
- { id: "gallery", el: },
- { id: "recipe", el: },
{ id: "breaking", el:
},
- { id: "gallery2", el: },
- { id: "horoscope2", el: },
{ id: "news2", el:
},
- { id: "recipe2", el: },
{ id: "breaking2", el:
},
], []);
@@ -918,12 +912,10 @@ export default function Home() {
const bottomSection = useMemo(() => {
const items: { type: "widget" | "ad" | "article"; el: JSX.Element }[] = [
{ type: "widget", el: },
- { type: "widget", el: },
{ type: "widget", el: },
{ type: "article", el: },
{ type: "ad", el: },
{ type: "article", el: },
- { type: "widget", el: },
{ type: "article", el: },
{ type: "article", el: },
{ type: "article", el: },
diff --git a/server/routes.ts b/server/routes.ts
index 8cc74ee..c61cf52 100644
--- a/server/routes.ts
+++ b/server/routes.ts
@@ -147,8 +147,8 @@ export async function registerRoutes(
// POZOR: tu smejo biti samo poti, ki jih pozna React router v App.tsx.
// Prej so bile "/news", "/video", "/galerie" — teh poti ni, zato je Google
// dobival soft 404. Prave so "/category/News", "/videos", "/gallery".
- const staticPaths = ["/", "/category/News", "/videos", "/gallery",
- "/horoskop", "/rezepte", "/empfang-folx-tv", "/ueber-uns",
+ const staticPaths = ["/", "/category/News", "/videos",
+ "/empfang-folx-tv", "/ueber-uns",
"/kontakt", "/impressum", "/datenschutz"];
const urls: string[] = [];
for (const p of staticPaths) {
diff --git a/server/static.ts b/server/static.ts
index b65ab3e..30aaab7 100644
--- a/server/static.ts
+++ b/server/static.ts
@@ -339,6 +339,12 @@ export function serveStatic(app: Express) {
"Aktuelles": "",
};
const pathOnly = url.split("?")[0].split("#")[0];
+ // 30. 8. 2026: horoskop, recepti in galerija so ukinjeni. Stare povezave
+ // ne smejo v 404, zato gredo trajno na naslovnico.
+ if (/^\/(horoskop|rezepte|gallery|galerie)(\/.*)?$/.test(pathOnly)) {
+ res.redirect(301, "/");
+ return;
+ }
if (/^\/aktuelles\/?$/.test(pathOnly)) {
res.redirect(301, `${NEWS_HOST}/`);
return;