diff --git a/apps/api b/apps/api index 79d65a46fa..378cbf8f3a 160000 --- a/apps/api +++ b/apps/api @@ -1 +1 @@ -Subproject commit 79d65a46fab8a351b8e7f91dfd30e93aff155e7f +Subproject commit 378cbf8f3a67ea7877296f1da02edb2b6e3efbce diff --git a/apps/web/components/availability/NewScheduleButton.tsx b/apps/web/components/availability/NewScheduleButton.tsx index a9259f9c39..fceef26e4b 100644 --- a/apps/web/components/availability/NewScheduleButton.tsx +++ b/apps/web/components/availability/NewScheduleButton.tsx @@ -60,7 +60,7 @@ export function NewScheduleButton({ name = "new-schedule" }: { name?: string }) createMutation.mutate(values); }}>
- +
- - - -
- - ))} - - + <> + {schedules.length === 0 ? ( + + ) : ( +
+ +
+ )} + ); } diff --git a/apps/web/pages/event-types/index.tsx b/apps/web/pages/event-types/index.tsx index a44b1b6960..5787d50b14 100644 --- a/apps/web/pages/event-types/index.tsx +++ b/apps/web/pages/event-types/index.tsx @@ -1,3 +1,4 @@ +import { CalendarIcon } from "@heroicons/react/outline"; import { ArrowDownIcon, ArrowUpIcon, @@ -34,6 +35,7 @@ import classNames from "@lib/classNames"; import { HttpError } from "@lib/core/http/error"; import { inferQueryOutput, trpc } from "@lib/trpc"; +import EmptyScreen from "@components/EmptyScreen"; import Shell from "@components/Shell"; import { Tooltip } from "@components/Tooltip"; import ConfirmationDialogContent from "@components/dialog/ConfirmationDialogContent"; @@ -42,7 +44,6 @@ import EventTypeDescription from "@components/eventtype/EventTypeDescription"; import Avatar from "@components/ui/Avatar"; import AvatarGroup from "@components/ui/AvatarGroup"; import Badge from "@components/ui/Badge"; -import UserCalendarIllustration from "@components/ui/svg/UserCalendarIllustration"; type Profiles = inferQueryOutput<"viewer.eventTypes">["profiles"]; @@ -477,14 +478,11 @@ const CreateFirstEventTypeView = ({ canAddEvents, profiles }: CreateEventTypePro const { t } = useLocale(); return ( -
- -
-

{t("new_event_type_heading")}

-

{t("new_event_type_description")}

- -
-
+ ); }; diff --git a/apps/website b/apps/website index 4f26ead092..e54a7cc0ec 160000 --- a/apps/website +++ b/apps/website @@ -1 +1 @@ -Subproject commit 4f26ead0921916561724f58b93fbe1a3b8671da1 +Subproject commit e54a7cc0ecbb36a5a6838f77d8c19ec008c8849a