diff --git a/components/booking/BookingListItem.tsx b/components/booking/BookingListItem.tsx
index 3c7e507951..45efad8432 100644
--- a/components/booking/BookingListItem.tsx
+++ b/components/booking/BookingListItem.tsx
@@ -74,13 +74,13 @@ function BookingListItem(booking: BookingItem) {
return (
-
+ |
{startTime}
{dayjs(booking.startTime).format("HH:mm")} - {dayjs(booking.endTime).format("HH:mm")}
|
-
+ |
{!booking.confirmed && !booking.rejected && (
{t("unconfirmed")}
@@ -97,7 +97,7 @@ function BookingListItem(booking: BookingItem) {
+ className="max-w-56 truncate text-sm font-medium leading-6 text-neutral-900 md:max-w-max">
{booking.eventType?.team && {booking.eventType.team.name}: }
{booking.title}
{!!booking?.eventType?.price && !booking.paid && (
@@ -108,7 +108,7 @@ function BookingListItem(booking: BookingItem) {
)}
{booking.description && (
-
+
"{booking.description}"
)}
@@ -119,7 +119,7 @@ function BookingListItem(booking: BookingItem) {
)}
|
-
+ |
{isUpcoming && !isCancelled ? (
<>
{!booking.confirmed && !booking.rejected && }
@@ -137,7 +137,7 @@ function BookingListItem(booking: BookingItem) {
const Tag = ({ children, className = "" }: React.PropsWithChildren<{ className?: string }>) => {
return (
+ className={`inline-flex items-center rounded-sm bg-yellow-100 px-1.5 py-0.5 text-xs font-medium text-yellow-800 ${className}`}>
{children}
);
diff --git a/components/booking/DatePicker.tsx b/components/booking/DatePicker.tsx
index f51b8670c5..884892678d 100644
--- a/components/booking/DatePicker.tsx
+++ b/components/booking/DatePicker.tsx
@@ -163,10 +163,10 @@ function DatePicker({
className={
"mt-8 sm:mt-0 sm:min-w-[455px] " +
(date
- ? "w-full sm:w-1/2 md:w-1/3 sm:border-r sm:dark:border-gray-800 sm:pl-4 sm:pr-6 "
+ ? "w-full sm:w-1/2 sm:border-r sm:pl-4 sm:pr-6 sm:dark:border-gray-800 md:w-1/3 "
: "w-full sm:pl-4")
}>
-
+
{month}{" "}
{year}
@@ -175,21 +175,21 @@ function DatePicker({
-
-
+
{weekdayNames(i18n.language, weekStart === "Sunday" ? 0 : 1, "short").map((weekDay) => (
-
+
{weekDay}
))}
@@ -209,9 +209,9 @@ function DatePicker({
onClick={() => onDatePicked(browsingDate.date(day.date))}
disabled={day.disabled}
className={classNames(
- "absolute w-full top-0 left-0 right-0 bottom-0 rounded-sm text-center mx-auto",
+ "absolute top-0 left-0 right-0 bottom-0 mx-auto w-full rounded-sm text-center",
"hover:border hover:border-brand dark:hover:border-white",
- day.disabled ? "text-gray-400 font-light hover:border-0 cursor-default" : "font-medium",
+ day.disabled ? "cursor-default font-light text-gray-400 hover:border-0" : "font-medium",
date && date.isSame(browsingDate.date(day.date), "day")
? "bg-brand text-brandcontrast"
: !day.disabled
diff --git a/components/booking/TimeOptions.tsx b/components/booking/TimeOptions.tsx
index bb77b020ca..72d7be60b1 100644
--- a/components/booking/TimeOptions.tsx
+++ b/components/booking/TimeOptions.tsx
@@ -35,8 +35,8 @@ const TimeOptions: FC = (props) => {
};
return selectedTimeZone !== "" ? (
-
-
+
+
{t("time_options")}
@@ -47,15 +47,15 @@ const TimeOptions: FC = (props) => {
checked={is24hClock}
onChange={handle24hClockToggle}
className={classNames(
- is24hClock ? "bg-brand text-brandcontrast" : "dark:bg-gray-600 bg-gray-200",
- "relative inline-flex flex-shrink-0 h-5 w-8 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-black"
+ is24hClock ? "bg-brand text-brandcontrast" : "bg-gray-200 dark:bg-gray-600",
+ "relative inline-flex h-5 w-8 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-black focus:ring-offset-2"
)}>
{t("use_setting")}
@@ -69,7 +69,7 @@ const TimeOptions: FC = (props) => {
id="timeZone"
value={selectedTimeZone}
onChange={(tz: ITimezoneOption) => setSelectedTimeZone(tz.value)}
- className="block w-full mt-1 mb-2 border-gray-300 rounded-md shadow-sm focus:ring-black focus:border-brand sm:text-sm"
+ className="mt-1 mb-2 block w-full rounded-md border-gray-300 shadow-sm focus:border-brand focus:ring-black sm:text-sm"
/>
) : null;
diff --git a/components/booking/pages/AvailabilityPage.tsx b/components/booking/pages/AvailabilityPage.tsx
index f985611dbe..82f00a13a4 100644
--- a/components/booking/pages/AvailabilityPage.tsx
+++ b/components/booking/pages/AvailabilityPage.tsx
@@ -110,11 +110,11 @@ const AvailabilityPage = ({ profile, eventType, workingHours }: Props) => {
{isReady && (
-
+
{/* mobile: details */}
@@ -139,12 +139,12 @@ const AvailabilityPage = ({ profile, eventType, workingHours }: Props) => {
{eventType.title}
-
+
{eventType.length} {t("minutes")}
{eventType.price > 0 && (
-
+
{
{eventType.description}
-
+
{
truncateAfter={3}
/>
{profile.name}
-
+
{eventType.title}
-
-
+
+
{eventType.length} {t("minutes")}
{eventType.price > 0 && (
-
-
+
+
{
minimumBookingNotice={eventType.minimumBookingNotice}
/>
-
+
@@ -249,13 +249,13 @@ const AvailabilityPage = ({ profile, eventType, workingHours }: Props) => {
function TimezoneDropdown() {
return (
-
-
+
+
{timeZone()}
{isTimeOptionsOpen ? (
-
+
) : (
-
+
)}
diff --git a/components/booking/pages/BookingPage.tsx b/components/booking/pages/BookingPage.tsx
index 4ffda4bd92..a890387d53 100644
--- a/components/booking/pages/BookingPage.tsx
+++ b/components/booking/pages/BookingPage.tsx
@@ -291,9 +291,9 @@ const BookingPage = (props: BookingPageProps) => {
-
+
{isReady && (
-
+
{
}))
)}
/>
-
+
{props.profile.name}
{props.eventType.title}
-
+
{props.eventType.length} {t("minutes")}
{props.eventType.price > 0 && (
-
-
+
+
{
)}
{selectedLocation === LocationType.InPerson && (
-
+
{getLocationValue({ locationType: selectedLocation })}
)}
{selectedLocation === LocationType.Jitsi && (
-
+
Jitsi Meet
)}
-
+
{parseDate(date)}
{eventTypeDetail.isWeb3Active && eventType.metadata.smartContractAddress && (
-
+
Requires ownership of a token belonging to the following address:{" "}
{eventType.metadata.smartContractAddress}
@@ -366,7 +366,7 @@ const BookingPage = (props: BookingPageProps) => {
name="name"
id="name"
required
- className="block w-full border-gray-300 rounded-sm shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"
+ className="block w-full rounded-sm border-gray-300 shadow-sm focus:border-brand focus:ring-black dark:border-gray-900 dark:bg-black dark:text-white sm:text-sm"
placeholder="John Doe"
/>
@@ -381,7 +381,7 @@ const BookingPage = (props: BookingPageProps) => {
@@ -395,12 +395,12 @@ const BookingPage = (props: BookingPageProps) => {
@@ -428,7 +428,7 @@ const BookingPage = (props: BookingPageProps) => {
{input.type !== EventTypeCustomInputType.BOOL && (
)}
@@ -439,7 +439,7 @@ const BookingPage = (props: BookingPageProps) => {
})}
id={"custom_" + input.id}
rows={3}
- className="block w-full border-gray-300 rounded-sm shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"
+ className="block w-full rounded-sm border-gray-300 shadow-sm focus:border-brand focus:ring-black dark:border-gray-900 dark:bg-black dark:text-white sm:text-sm"
placeholder={input.placeholder}
/>
)}
@@ -450,7 +450,7 @@ const BookingPage = (props: BookingPageProps) => {
required: input.required,
})}
id={"custom_" + input.id}
- className="block w-full border-gray-300 rounded-sm shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"
+ className="block w-full rounded-sm border-gray-300 shadow-sm focus:border-brand focus:ring-black dark:border-gray-900 dark:bg-black dark:text-white sm:text-sm"
placeholder={input.placeholder}
/>
)}
@@ -461,24 +461,24 @@ const BookingPage = (props: BookingPageProps) => {
required: input.required,
})}
id={"custom_" + input.id}
- className="block w-full border-gray-300 rounded-sm shadow-sm dark:bg-black dark:text-white dark:border-gray-900 focus:ring-black focus:border-brand sm:text-sm"
+ className="block w-full rounded-sm border-gray-300 shadow-sm focus:border-brand focus:ring-black dark:border-gray-900 dark:bg-black dark:text-white sm:text-sm"
placeholder=""
/>
)}
{input.type === EventTypeCustomInputType.BOOL && (
-
+
@@ -491,7 +491,7 @@ const BookingPage = (props: BookingPageProps) => {
@@ -500,7 +500,7 @@ const BookingPage = (props: BookingPageProps) => {
{
@@ -557,10 +557,10 @@ const BookingPage = (props: BookingPageProps) => {
{mutation.isError && (
-
+
-
+
diff --git a/components/dialog/ConfirmationDialogContent.tsx b/components/dialog/ConfirmationDialogContent.tsx
index cf2de3cbec..e97331ec5e 100644
--- a/components/dialog/ConfirmationDialogContent.tsx
+++ b/components/dialog/ConfirmationDialogContent.tsx
@@ -33,26 +33,26 @@ export default function ConfirmationDialogContent(props: PropsWithChildren
{variety && (
-
+
{variety === "danger" && (
-
-
+
+
)}
{variety === "warning" && (
-
-
+
+
)}
{variety === "success" && (
-
)}
-
+
{title}
@@ -60,7 +60,7 @@ export default function ConfirmationDialogContent(props: PropsWithChildren
-
+
{confirmBtn || {confirmBtnText}}
diff --git a/components/error/error-page.tsx b/components/error/error-page.tsx
index 21404af50f..7d5f25fb37 100644
--- a/components/error/error-page.tsx
+++ b/components/error/error-page.tsx
@@ -29,15 +29,15 @@ const ErrorDebugPanel: React.FC<{ error: Props["error"]; children?: never }> = (
];
return (
-
+
{debugMap.map(([key, value]) => {
if (value !== undefined) {
return (
-
+
- {key}
- - {value}
+ - {value}
);
}
@@ -53,11 +53,11 @@ export const ErrorPage: React.FC = (props) => {
return (
<>
-
-
+
+
- {statusCode}
-
+ {statusCode}
+
{message}
diff --git a/components/eventtype/CreateEventType.tsx b/components/eventtype/CreateEventType.tsx
index 260476399d..e6a53c39e5 100644
--- a/components/eventtype/CreateEventType.tsx
+++ b/components/eventtype/CreateEventType.tsx
@@ -139,7 +139,7 @@ export default function CreateEventTypeButton(props: Props) {
{props.options.map((option) => (
openModal(option)}>
-
@@ -227,20 +227,20 @@ export default function CreateEventTypeButton(props: Props) {
form.setValue("schedulingType", val as SchedulingType)}
- className="relative flex mt-1 rtl:space-x-reverse space-x-6 rounded-sm shadow-sm">
+ className="relative mt-1 flex space-x-6 rounded-sm shadow-sm rtl:space-x-reverse">
- {t("collective")}
+ {t("collective")}
{t("collective_description")}
- {t("round_robin")}
+ {t("round_robin")}
{t("round_robin_description")}
)}
-
+
{t("continue")}
diff --git a/components/eventtype/EventTypeDescription.tsx b/components/eventtype/EventTypeDescription.tsx
index 16f2a37435..a9a6d8392b 100644
--- a/components/eventtype/EventTypeDescription.tsx
+++ b/components/eventtype/EventTypeDescription.tsx
@@ -32,31 +32,31 @@ export const EventTypeDescription = ({ eventType, className }: EventTypeDescript
<>
{eventType.description && (
-
+
{eventType.description.substring(0, 100)}
{eventType.description.length > 100 && "..."}
)}
-
+
-
-
+
{eventType.length}m
{eventType.schedulingType ? (
-
-
+
{eventType.schedulingType === SchedulingType.ROUND_ROBIN && t("round_robin")}
{eventType.schedulingType === SchedulingType.COLLECTIVE && t("collective")}
) : (
-
-
+
{t("1_on_1")}
)}
{eventType.price > 0 && (
-
-
+
(function Input(pro
{...props}
ref={ref}
className={classNames(
- "mt-1 block w-full border border-gray-300 rounded-sm shadow-sm py-2 px-3 focus:outline-none focus:ring-1 focus:ring-neutral-800 focus:border-neutral-800 sm:text-sm",
+ "mt-1 block w-full rounded-sm border border-gray-300 py-2 px-3 shadow-sm focus:border-neutral-800 focus:outline-none focus:ring-1 focus:ring-neutral-800 sm:text-sm",
props.className
)}
/>
@@ -34,7 +34,7 @@ export function Label(props: JSX.IntrinsicElements["label"]) {
export function InputLeading(props: JSX.IntrinsicElements["div"]) {
return (
-
+
{props.children}
);
@@ -69,7 +69,7 @@ const InputField = forwardRef(function InputF
)}
{addOnLeading ? (
-
+
{addOnLeading}
(function
ref={ref}
{...props}
className={classNames(
- "block w-full font-mono border-gray-300 rounded-sm shadow-sm focus:ring-neutral-900 focus:border-neutral-900 sm:text-sm",
+ "font-mono block w-full rounded-sm border-gray-300 shadow-sm focus:border-neutral-900 focus:ring-neutral-900 sm:text-sm",
props.className
)}
/>
@@ -221,7 +221,7 @@ export function InputGroupBox(props: JSX.IntrinsicElements["div"]) {
return (
+ className={classNames("space-y-2 rounded-sm border border-gray-300 bg-white p-2", props.className)}>
{props.children}
);
diff --git a/components/integrations/CalendarListContainer.tsx b/components/integrations/CalendarListContainer.tsx
index 65dad1b859..12f45a3610 100644
--- a/components/integrations/CalendarListContainer.tsx
+++ b/components/integrations/CalendarListContainer.tsx
@@ -122,7 +122,7 @@ function ConnectedCalendarsList(props: Props) {
onOpenChange={props.onChanged}
/>
}>
- |