import Link from "next/link" import Image from "next/image" import { cn } from "@/lib/utils" type Size = "sm" | "md" | "lg" type Theme = "light" | "dark" // Wordmark lockup height per size — width follows the image's aspect ratio. const WORDMARK_H: Record = { sm: "h-6", // 24px md: "h-7", // 28px lg: "h-8", // 32px } // Square brand-mark box per size. const MARK_BOX: Record = { sm: "h-7 w-7", md: "h-8 w-8", lg: "h-9 w-9", } /** The square brand mark (framework "monster") — used where space is tight, e.g. the collapsed sidebar. */ export function LogoMark({ size = "md", className }: { size?: Size; className?: string }) { return ( Property Management Network ) } /** * Full brand wordmark lockup (mark + "Property Management Network"). * `theme="light"` (default) renders the white wordmark for dark surfaces; * `theme="dark"` renders the dark wordmark for light surfaces. * Pass `href={null}` to render a non-link version. */ export function Logo({ size = "md", theme = "light", className, href = "/", }: { size?: Size theme?: Theme className?: string href?: string | null }) { const img = ( Property Management Network ) const classes = cn("flex items-center", className) return href ? ( {img} ) : (
{img}
) }