@@ -130,35 +144,40 @@ export default function ServerCard({
: "lg:min-h-[61px] min-h-[93px]",
)}
>
-
-
-
-
-
- {showFlag ? : null}
-
-
- {name}
-
-
-
-
- {t("Offline")}
-
-
+
+
+
+ {showFlag ? : null}
+
+
+
+
+
+
+
+ {name}
+
+
+
+
);
}
diff --git a/components/ui/tooltip.tsx b/components/ui/tooltip.tsx
index 2d0ad74..219d4ff 100644
--- a/components/ui/tooltip.tsx
+++ b/components/ui/tooltip.tsx
@@ -18,7 +18,7 @@ const TooltipContent = React.forwardRef<
ref={ref}
sideOffset={sideOffset}
className={cn(
- "z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
+ "z-50 overflow-hidden rounded-[10px] border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
className,
)}
{...props}
diff --git a/package.json b/package.json
index 498dd27..3f8b02d 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "nezha-dash",
- "version": "1.1.1",
+ "version": "1.2.0",
"private": true,
"scripts": {
"dev": "next dev -p 3020",
@@ -32,7 +32,7 @@
"framer-motion": "^12.0.0-alpha.1",
"lucide-react": "^0.451.0",
"luxon": "^3.5.0",
- "next": "^15.0.3-canary.3",
+ "next": "^15.0.3-canary.4",
"next-auth": "^5.0.0-beta.25",
"next-intl": "^3.24.0",
"next-runtime-env": "^3.2.2",
@@ -57,7 +57,7 @@
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"autoprefixer": "^10.4.20",
- "eslint": "^9.13.0",
+ "eslint": "^9.14.0",
"eslint-config-next": "15.0.2",
"postcss": "^8.4.47",
"prettier": "^3.3.3",