Full-stack real-time server monitoring dashboard with: - Express.js backend with SSH-based metrics collection - React + TypeScript + Tailwind CSS + shadcn/ui frontend - CPU, memory, disk, Docker container, and Nginx monitoring - Pure SVG charts (CPU area chart + memory donut) - Gilroy font, 10s auto-refresh polling - Multi-page dashboard with sidebar navigation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
27 lines
680 B
TypeScript
27 lines
680 B
TypeScript
import * as React from "react"
|
|
import { Separator as SeparatorPrimitive } from "radix-ui"
|
|
|
|
import { cn } from "@/lib/utils"
|
|
|
|
function Separator({
|
|
className,
|
|
orientation = "horizontal",
|
|
decorative = true,
|
|
...props
|
|
}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {
|
|
return (
|
|
<SeparatorPrimitive.Root
|
|
data-slot="separator"
|
|
decorative={decorative}
|
|
orientation={orientation}
|
|
className={cn(
|
|
"shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
|
|
className
|
|
)}
|
|
{...props}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export { Separator }
|