type LocationMapProps = {
  className?: string;
};

const MAP_EMBED_SRC =
  "https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2511.0216556164874!2d-2.862108222726702!3d51.00092867170265!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x48720d6865c70499%3A0xd6cd1e257ef499af!2sTeapot%20Creative%20Ltd!5e0!3m2!1sen!2suk!4v1774538739214!5m2!1sen!2suk";

const LocationMap = ({ className = "" }: LocationMapProps) => {
  return (
    <div className={`overflow-hidden rounded-xl ${className}`.trim()}>
      <iframe
        src={MAP_EMBED_SRC}
        className="block aspect-square sm:aspect-[4/3] lg:aspect-[16/5] w-full border-0 select-none"
        title="Teapot Creative location map"
        allowFullScreen
        loading="lazy"
        referrerPolicy="no-referrer-when-downgrade"
      />
    </div>
  );
};

export default LocationMap;
