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

type LogoIconProps = {
  className?: string;
  title?: string;
};

/** Raster house mark extracted from marketing/ehandyhire-fb-profile.png */
export function LogoIcon({ className, title }: LogoIconProps) {
  return (
    // eslint-disable-next-line @next/next/no-img-element
    <img
      src="/brand/logo-house.png"
      alt={title ?? 'eHandyHire'}
      aria-hidden={title ? undefined : true}
      draggable={false}
      className={cn('shrink-0 object-contain', className)}
    />
  );
}
