diff --git a/apps/storybook/styles/globals.css b/apps/storybook/styles/globals.css index a6f8a736ae..bef875f992 100755 --- a/apps/storybook/styles/globals.css +++ b/apps/storybook/styles/globals.css @@ -8,6 +8,4 @@ --brand-color-dark-mode: #fafafa; --brand-text-color-dark-mode: #292929; font-family: 'Inter', sans-serif; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; } diff --git a/apps/web/components/booking/AvailableTimes.tsx b/apps/web/components/booking/AvailableTimes.tsx index 1d0273b92c..9dc9c800b9 100644 --- a/apps/web/components/booking/AvailableTimes.tsx +++ b/apps/web/components/booking/AvailableTimes.tsx @@ -49,14 +49,14 @@ const AvailableTimes: FC = ({ }, []); return ( -
-
- - {nameOfDay(i18n.language, Number(date.format("d")))} - - {date.format(", D ")} - {date.toDate().toLocaleString(i18n.language, { month: "long" })} - +
+
+ + {nameOfDay(i18n.language, Number(date.format("d")))} + + + {date.format(", D ")} + {date.toDate().toLocaleString(i18n.language, { month: "long" })}
@@ -107,7 +107,7 @@ const AvailableTimes: FC = ({ diff --git a/apps/web/components/booking/TimeOptions.tsx b/apps/web/components/booking/TimeOptions.tsx index f1916b0d14..0b6d38d460 100644 --- a/apps/web/components/booking/TimeOptions.tsx +++ b/apps/web/components/booking/TimeOptions.tsx @@ -33,9 +33,9 @@ const TimeOptions: FC = ({ onToggle24hClock, onSelectTimeZone, timeFormat }; return selectedTimeZone !== "" ? ( -
+
-
{t("time_options")}
+
{t("time_options")}
+
{eventType?.description && (

- + {eventType.description}

)} {eventType?.requiresConfirmation && (

- + {t("requires_confirmation")}

)} @@ -441,9 +443,9 @@ const AvailabilityPage = ({ profile, eventType }: Props) => { {Object.values(AppStoreLocationType).includes( eventType.locations[0].type as unknown as AppStoreLocationType ) ? ( - + ) : ( - + )} {locationKeyToString(eventType.locations[0], t)} @@ -452,7 +454,7 @@ const AvailabilityPage = ({ profile, eventType }: Props) => { {eventType.locations.length > 1 && (
- +

{eventType.locations.map((el, i, arr) => { @@ -469,12 +471,12 @@ const AvailabilityPage = ({ profile, eventType }: Props) => {

)}

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

{eventType.price > 0 && (
- + { )} {!rescheduleUid && eventType.recurringEvent && (
- +

{getRecurringFreq({ t, recurringEvent: eventType.recurringEvent })} @@ -520,7 +522,7 @@ const AvailabilityPage = ({ profile, eventType }: Props) => { {t("former_time")}

- + {typeof booking.startTime === "string" && parseDate(dayjs(booking.startTime), i18n)}

@@ -533,10 +535,10 @@ const AvailabilityPage = ({ profile, eventType }: Props) => {
-
+
{ size={10} truncateAfter={3} /> -

+

{profile.name}

-

+

{eventType.title}

-
+
{eventType?.description && ( -
+
- +

{eventType.description}

)} {eventType?.requiresConfirmation && ( -
+
- +
{t("requires_confirmation")}
)} {eventType.locations.length === 1 && ( -

+

{Object.values(AppStoreLocationType).includes( eventType.locations[0].type as unknown as AppStoreLocationType ) ? ( - + ) : ( - + )} {locationKeyToString(eventType.locations[0], t)}

)} {eventType.locations.length > 1 && ( -
+
- +

{eventType.locations.map((el, i, arr) => { @@ -603,7 +605,7 @@ const AvailabilityPage = ({ profile, eventType }: Props) => { {locationKeyToString(el, t)}{" "} {arr.length - 1 !== i && ( - {t("or_lowercase")} + {t("or_lowercase")} )} ); @@ -611,13 +613,13 @@ const AvailabilityPage = ({ profile, eventType }: Props) => {

)} -

- +

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

{!rescheduleUid && eventType.recurringEvent && (
- +

{getRecurringFreq({ t, recurringEvent: eventType.recurringEvent })} @@ -642,7 +644,7 @@ const AvailabilityPage = ({ profile, eventType }: Props) => { )} {eventType.price > 0 && (

- + { {t("former_time")}

- + {typeof booking.startTime === "string" && parseDate(dayjs(booking.startTime), i18n)}

diff --git a/apps/web/components/booking/pages/BookingPage.tsx b/apps/web/components/booking/pages/BookingPage.tsx index f56f739780..97b1444121 100644 --- a/apps/web/components/booking/pages/BookingPage.tsx +++ b/apps/web/components/booking/pages/BookingPage.tsx @@ -479,8 +479,8 @@ const BookingPage = ({ isBackgroundTransparent ? "" : "dark:border-1 bg-white dark:bg-gray-800", "rounded-md dark:border-gray-600 sm:border" )}> -
-
+
+
)} {eventType?.description && ( -

+

{eventType.description}

)} {eventType?.requiresConfirmation && ( -

+

{t("requires_confirmation")}

)} -

+

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

{eventType.price > 0 && ( -

+

)} {!rescheduleUid && eventType.recurringEvent?.freq && recurringEventCount && ( -

+

{getEveryFreqFor({ @@ -557,7 +557,7 @@ const BookingPage = ({

)} -
+
{(rescheduleUid || !eventType.recurringEvent?.freq) && @@ -571,7 +571,7 @@ const BookingPage = ({ content={recurringStrings.slice(5).map((aDate, key) => (

{aDate}

))}> -

+

{t("plus_more", { count: recurringStrings.length - 5 })}

@@ -586,7 +586,7 @@ const BookingPage = ({ )} {booking?.startTime && rescheduleUid && (
-

+

{t("former_time")}

@@ -596,7 +596,7 @@ const BookingPage = ({

)}
-
+