feat: refine server management workflows

This commit is contained in:
2026-08-13 02:19:26 +07:00
parent 3a09f0b571
commit bd473863f3
22 changed files with 2069 additions and 2208 deletions
+29
View File
@@ -0,0 +1,29 @@
"use client";
import { Info } from "lucide-react";
import type * as React from "react";
import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip";
import { cn } from "@/lib/cn";
export function HelpTooltip({ content }: { content: React.ReactNode }) {
return (
<Tooltip>
<TooltipTrigger asChild>
<button type="button" className="text-muted-foreground hover:text-foreground">
<Info className="size-4" />
<span className="sr-only">More information</span>
</button>
</TooltipTrigger>
<TooltipContent className="max-w-64">{content}</TooltipContent>
</Tooltip>
);
}
export function FormNotice({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
className={cn("rounded-sm border border-dashed p-4 text-sm text-muted-foreground", className)}
{...props}
/>
);
}