import plane from "@/assets/aviator-plane-body.png";

/** The red Aviator plane with a spinning propeller at the nose. */
export function AviatorPlane({ className = "" }: { className?: string }) {
  return (
    <span className={`relative inline-block ${className}`} aria-hidden>
      <img src={plane} alt="" className="block w-full" />
      <span className="absolute left-[93.5%] top-[54%] size-[5%] -translate-y-1/2 rounded-full bg-lose" />
      <span className="absolute left-[93%] top-[22%] h-[62%] w-[3%] animate-prop rounded-full bg-lose" />
    </span>
  );
}
