+
Uh oh!
This user hasn't set up any event types yet.
diff --git a/pages/[user]/book.tsx b/pages/[user]/book.tsx
index 431bef4a..ec348b69 100644
--- a/pages/[user]/book.tsx
+++ b/pages/[user]/book.tsx
@@ -187,7 +187,7 @@ export default function Book(props: any): JSX.Element {
name="name"
id="name"
required
- className="shadow-sm dark:bg-gray-700 dark:border-gray-900 focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border-gray-300 rounded-md"
+ className="shadow-sm dark:bg-gray-700 dark:text-white dark:border-gray-900 focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border-gray-300 rounded-md"
placeholder="John Doe"
defaultValue={props.booking ? props.booking.attendees[0].name : ""}
/>
@@ -203,7 +203,7 @@ export default function Book(props: any): JSX.Element {
name="email"
id="email"
required
- className="shadow-sm dark:bg-gray-700 dark:border-gray-900 focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border-gray-300 rounded-md"
+ className="shadow-sm dark:bg-gray-700 dark:text-white dark:border-gray-900 focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border-gray-300 rounded-md"
placeholder="you@example.com"
defaultValue={props.booking ? props.booking.attendees[0].email : ""}
/>
@@ -241,7 +241,7 @@ export default function Book(props: any): JSX.Element {
placeholder="Enter phone number"
id="phone"
required
- className="shadow-sm dark:bg-gray-700 dark:border-gray-900 focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border-gray-300 rounded-md"
+ className="shadow-sm dark:bg-gray-700 dark:text-white dark:border-gray-900 focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border-gray-300 rounded-md"
onChange={() => {
/* DO NOT REMOVE: Callback required by PhoneInput, comment added to satisfy eslint:no-empty-function */
}}
@@ -267,7 +267,7 @@ export default function Book(props: any): JSX.Element {
id={"custom_" + input.id}
required={input.required}
rows={3}
- className="shadow-sm dark:bg-gray-700 dark:border-gray-900 focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border-gray-300 rounded-md"
+ className="shadow-sm dark:bg-gray-700 dark:text-white dark:border-gray-900 focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border-gray-300 rounded-md"
placeholder=""
/>
)}
@@ -317,7 +317,7 @@ export default function Book(props: any): JSX.Element {
name="notes"
id="notes"
rows={3}
- className="shadow-sm dark:bg-gray-700 dark:border-gray-900 focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border-gray-300 rounded-md"
+ className="shadow-sm dark:bg-gray-700 dark:text-white dark:border-gray-900 focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border-gray-300 rounded-md"
placeholder="Please share anything that will help prepare for our meeting."
defaultValue={props.booking ? props.booking.description : ""}
/>
diff --git a/pages/index.tsx b/pages/index.tsx
index c538dc21..4cf03b68 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -64,215 +64,252 @@ export default function Home(props) {
}
return (
-
-
-
Calendso
-
-
+
+
+
Calendso
+
+
-
-
-
-
-
-
- Your stats
-
-
-
- {stats.map((item) => (
-
-
- {item.name}
-
-
-
- {item.stat}
-
-
-
- ))}
-
-
-
-
-
- Your event types
-
-
-
-
-
-
-
-
Getting started
-
Steps you should take to get started with Calendso.
-
-
-
-
- {timeline.map((event, eventIdx) => (
- -
-
- {eventIdx !== timeline.length - 1 ? (
-
- ) : null}
-
-
-
- ))}
-
-
-
-
-
-
-
-
-
-
-
Offering time slots between {convertMinsToHrsMins(props.user.startTime)} and {convertMinsToHrsMins(props.user.endTime)}
-
-
-
-
-
- Your integrations
-
-
-
-
-
-
-
-
- Your event types
-
-
-
-
-
-
+
+
+
+
+
+
Your stats
+
+ {stats.map((item) => (
+
+
- {item.name}
+
-
+
+ {item.stat}
+
+
+
+ ))}
+
+
+
+
+
+ Your event types
+
+
+
+
+
+
+
+
Getting started
+
+ Steps you should take to get started with Calendso.
+
+
+
+
+
+ {timeline.map((event, eventIdx) => (
+ -
+
+ {eventIdx !== timeline.length - 1 ? (
+
+ ) : null}
+
+
+
+ ))}
+
+
+
+
+
+
+
+
+
+
+
+ Offering time slots between{" "}
+ {convertMinsToHrsMins(props.user.startTime)} and{" "}
+ {convertMinsToHrsMins(props.user.endTime)}
+
+
+
+
+
+
+ Your integrations
+
+
+
+
+
+
+
+
+ Your event types
+
+
+
+
+
+
+
-
-
-
-
+
+
+
);
}
diff --git a/pages/success.tsx b/pages/success.tsx
index 52c1f22b..286897b9 100644
--- a/pages/success.tsx
+++ b/pages/success.tsx
@@ -70,7 +70,7 @@ export default function Success(props) {
@@ -79,17 +79,21 @@ export default function Success(props) {
-
+
Booking confirmed
-
+
You are scheduled in with {props.user.name || props.user.username}.
-
-
{eventName}
-
+
+
+ {eventName}
+
+
{props.eventType.length} minutes
@@ -99,7 +103,7 @@ export default function Success(props) {
{location}
)}
-
+
{date.format((is24h ? "H:mm" : "h:mma") + ", dddd DD MMMM YYYY")}
@@ -107,7 +111,7 @@ export default function Success(props) {
-
Add to your calendar
+
Add to your calendar
{!props.user.hideBranding && (
-