diff --git a/attached_assets/image_1772306629624.png b/attached_assets/image_1772306629624.png
new file mode 100644
index 0000000..e89ee9d
Binary files /dev/null and b/attached_assets/image_1772306629624.png differ
diff --git a/client/src/components/horoscope-widget.tsx b/client/src/components/horoscope-widget.tsx
index 1faa9e7..a40649a 100644
--- a/client/src/components/horoscope-widget.tsx
+++ b/client/src/components/horoscope-widget.tsx
@@ -1,6 +1,6 @@
import { useState, useEffect, useCallback } from "react";
import { useLocation } from "wouter";
-import { Star, ChevronLeft, ChevronRight, X } from "lucide-react";
+import { Star } from "lucide-react";
const SIGNS = [
{ name: "Widder", symbol: "♈", date: "21.03 – 19.04", element: "Feuer" },
@@ -90,7 +90,7 @@ function HoroscopeModal({ onClose, initialSign }: { onClose: () => void; initial
}
export function HoroscopeWidget() {
- const [showModal, setShowModal] = useState(false);
+ const [, navigate] = useLocation();
const [index, setIndex] = useState(0);
const [paused, setPaused] = useState(false);
@@ -105,37 +105,33 @@ export function HoroscopeWidget() {
const sign = SIGNS[index];
return (
- <>
-
setPaused(true)}
- onMouseLeave={() => setPaused(false)}
- onClick={() => setShowModal(true)}
- data-testid="widget-horoscope"
- >
-
-
-
Horoskop
-
-
-
{sign.symbol}
-
{sign.name}
-
{sign.date}
-
{getDailyText(index)}
-
- {SIGNS.map((_, i) => (
-
+
setPaused(true)}
+ onMouseLeave={() => setPaused(false)}
+ onClick={() => navigate("/horoskop")}
+ data-testid="widget-horoscope"
+ >
+
+
+
Horoskop
+
+
+
{sign.symbol}
+
{sign.name}
+
{sign.date}
+
{getDailyText(index)}
+
+ {SIGNS.map((_, i) => (
+
-
- {showModal &&
setShowModal(false)} />}
- >
+
);
}
diff --git a/client/src/pages/home.tsx b/client/src/pages/home.tsx
index 28c1dbb..59ede7d 100644
--- a/client/src/pages/home.tsx
+++ b/client/src/pages/home.tsx
@@ -316,8 +316,9 @@ export default function Home() {
);
}
- const row2Articles = articles.slice(3, 7);
- const row3Articles = articles.slice(7);
+ const row2Articles = articles.slice(3, 6);
+ const row3Articles = articles.slice(6, 9);
+ const row4Articles = articles.slice(9);
return (
@@ -327,7 +328,7 @@ export default function Home() {
- {row2Articles.slice(0, 3).map((a) => (
+ {row2Articles.map((a) => (
))}
@@ -353,13 +354,19 @@ export default function Home() {
{row3Articles.length > 0 && (
- {row3Articles.slice(0, 2).map((a) => (
+ {row3Articles.map((a) => (
))}
- {row3Articles.length > 2 && row3Articles.slice(2, 3).map((a) => (
+
+ )}
+
+ {row4Articles.length > 0 && (
+
+ {row4Articles.slice(0, 3).map((a) => (
))}
+
)}