From b81ca0e2ab08c41857b4029d8199bc2e0d8e1c29 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Sun, 2 Apr 2023 12:22:31 +0200 Subject: [PATCH] renamed banner folder to prevent adblock from blocking (#8020) --- apps/web/pages/insights/index.tsx | 2 +- apps/web/public/{banners => tips}/insights.jpg | Bin apps/web/public/{banners => tips}/routing-forms.jpg | Bin apps/web/public/{banners => tips}/teams.jpg | Bin .../routing-forms/pages/forms/[...appPages].tsx | 2 +- .../features/ee/teams/components/TeamsListing.tsx | 2 +- packages/features/tips/Tips.tsx | 8 ++++++++ 7 files changed, 11 insertions(+), 3 deletions(-) rename apps/web/public/{banners => tips}/insights.jpg (100%) rename apps/web/public/{banners => tips}/routing-forms.jpg (100%) rename apps/web/public/{banners => tips}/teams.jpg (100%) diff --git a/apps/web/pages/insights/index.tsx b/apps/web/pages/insights/index.tsx index 30877fc64a..070d50d763 100644 --- a/apps/web/pages/insights/index.tsx +++ b/apps/web/pages/insights/index.tsx @@ -63,7 +63,7 @@ export default function InsightsPage() { title={t("make_informed_decisions")} description={t("make_informed_decisions_description")} features={features} - background="/banners/insights.jpg" + background="/tips/insights.jpg" buttons={
diff --git a/apps/web/public/banners/insights.jpg b/apps/web/public/tips/insights.jpg similarity index 100% rename from apps/web/public/banners/insights.jpg rename to apps/web/public/tips/insights.jpg diff --git a/apps/web/public/banners/routing-forms.jpg b/apps/web/public/tips/routing-forms.jpg similarity index 100% rename from apps/web/public/banners/routing-forms.jpg rename to apps/web/public/tips/routing-forms.jpg diff --git a/apps/web/public/banners/teams.jpg b/apps/web/public/tips/teams.jpg similarity index 100% rename from apps/web/public/banners/teams.jpg rename to apps/web/public/tips/teams.jpg diff --git a/packages/app-store/routing-forms/pages/forms/[...appPages].tsx b/packages/app-store/routing-forms/pages/forms/[...appPages].tsx index 3c10cbaeee..b7bd06ec4d 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="/banners/routing-forms.jpg" + background="/tips/routing-forms.jpg" isParentLoading={isLoading && } buttons={
diff --git a/packages/features/ee/teams/components/TeamsListing.tsx b/packages/features/ee/teams/components/TeamsListing.tsx index 4854e42d20..df1451e9bb 100644 --- a/packages/features/ee/teams/components/TeamsListing.tsx +++ b/packages/features/ee/teams/components/TeamsListing.tsx @@ -71,7 +71,7 @@ export function TeamsListing() { emptyTitle="no_teams" emptyDescription="no_teams_description" features={features} - background="/banners/teams.jpg" + background="/tips/teams.jpg" buttons={
diff --git a/packages/features/tips/Tips.tsx b/packages/features/tips/Tips.tsx index af9af191e3..28ae03443b 100644 --- a/packages/features/tips/Tips.tsx +++ b/packages/features/tips/Tips.tsx @@ -86,6 +86,14 @@ export const tips = [ description: "Free video conferencing with recording", href: "https://go.cal.com/video", }, + { + id: 11, + thumbnailUrl: "https://img.youtube.com/vi/KTg_qzA9NEc/0.jpg", + mediaLink: "https://go.cal.com/insights", + title: "Insights", + description: "Get a better understanding of your business", + href: "https://go.cal.com/insights", + }, ]; export default function Tips() {