From 0bd8c23be74fa19e55b5b98b4cfdc4e08a300a3c Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Tue, 30 Aug 2022 12:50:34 +0100 Subject: [PATCH 1/2] Proposal to turn off eslint during 'yarn / next build' (#4027) --- apps/web/next.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/web/next.config.js b/apps/web/next.config.js index f829e319ba..65c077d531 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -78,6 +78,9 @@ plugins.push(withAxiom); /** @type {import("next").NextConfig} */ const nextConfig = { i18n, + eslint: { + ignoreDuringBuilds: true, + }, experimental: { images: { unoptimized: true, From 7d611c5527f831d029ef4c6b9470c13cfbf16079 Mon Sep 17 00:00:00 2001 From: sean-brydon <55134778+sean-brydon@users.noreply.github.com> Date: Tue, 30 Aug 2022 12:51:08 +0100 Subject: [PATCH 2/2] Border color - brand color - mobile 1 colum times (#4025) --- apps/web/components/booking/AvailableTimes.tsx | 10 +++++----- apps/web/components/booking/pages/AvailabilityPage.tsx | 10 +++++----- packages/ui/v2/modules/booker/DatePicker.tsx | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/apps/web/components/booking/AvailableTimes.tsx b/apps/web/components/booking/AvailableTimes.tsx index 00c6b1a43c..600ed4f9e8 100644 --- a/apps/web/components/booking/AvailableTimes.tsx +++ b/apps/web/components/booking/AvailableTimes.tsx @@ -53,7 +53,7 @@ const AvailableTimes: FC = ({ {date.toDate().toLocaleString(i18n.language, { month: "long" })} -
+
{slots.length > 0 && slots.map((slot) => { type BookingURL = { @@ -87,8 +87,8 @@ const AvailableTimes: FC = ({ {seatsPerTimeSlot && slot.attendees && slot.attendees >= seatsPerTimeSlot ? (
{dayjs(slot.time).tz(timeZone()).format(timeFormat)} {!!seatsPerTimeSlot &&

{t("booking_full")}

} @@ -98,8 +98,8 @@ const AvailableTimes: FC = ({ {dayjs(slot.time).tz(timeZone()).format(timeFormat)} diff --git a/apps/web/components/booking/pages/AvailabilityPage.tsx b/apps/web/components/booking/pages/AvailabilityPage.tsx index 9235726218..5a4843423b 100644 --- a/apps/web/components/booking/pages/AvailabilityPage.tsx +++ b/apps/web/components/booking/pages/AvailabilityPage.tsx @@ -175,7 +175,7 @@ const SlotPicker = ({ { {/* mobile: details */}
-
+
{ size={9} truncateAfter={5} /> -

+

{profile.name}

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

{eventType.title}

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

{eventType.title}

-
+
{eventType?.description && (
diff --git a/packages/ui/v2/modules/booker/DatePicker.tsx b/packages/ui/v2/modules/booker/DatePicker.tsx index 05cfffefac..9d59f2642b 100644 --- a/packages/ui/v2/modules/booker/DatePicker.tsx +++ b/packages/ui/v2/modules/booker/DatePicker.tsx @@ -41,7 +41,7 @@ export const Day = ({ className={classNames( "disabled:text-bookinglighter absolute top-0 left-0 right-0 bottom-0 mx-auto w-full rounded-md border-2 border-transparent text-center font-medium hover:bg-gray-300 disabled:cursor-default disabled:border-transparent disabled:font-light dark:hover:border-white disabled:dark:border-transparent", active - ? "dark:bg-darkmodebrand dark:text-darkmodebrandcontrast border-2 bg-gray-300" + ? "dark:bg-darkmodebrand dark:text-darkmodebrandcontrast bg-brand text-brandcontrast border-2" : !props.disabled ? "dark:bg-darkgray-200 bg-gray-100 dark:text-white" : "hover:bg-transparent"