"use client"
import Link from "next/link"
import { cn } from "@/lib/utils"
type UltiMailLogoProps = {
className?: string
/** `horizontal` = picto + texte. `mark` = picto seul. `stacked` = wordmark empilé. */
variant?: "horizontal" | "mark" | "stacked"
/** Lien au clic ; `null` = pas de lien. Défaut : boîte de réception. */
href?: string | null
}
/** Icône extraite du master PNG (pas le SVG VTracer, trop « M Gmail » à petite taille). */
const HEADER_ICON = "/brand/ultimail-header-icon.png"
const STACKED_WORDMARK = "/brand/ultimail-wordmark-stacked.png"
const DEFAULT_INBOX_HREF = "/mail/inbox"
export function UltiMailLogo({
className,
variant = "horizontal",
href = DEFAULT_INBOX_HREF,
}: UltiMailLogoProps) {
const mark = (
)
if (variant === "mark") {
if (href === null) {
return