import Link from "next/link" import { Building2 } from "lucide-react" import { cn } from "@/lib/utils" type Size = "sm" | "md" | "lg" const SIZES: Record = { sm: { box: "h-7 w-7", icon: "h-4 w-4", title: "text-xs", sub: "text-[9px]", gap: "gap-2" }, md: { box: "h-8 w-8", icon: "h-[18px] w-[18px]", title: "text-[13px]", sub: "text-[10px]", gap: "gap-2.5" }, lg: { box: "h-9 w-9", icon: "h-5 w-5", title: "text-[15px]", sub: "text-[11px]", gap: "gap-2.5" }, } /** The brand mark — gradient rounded square with the building glyph. */ export function LogoMark({ size = "md", className }: { size?: Size; className?: string }) { const s = SIZES[size] return (
) } /** * Full brand lockup: mark + "Property Management" / "Network" wordmark. * Designed for the app's dark surfaces (white title, indigo accent). * Pass `href={null}` to render a non-link version. */ export function Logo({ size = "md", className, href = "/", }: { size?: Size className?: string href?: string | null }) { const s = SIZES[size] const content = ( <> Property Management Network ) const classes = cn("flex items-center", s.gap, className) return href ? ( {content} ) : (
{content}
) }