From 636956b0f51321249d599428f3d0b1ae7dfc6cff Mon Sep 17 00:00:00 2001 From: Rostislav Dugin Date: Sat, 28 Mar 2026 00:06:46 +0300 Subject: [PATCH] fix link --- app/components/CloudDashboardButton.tsx | 93 +++++++------------------ 1 file changed, 27 insertions(+), 66 deletions(-) diff --git a/app/components/CloudDashboardButton.tsx b/app/components/CloudDashboardButton.tsx index 3b3c1a3..f7929d5 100644 --- a/app/components/CloudDashboardButton.tsx +++ b/app/components/CloudDashboardButton.tsx @@ -1,73 +1,34 @@ -"use client"; - -import { useState } from "react"; -import { createPortal } from "react-dom"; - export function CloudDashboardButton({ variant, }: { variant: "navbar" | "hero"; }) { - const [showDialog, setShowDialog] = useState(false); - - return ( - <> - {variant === "navbar" ? ( - - ) : ( - - )} - - {showDialog && - createPortal( -
setShowDialog(false)} - > -
e.stopPropagation()} - > -

- Cloud is in development -

-

- Databasus Cloud is currently under development. Stay tuned for - updates! -

- -
-
, - document.body, - )} - + return variant === "navbar" ? ( + + Dashboard + + ) : ( + + Dashboard + + + + ); }