Scheduling infrastructure for absolutely everyone.
1172 booking uid design update (#7537)
Benjamin Babic69808bb9a4f2
diff --git a/apps/web/pages/booking/[uid].tsx b/apps/web/pages/booking/[uid].tsxindex fa337a6114c..a002ce410d3 100644--- a/apps/web/pages/booking/[uid].tsx+++ b/apps/web/pages/booking/[uid].tsx@@ -46,7 +46,7 @@ import prisma from "@calcom/prisma";import type { Prisma } from "@calcom/prisma/client";import { bookingMetadataSchema } from "@calcom/prisma/zod-utils";import { customInputSchema, EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";-import { Button, EmailInput, HeadSeo, Label } from "@calcom/ui";+import { Badge, Button, EmailInput, HeadSeo } from "@calcom/ui";import { FiX, FiExternalLink, FiChevronLeft, FiCheck, FiCalendar } from "@calcom/ui/components/icon";import { timeZone } from "@lib/clock";@@ -497,7 +497,12 @@ export default function Success(props: SuccessProps) {<>{bookingInfo?.user && (<div className="mb-3">- <p>{bookingInfo.user.name}</p>+ <p>+ <span className="mr-2">{bookingInfo.user.name}</span>+ <Badge variant="blue" bold>+ {t("Host")}+ </Badge>+ </p><p className="text-bookinglight">{bookingInfo.user.email}</p></div>)}@@ -554,9 +559,10 @@ export default function Success(props: SuccessProps) {return (<>- <Label className="col-span-3 mt-8 border-t pt-8 pr-3 font-medium">{label}</Label>- {/* Might be a good idea to use the readonly variant of respective components here */}- <div className="col-span-3 mt-1 mb-2">{response.toString()}</div>+ <div className="mt-9 font-medium">{label}</div>+ <div className="col-span-2 mb-2 mt-9">+ <p className="break-words">{response.toString()}</p>+ </div></>);})}