diff --git a/pages/bookings/index.tsx b/pages/bookings/index.tsx index 3ed8272c..5ad51831 100644 --- a/pages/bookings/index.tsx +++ b/pages/bookings/index.tsx @@ -32,7 +32,7 @@ export default function Bookings({ bookings }) { -
+
@@ -43,10 +43,7 @@ export default function Bookings({ bookings }) { .concat(bookings.filter((booking) => booking.confirmed || booking.rejected)) .map((booking) => ( - + {!booking.confirmed && !booking.rejected && ( Unconfirmed @@ -56,13 +53,20 @@ export default function Bookings({ bookings }) { {booking.attendees[0].name}
{booking.attendees[0].email}
+
+ {booking.title} +
-
{booking.title}
-
+
+ {booking.title} +
+
You and {booking.attendees[0].name}
@@ -74,28 +78,28 @@ export default function Bookings({ bookings }) { {!booking.confirmed && !booking.rejected && ( <> - confirmBookingHandler(booking, true)} - className="cursor-pointer text-blue-600 hover:text-blue-900"> + className="text-xs sm:text-sm inline-flex items-center px-4 py-2 border-transparent font-medium rounded-sm shadow-sm text-neutral-700 bg-white hover:bg-neutral-100 border border-neutral-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-black ml-2"> Confirm - - + )} {booking.confirmed && !booking.rejected && ( <> + className="text-xs sm:text-sm inline-flex items-center px-4 py-2 border-transparent font-medium rounded-sm shadow-sm text-neutral-700 bg-white hover:bg-neutral-100 border border-neutral-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-black ml-2"> Cancel + className="text-xs sm:text-sm inline-flex items-center px-4 py-2 border-transparent font-medium rounded-sm shadow-sm text-neutral-700 bg-white hover:bg-neutral-100 border border-neutral-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-black ml-2"> Reschedule