import Link from "next/link";
import type { CSSProperties } from "react";
import { cn } from "@/components/ui/cn";
/**
* DataCenterIndex mark — a globe (circle + meridian) crossed by three rack lines;
* the middle line is the accent "index tick" that runs past the globe's edge.
* Monochrome ink + one accent; readable from 16 px to 512 px.
*/
export function LogoMark({ size = 24, className, ink = "currentColor", accent = "var(--accent)", title = "DataCenterIndex", style }: { size?: number; className?: string; ink?: string; accent?: string; title?: string; style?: CSSProperties }) {
return (
);
}
/** Wordmark: "DataCenter" heavy + "Index" light, tight tracking; optional thin index mark. */
export function Wordmark({ className, compact }: { className?: string; compact?: boolean }) {
return (
DataCenter
Index
{!compact && }
);
}
export function Logo({ href = "/", size = 22, className, compact, textClassName }: { href?: string | null; size?: number; className?: string; compact?: boolean; textClassName?: string }) {
const inner = (
<>
>
);
if (!href) return {inner};
return (
{inner}
);
}