import Link from "next/link";

const PoweredByCalendso = () => (
  <div className="text-xs text-center sm:text-right p-1">
    <Link href={`https://cal.com?utm_source=embed&utm_medium=powered-by-button`}>
      <a target="_blank" className="dark:text-white text-gray-500 opacity-50 hover:opacity-100">
        powered by{" "}
        <img className="dark:hidden w-auto inline h-[10px] relative" src="/logo.svg" alt="Cal.com Logo" />
        <img
          className="hidden dark:inline w-auto h-[10px] relative"
          src="/logo-white.svg"
          alt="Cal.com Logo"
        />
      </a>
    </Link>
  </div>
);

export default PoweredByCalendso;