import { useSession } from "next-auth/react"; import Link from "next/link"; import { useIsEmbed } from "@calcom/embed-core/embed-iframe"; import { APP_NAME, POWERED_BY_URL } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; const PoweredByCal = ({ logoOnly }: { logoOnly?: boolean }) => { const { t } = useLocale(); const session = useSession(); const isEmbed = useIsEmbed(); const hasValidLicense = session.data ? session.data.hasValidLicense : null; return (