import Image from "next/image";

const sizes = {
  sm: { width: 120, height: 40 },
  md: { width: 160, height: 48 },
  lg: { width: 200, height: 60 },
} as const;

interface AgnetLogoProps {
  size?: keyof typeof sizes;
  className?: string;
}

export default function AgnetLogo({ size = "md", className = "" }: AgnetLogoProps) {
  const { width, height } = sizes[size];
  return (
    <Image
      src="/agnet-global-logo.png"
      alt="AgNet Global"
      width={width}
      height={height}
      className={`object-contain ${className}`}
      priority
    />
  );
}
