From d5b7195d677b7f40a6ba8ac77e5caf7dfb1fc119 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Thu, 1 Sep 2022 11:22:49 +0200 Subject: [PATCH] fixed dark mode skeleton on public page (#4064) --- .../components/booking/AvailableEventLocations.tsx | 2 +- apps/web/components/booking/AvailableTimes.tsx | 4 ++-- .../components/booking/pages/AvailabilityPage.tsx | 12 ++++++------ packages/ui/skeleton/index.tsx | 2 +- packages/ui/v2/modules/booker/DatePicker.tsx | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/apps/web/components/booking/AvailableEventLocations.tsx b/apps/web/components/booking/AvailableEventLocations.tsx index 9a75762d65..ef6bd54c35 100644 --- a/apps/web/components/booking/AvailableEventLocations.tsx +++ b/apps/web/components/booking/AvailableEventLocations.tsx @@ -6,7 +6,7 @@ import { Props } from "./pages/AvailabilityPage"; export function AvailableEventLocations({ locations }: { locations: Props["eventType"]["locations"] }) { return locations.length ? (
-
+

{locations.map((location) => { const eventLocationType = getEventLocationType(location.type); diff --git a/apps/web/components/booking/AvailableTimes.tsx b/apps/web/components/booking/AvailableTimes.tsx index 600ed4f9e8..db7a44d6b4 100644 --- a/apps/web/components/booking/AvailableTimes.tsx +++ b/apps/web/components/booking/AvailableTimes.tsx @@ -43,7 +43,7 @@ const AvailableTimes: FC = ({ }, []); return ( -

+
{nameOfDay(i18n.language, Number(date.format("d")))} @@ -98,7 +98,7 @@ const AvailableTimes: FC = ({ diff --git a/apps/web/components/booking/pages/AvailabilityPage.tsx b/apps/web/components/booking/pages/AvailabilityPage.tsx index c1b7ca0d9d..31979efbd9 100644 --- a/apps/web/components/booking/pages/AvailabilityPage.tsx +++ b/apps/web/components/booking/pages/AvailabilityPage.tsx @@ -240,7 +240,7 @@ function TimezoneDropdown({ return ( - +

{timeZone} @@ -408,7 +408,7 @@ const AvailabilityPage = ({ profile, eventType }: Props) => {

{eventType?.description && ( -
+
@@ -416,18 +416,18 @@ const AvailabilityPage = ({ profile, eventType }: Props) => {
)} {eventType?.requiresConfirmation && ( -

+

{t("requires_confirmation")}

)} -

+

{eventType.length} {t("minutes")}

{eventType.price > 0 && ( -
+
{

{eventType.title}

-
+
{eventType?.description && (
diff --git a/packages/ui/skeleton/index.tsx b/packages/ui/skeleton/index.tsx index 19df84d949..1811ef9cd6 100644 --- a/packages/ui/skeleton/index.tsx +++ b/packages/ui/skeleton/index.tsx @@ -33,7 +33,7 @@ const SkeletonText: React.FC = ({ width, height, className }) return (
diff --git a/packages/ui/v2/modules/booker/DatePicker.tsx b/packages/ui/v2/modules/booker/DatePicker.tsx index ca793eaa60..fefda1d312 100644 --- a/packages/ui/v2/modules/booker/DatePicker.tsx +++ b/packages/ui/v2/modules/booker/DatePicker.tsx @@ -89,7 +89,7 @@ const Days = ({
) : props.isLoading ? (