Scheduling infrastructure for absolutely everyone.
fixed darkmode for booking page (#1151)
Peer Richelsen4ce9f9110b6c
diff --git a/components/booking/pages/BookingPage.tsx b/components/booking/pages/BookingPage.tsxindex 07549717fa4..15aa3520220 100644--- a/components/booking/pages/BookingPage.tsx+++ b/components/booking/pages/BookingPage.tsx@@ -201,13 +201,13 @@ const BookingPage = (props: BookingPageProps) => {<link rel="icon" href="/favicon.ico" /></Head>- <main className="max-w-3xl mx-auto my-0 sm:my-24">+ <main className="max-w-3xl mx-auto my-0 sm:my-24 rounded-sm sm:border sm:dark:border-gray-600">{isReady && (<div className="overflow-hidden bg-white border border-gray-200 dark:bg-neutral-900 dark:border-0 sm:rounded-sm"><div className="px-4 py-5 sm:flex sm:p-4">- <div className="sm:w-1/2 sm:border-r sm:dark:border-brand">+ <div className="sm:w-1/2 sm:border-r sm:dark:border-gray-800"><AvatarGroup- size={16}+ size={14}items={[{ image: props.profile.image, alt: props.profile.name }].concat(props.eventType.users.filter((user) => user.name !== props.profile.name)@@ -217,7 +217,7 @@ const BookingPage = (props: BookingPageProps) => {})))}/>- <h2 className="font-medium text-gray-500 font-cal dark:text-gray-300">+ <h2 className="font-medium mt-2 text-gray-500 font-cal dark:text-gray-300">{props.profile.name}</h2><h1 className="mb-4 text-3xl font-semibold text-gray-800 dark:text-white">@@ -263,7 +263,7 @@ const BookingPage = (props: BookingPageProps) => {name="name"id="name"required- className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-brand dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"+ className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"placeholder="John Doe"defaultValue={props.booking ? props.booking.attendees[0].name : ""}/>@@ -282,7 +282,7 @@ const BookingPage = (props: BookingPageProps) => {id="email"inputMode="email"required- className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-brand dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"+ className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"placeholder="[email protected]"defaultValue={props.booking ? props.booking.attendees[0].email : ""}/>@@ -341,7 +341,7 @@ const BookingPage = (props: BookingPageProps) => {id={"custom_" + input.id}required={input.required}rows={3}- className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-brand dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"+ className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"placeholder={input.placeholder}/>)}@@ -351,7 +351,7 @@ const BookingPage = (props: BookingPageProps) => {name={"custom_" + input.id}id={"custom_" + input.id}required={input.required}- className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-brand dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"+ className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"placeholder={input.placeholder}/>)}@@ -361,7 +361,7 @@ const BookingPage = (props: BookingPageProps) => {name={"custom_" + input.id}id={"custom_" + input.id}required={input.required}- className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-brand dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"+ className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"placeholder=""/>)}@@ -437,7 +437,7 @@ const BookingPage = (props: BookingPageProps) => {name="notes"id="notes"rows={3}- className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-brand dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"+ className="block w-full border-gray-300 rounded-md shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"placeholder={t("share_additional_notes")}defaultValue={props.booking ? props.booking.description : ""}/>