import Link from "next/link"; import { CAL_URL } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { AlertCircle, ArrowRight, Check } from "@calcom/ui/components/icon"; const ExistingGoogleCal = ({ gCalInstalled, appName }: { gCalInstalled?: boolean; appName: string }) => { const { t } = useLocale(); return gCalInstalled ? (
{t("google_calendar_is_connected")}
{t("requires_google_calendar")}
) : (
{t("this_app_requires_google_calendar", { appName })}
<> {t("connect_google_calendar")}
); }; export default ExistingGoogleCal;