2021-06-21 20:26:04 +00:00
|
|
|
import Link from "next/link";
|
|
|
|
|
2021-10-15 10:53:42 +00:00
|
|
|
import { useLocale } from "@lib/hooks/useLocale";
|
|
|
|
|
|
|
|
const PoweredByCal = () => {
|
|
|
|
const { t } = useLocale();
|
|
|
|
return (
|
|
|
|
<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">
|
|
|
|
{t("powered_by")}{" "}
|
|
|
|
<img
|
|
|
|
className="dark:hidden w-auto inline h-[10px] relative -mt-px"
|
|
|
|
src="https://cal.com/logo.svg"
|
|
|
|
alt="Cal.com Logo"
|
|
|
|
/>
|
|
|
|
<img
|
|
|
|
className="hidden dark:inline w-auto h-[10px] relativ -mt-px"
|
|
|
|
src="https://cal.com/logo-white.svg"
|
|
|
|
alt="Cal.com Logo"
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
</Link>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
2021-06-21 20:26:04 +00:00
|
|
|
|
2021-09-25 16:03:08 +00:00
|
|
|
export default PoweredByCal;
|