CTA on success page (#818)

This commit is contained in:
Bailey Pumfleet authored and GitHub committed 2021-09-29 15:36:29 +00:00
1 parent a30381f229
commit 079a920c2c
3 files changed
+23 -2

No files matched your search

+1
View File
@@ -144,6 +144,7 @@ const BookingPage = (props: BookingPageProps) => {
user: props.profile.slug,
reschedule: !!rescheduleUid,
name: payload.name,
email: payload.email,
};
if (payload["location"]) {
+2 -2
View File
@@ -60,7 +60,7 @@ export const Button = forwardRef<HTMLAnchorElement | HTMLButtonElement, ButtonPr
color === "primary" &&
(disabled
? "border border-transparent bg-gray-400 text-white"
: "border border-transparent text-white bg-neutral-900 hover:bg-neutral-800 hover:shadow-md focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-neutral-900"),
: "border border-transparent dark:text-black text-white bg-neutral-900 dark:bg-white hover:bg-neutral-800 hover:shadow-md focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-neutral-900"),
color === "secondary" &&
(disabled
? "border border-gray-200 text-gray-400 bg-white"
@@ -92,7 +92,7 @@ export const Button = forwardRef<HTMLAnchorElement | HTMLButtonElement, ButtonPr
<svg
className={classNames(
"w-5 h-5 mx-4 animate-spin",
color === "primary" ? "text-white" : "text-black"
color === "primary" ? "dark:text-black text-white" : "text-black"
)}
xmlns="http://www.w3.org/2000/svg"
fill="none"