diff --git a/apps/web/pages/insights/index.tsx b/apps/web/pages/insights/index.tsx index 25cbdce621..ae331738da 100644 --- a/apps/web/pages/insights/index.tsx +++ b/apps/web/pages/insights/index.tsx @@ -58,14 +58,14 @@ export default function InsightsPage() { title={t("make_informed_decisions")} description={t("make_informed_decisions_description")} features={features} - background="/tips/insights.jpg" + background="/tips/insights" buttons={
- diff --git a/apps/web/public/tips/insights-dark.jpg b/apps/web/public/tips/insights-dark.jpg new file mode 100644 index 0000000000..515a2093f3 Binary files /dev/null and b/apps/web/public/tips/insights-dark.jpg differ diff --git a/apps/web/public/tips/routing-forms-dark.jpg b/apps/web/public/tips/routing-forms-dark.jpg new file mode 100644 index 0000000000..515a2093f3 Binary files /dev/null and b/apps/web/public/tips/routing-forms-dark.jpg differ diff --git a/apps/web/public/tips/teams-dark.jpg b/apps/web/public/tips/teams-dark.jpg new file mode 100644 index 0000000000..0c0ce13fa6 Binary files /dev/null and b/apps/web/public/tips/teams-dark.jpg differ diff --git a/packages/app-store/routing-forms/pages/forms/[...appPages].tsx b/packages/app-store/routing-forms/pages/forms/[...appPages].tsx index 39970b23df..e6d14e3f62 100644 --- a/packages/app-store/routing-forms/pages/forms/[...appPages].tsx +++ b/packages/app-store/routing-forms/pages/forms/[...appPages].tsx @@ -102,7 +102,7 @@ export default function RoutingForms({ title={t("teams_plan_required")} description={t("routing_forms_are_a_great_way")} features={features} - background="/tips/routing-forms.jpg" + background="/tips/routing-forms" isParentLoading={isLoading && } buttons={
@@ -110,11 +110,7 @@ export default function RoutingForms({ - diff --git a/packages/features/ee/teams/components/TeamsListing.tsx b/packages/features/ee/teams/components/TeamsListing.tsx index b9bc15de15..69762bd6c4 100644 --- a/packages/features/ee/teams/components/TeamsListing.tsx +++ b/packages/features/ee/teams/components/TeamsListing.tsx @@ -68,10 +68,8 @@ export function TeamsListing() { diff --git a/packages/features/tips/UpgradeTip.tsx b/packages/features/tips/UpgradeTip.tsx index 8c72b68a91..1a03fb4729 100644 --- a/packages/features/tips/UpgradeTip.tsx +++ b/packages/features/tips/UpgradeTip.tsx @@ -1,4 +1,3 @@ -import Image from "next/image"; import type { ReactNode } from "react"; import { classNames } from "@calcom/lib"; @@ -8,8 +7,6 @@ import { useLocale } from "@calcom/lib/hooks/useLocale"; export function UpgradeTip({ dark, title, - emptyTitle, - emptyDescription, description, background, features, @@ -21,8 +18,6 @@ export function UpgradeTip({ title: string; description: string; /* overwrite EmptyScreen text */ - emptyTitle?: string; - emptyDescription?: string; background: string; features: Array<{ icon: JSX.Element; title: string; description: string }>; buttons?: JSX.Element; @@ -40,14 +35,15 @@ export function UpgradeTip({ return ( <>
- {title} + + + {title} +

{t(title)}