-
- {system.status === SystemStatus.Up && (
-
- )}
+
+
+
+
+ {system.status === SystemStatus.Up && (
-
- {translatedStatus}
+ )}
+
+
+ {translatedStatus}
+
+
+ {system.info.ct && (
+
+
+ {system.info.ct === ConnectionType.WebSocket ? (
+
+ ) : (
+
+ )}
+ {connectionTypeLabels[system.info.ct as ConnectionType]}
-
- {system.info.ct && (
-
-
- {system.info.ct === ConnectionType.WebSocket ? (
-
- ) : (
-
- )}
- {connectionTypeLabels[system.info.ct as ConnectionType]}
-
-
- )}
-
-
+
+ )}
+
{systemInfo.map(({ value, label, Icon, hide }) => {
if (hide || !value) {
@@ -186,12 +184,10 @@ export default function InfoBar({
{label ? (
-
-
- {content}
- {label}
-
-
+
+ {content}
+ {label}
+
) : (
content
)}
@@ -202,26 +198,24 @@ export default function InfoBar({
-
-
-
-
-
- {t`Toggle grid`}
-
-
+
+
+
+
+ {t`Toggle grid`}
+
diff --git a/internal/site/src/components/ui/input-copy.tsx b/internal/site/src/components/ui/input-copy.tsx
index 319faf0a..43194abe 100644
--- a/internal/site/src/components/ui/input-copy.tsx
+++ b/internal/site/src/components/ui/input-copy.tsx
@@ -3,7 +3,7 @@ import { CopyIcon } from "lucide-react"
import { copyToClipboard } from "@/lib/utils"
import { Button } from "./button"
import { Input } from "./input"
-import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./tooltip"
+import { Tooltip, TooltipContent, TooltipTrigger } from "./tooltip"
export function InputCopy({ value, id, name }: { value: string; id: string; name: string }) {
return (
@@ -14,25 +14,23 @@ export function InputCopy({ value, id, name }: { value: string; id: string; name
"h-6 w-24 bg-linear-to-r rtl:bg-linear-to-l from-transparent to-background to-65% absolute top-2 end-1 pointer-events-none"
}
>