updates to all public booking pages (#3648)

* updates to all public booking pages

* sidebar tweak

* resolving error

* Fix linting errors

Co-authored-by: CarinaWolli <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: sean-brydon <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2022-08-05 08:46:44 +00:00
1 parent 85764b6aa6
commit a53ca3389c
11 files changed
+87 -85

No files matched your search

+4 -4
View File
@@ -227,7 +227,7 @@ const Layout = ({
<Logo small icon />
</a>
</Link>
<nav className="mt-2 flex-1 space-y-1 bg-gray-50 px-2 lg:mt-5">
<nav className="mt-2 flex-1 space-y-0.5 bg-white px-2 lg:mt-5">
{navigation.map((item) =>
!item ? null : (
<Fragment key={item.name}>
@@ -238,7 +238,7 @@ const Layout = ({
item.current
? "bg-neutral-100 text-neutral-900"
: "text-neutral-500 hover:bg-gray-50 hover:text-neutral-900",
"group flex items-center justify-center rounded-sm py-2.5 px-2.5 text-sm font-medium sm:justify-start"
"group flex items-center justify-center rounded py-2.5 px-3 text-sm font-medium sm:justify-start"
)}>
<item.icon
className={classNames(
@@ -249,7 +249,7 @@ const Layout = ({
)}
aria-hidden="true"
/>
<span className="hidden lg:inline">{item.name}</span>
<span className="hidden leading-none lg:inline">{item.name}</span>
{item.pro && (
<span className="ml-1">
{plan === "FREE" && <Badge variant="default">PRO</Badge>}
@@ -269,7 +269,7 @@ const Layout = ({
: "text-neutral-500 hover:text-neutral-900",
"group hidden items-center rounded-sm px-2 py-2 pl-10 text-sm font-medium lg:flex"
)}>
<span className="hidden lg:inline">{item.name}</span>
<span className="hidden leading-none lg:inline">{item.name}</span>
</a>
</Link>
);
+7 -5
View File
@@ -39,7 +39,7 @@ export const Day = ({
return (
<button
className={classNames(
"hover:border-brand disabled:text-bookinglighter absolute top-0 left-0 right-0 bottom-0 mx-auto w-full rounded-sm border border-transparent text-center font-medium disabled:cursor-default disabled:border-transparent disabled:font-light dark:hover:border-white disabled:dark:border-transparent",
"hover:border-brand disabled:text-bookinglighter absolute top-0 left-0 right-0 bottom-0 mx-auto w-full rounded-sm border border-transparent text-center text-sm font-medium disabled:cursor-default disabled:border-transparent disabled:font-light dark:hover:border-white disabled:dark:border-transparent",
active
? "bg-brand text-brandcontrast dark:bg-darkmodebrand dark:text-darkmodebrandcontrast"
: !props.disabled
@@ -132,12 +132,14 @@ const DatePicker = ({
return (
<div className={className}>
<div className="mb-4 flex justify-between text-xl font-light">
<div className="mb-4 flex justify-between px-4 text-xl font-light sm:px-0">
<span className="w-1/2 dark:text-white">
{browsingDate ? (
<>
<strong className="text-bookingdarker dark:text-white">{browsingDate.format("MMMM")}</strong>{" "}
<span className="text-bookinglight">{browsingDate.format("YYYY")}</span>
<span className="text-bookingdarker text-base font-semibold dark:text-white">
{browsingDate.format("MMMM")},
</span>{" "}
<span className="text-bookinglight text-base font-medium">{browsingDate.format("YYYY")}</span>
</>
) : (
<SkeletonText width="24" height="8" />
@@ -169,7 +171,7 @@ const DatePicker = ({
</div>
))}
</div>
<div className="grid grid-cols-7 gap-2 text-center">
<div className="grid grid-cols-7 gap-1 text-center">
<Days weekStart={weekStart} selected={selected} {...passThroughProps} browsingDate={browsingDate} />
</div>
</div>