import Image from "next/image"; import Link from "next/link"; import { cn } from "@/lib/utils"; const siteName = "Great Rift Valley Innovation Summit"; type BrandLogoProps = { className?: string; href?: string; /** Header/footer wordmark, or icon-only */ variant?: "default" | "footer" | "icon"; /** Tighter sizing for the floating navbar */ compact?: boolean; }; export function BrandLogo({ className, href = "/", variant = "default", compact = false, }: BrandLogoProps) { const isFooter = variant === "footer"; const markSize = compact ? "size-8" : "size-9 md:size-10"; const markPad = isFooter ? "rounded-md bg-white p-1 shadow-sm" : "rounded-md"; const mark = ( ); if (variant === "icon") { return ( {mark} ); } const primaryClass = isFooter ? "text-white" : "text-[#1a5c38]"; const secondaryClass = isFooter ? "text-white/85" : "text-[#0d3d26]/90"; const primarySize = compact ? "text-[12px] sm:text-[13px] md:text-sm" : isFooter ? "text-base md:text-lg" : "text-sm sm:text-base md:text-lg"; const secondarySize = compact ? "text-[8px] sm:text-[9px]" : "text-[9px] sm:text-[10px]"; const content = ( {mark} Great Rift Valley Innovation Summit ); if (!href) return content; return ( {content} ); }