import Image from "next/image";

import { cn } from "@/lib/utils";

interface BrandIconProps {
  className?: string;
  size?: number;
  priority?: boolean;
}

/** Official krypco icon mark. */
export function BrandIcon({
  className,
  size = 28,
  priority = false,
}: BrandIconProps) {
  return (
    <Image
      src="/brand/icon.svg"
      alt=""
      width={size}
      height={size}
      priority={priority}
      aria-hidden
      className={cn("shrink-0", className)}
    />
  );
}
