From b6016c8f2045d1214942682efe03d89039f4cf68 Mon Sep 17 00:00:00 2001 From: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com> Date: Fri, 17 Feb 2023 06:12:20 -0500 Subject: [PATCH] fix zapier app settings (#7161) Co-authored-by: CarinaWolli --- apps/web/components/AppListCard.tsx | 4 +-- apps/web/public/static/locales/en/common.json | 3 +- .../app-store/_components/AppSettings.tsx | 2 +- .../components/AppSettingsInterface.tsx | 2 +- .../components/AppSettingsInterface.tsx | 32 +++++++++++-------- .../zapier/components/TemplateCard.tsx | 18 +++++------ 6 files changed, 33 insertions(+), 28 deletions(-) diff --git a/apps/web/components/AppListCard.tsx b/apps/web/components/AppListCard.tsx index 4a1696e6b9..20d79ac950 100644 --- a/apps/web/components/AppListCard.tsx +++ b/apps/web/components/AppListCard.tsx @@ -63,8 +63,8 @@ export default function AppListCard(props: AppListCardProps) { }, []); return ( -
-
+
+
{logo ? {`${title} : null}
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index 3704494464..28e0853eb5 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -1598,5 +1598,6 @@ "booking_with_payment_cancelled": "Paying for this event is no longer possible", "booking_with_payment_cancelled_already_paid": "A refund for this booking payment it's on the way.", "booking_with_payment_cancelled_refunded": "This booking payment has been refunded.", - "booking_confirmation_failed": "Booking confirmation failed" + "booking_confirmation_failed": "Booking confirmation failed", + "get_started_zapier_templates": "Get started with Zapier templates" } diff --git a/packages/app-store/_components/AppSettings.tsx b/packages/app-store/_components/AppSettings.tsx index 6f27c3b8c2..eef449ed98 100644 --- a/packages/app-store/_components/AppSettings.tsx +++ b/packages/app-store/_components/AppSettings.tsx @@ -5,7 +5,7 @@ import { DynamicComponent } from "./DynamicComponent"; export const AppSettings = (props: { slug: string }) => { return ( - wrapperClassName="border-t border-gray-200 bg-gray-100" + wrapperClassName="border-t border-gray-200 p-6" componentMap={AppSettingsComponentsMap} {...props} /> diff --git a/packages/app-store/weather_in_your_calendar/components/AppSettingsInterface.tsx b/packages/app-store/weather_in_your_calendar/components/AppSettingsInterface.tsx index f910fbe67b..6f8e1353c5 100644 --- a/packages/app-store/weather_in_your_calendar/components/AppSettingsInterface.tsx +++ b/packages/app-store/weather_in_your_calendar/components/AppSettingsInterface.tsx @@ -15,7 +15,7 @@ export default function AppSettings() { const [location, setLocation] = useState(""); return ( -
+
- {templates.map((template, index) => ( - - ))} -
+ <> +
{t("get_started_zapier_templates")}
+
+ {templates.map((template, index) => ( + + ))} +
+ ); } diff --git a/packages/app-store/zapier/components/TemplateCard.tsx b/packages/app-store/zapier/components/TemplateCard.tsx index 2eee775cdd..49a3239bc8 100644 --- a/packages/app-store/zapier/components/TemplateCard.tsx +++ b/packages/app-store/zapier/components/TemplateCard.tsx @@ -4,8 +4,8 @@ import type { Template } from "./AppSettingsInterface"; export default function TemplateCard({ template }: { template: Template }) { return ( -
-
+
+
{template.app} @@ -18,14 +18,12 @@ export default function TemplateCard({ template }: { template: Template }) {
-
- +
+
+ +