diff --git a/.env.example b/.env.example index 221c962a6d..6cbeb377f0 100644 --- a/.env.example +++ b/.env.example @@ -140,3 +140,8 @@ SENDGRID_SYNC_API_KEY= # Sentry NEXT_PUBLIC_SENTRY_DSN= SENTRY_IGNORE_API_RESOLUTION_ERROR= + +# Change your Brand +NEXT_PUBLIC_APP_NAME="Cal.com" +NEXT_PUBLIC_SUPPORT_MAIL_ADDRESS="help@cal.com" +NEXT_PUBLIC_COMPANY_NAME="Cal.com, Inc." diff --git a/apps/web/components/Embed.tsx b/apps/web/components/Embed.tsx index 899ea460a5..761cb87610 100644 --- a/apps/web/components/Embed.tsx +++ b/apps/web/components/Embed.tsx @@ -4,6 +4,7 @@ import { NextRouter, useRouter } from "next/router"; import { createRef, forwardRef, MutableRefObject, RefObject, useRef, useState } from "react"; import { components, ControlProps } from "react-select"; +import { APP_NAME, EMBED_LIB_URL, WEBAPP_URL } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { Button, @@ -20,8 +21,6 @@ import { TextField, } from "@calcom/ui"; -import { EMBED_LIB_URL, WEBAPP_URL } from "@lib/config/constants"; - import ColorPicker from "@components/ui/colorpicker"; import Select from "@components/ui/form/Select"; @@ -498,7 +497,9 @@ const tabs = [ return ( <>
- {t("place_where_cal_widget_appear")} + + {t("place_where_cal_widget_appear", { appName: APP_NAME })} +