import { Link } from "../provider";
import { cn } from "../ui/cn";
/** Merge: two agent rings flow into one main line, which stops short of the orange dot. The last step, the decision, is yours. */
export function LogoMark({ className = "size-[1.15em]" }: { className?: string }) {
return (
);
}
export function Wordmark({ large = false }: { large?: boolean }) {
return (
refs
);
}
function initials(name: string): string {
return (
name
.split(/\s+/)
.filter(Boolean)
.slice(0, 2)
.map((part) => part[0]!.toUpperCase())
.join("") || "?"
);
}
const SIZE = { xs: "size-5 text-[0.6429rem]", sm: "size-6 text-[0.7143rem]", base: "size-8 text-xs", lg: "size-11 text-sm" };
/** A person: a filled blue roundel. Every human act in refs carries this mark. */
export function Avatar({ name, size = "sm", className }: { name: string; size?: keyof typeof SIZE; className?: string }) {
return (
{initials(name)}
);
}
/** An agent: a hollow ring, like a station on the line. Agent work never wears the human fill. */
export function AgentAvatar({ name, size = "sm", className }: { name: string; size?: keyof typeof SIZE; className?: string }) {
return (
{initials(name)}
);
}