Scheduling infrastructure for absolutely everyone.
Merge branch 'main' into main
Bailey Pumfleet59a13463257a
diff --cc pages/bookings/index.tsxindex 23b10824206,5ad51831304..58fbe412b89--- a/pages/bookings/index.tsx+++ b/pages/bookings/index.tsx@@@ -33,34 -31,12 +33,34 @@@ export default function Bookings({ book<title>Bookings | Calendso</title><link rel="icon" href="/favicon.ico" /></Head>- <Shell heading="Bookings">- <div className="flex flex-col">+ <Shell heading="Bookings" subtitle="See upcoming and past events booked through your event type links.">+ <div className="-mx-4 sm:mx-auto flex flex-col"><div className="-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"><div className="py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8">- <div className="shadow overflow-hidden border-b border-gray-200 sm:rounded-lg">+ <div className="shadow overflow-hidden border-b border-gray-200 sm:rounded-sm"><table className="min-w-full divide-y divide-gray-200">+ <thead className="bg-gray-50">+ <tr>+ <th+ scope="col"+ className="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">+ Person+ </th>+ <th+ scope="col"+ className="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">+ Event+ </th>+ <th+ scope="col"+ className="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">+ Date+ </th>+ <th scope="col" className="relative px-6 py-3">+ <span className="sr-only">Actions</span>+ </th>+ </tr>+ </thead><tbody className="bg-white divide-y divide-gray-200">{bookings.filter((booking) => !booking.confirmed && !booking.rejected)@@@ -85,17 -63,18 +87,21 @@@className={"px-6 py-4 max-w-20 w-full" + (booking.rejected ? " line-through" : "")}>- <div className="text-sm text-gray-900">{booking.title}</div>- <div className="text-sm text-gray-500">{booking.description}</div>+ <div className="hidden lg:block text-sm text-neutral-900 font-medium">+ {booking.title}+ </div>+ <div className="hidden lg:block text-sm text-neutral-500">+ You and {booking.attendees[0].name}+ </div></td>- {/* <td className="px-6 py-4 whitespace-nowrap">- <div className="text-sm text-gray-500">- {dayjs(booking.startTime).format("D MMMM YYYY HH:mm")}- </div>- </td> */}+ <td className="px-6 py-4 whitespace-nowrap">+ <div className="text-sm text-gray-900">+ {dayjs(booking.startTime).format("D MMMM YYYY")}+ </div>+ <div className="text-sm text-gray-500">+ {dayjs(booking.startTime).format("HH:mm")} - {dayjs(booking.endTime).format("HH:mm")}+ </div>+ </td><td className="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">{!booking.confirmed && !booking.rejected && (<>