From 4465f3c5c110b7599cbc4ca220b8317589eac6f4 Mon Sep 17 00:00:00 2001 From: Mannu Date: Sat, 2 May 2026 15:29:25 +0530 Subject: [PATCH] cards: click opens service directly in new tab, remove modal --- index.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 0a9e9a3..f1f3c2c 100644 --- a/index.html +++ b/index.html @@ -179,7 +179,7 @@ function Section({ sec, onCardClick }) { {open && (
{sec.services.map(svc => ( - onCardClick(svc)} /> + window.open(svc.url, "_blank")} /> ))}
)} @@ -202,7 +202,7 @@ function QuickLink({ lk }) { function App() { const [dark, setDark] = useState(() => window.matchMedia("(prefers-color-scheme: dark)").matches); const [qlOpen, setQlOpen] = useState(true); - const [modal, setModal] = useState(null); + const now = useTime(); useEffect(() => { @@ -266,7 +266,7 @@ function App() { {/* Sections */} - {SECTIONS.map(sec =>
)} + {SECTIONS.map(sec =>
window.open(svc.url, "_blank")} />)} {/* Quick Links */}
@@ -283,7 +283,6 @@ function App() {
- setModal(null)} /> ); }