Skip to content

Scheduling infrastructure for absolutely everyone.

Merged with main

Alex van Andel972a8dcb769b
diff --cc pages/event-types/index.tsx
index 6ad1eb8bbd1,771e6850009..64eb7e55883
--- a/pages/event-types/index.tsx
+++ b/pages/event-types/index.tsx
@@@ -172,8 -75,17 +172,8 @@@ export default function Availability({
<Shell
heading="Event Types"
subtitle="Create events to share for people to book on your calendar."
- CTA={
- types.length !== 0 && (
- <button
- onClick={toggleAddModal}
- className="flex justify-center py-2 px-4 border border-transparent rounded-sm shadow-sm text-sm font-medium text-white bg-neutral-900 hover:bg-neutral-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-neutral-900">
- <PlusIcon className="w-5 h-5 mr-1" />
- New event type
- </button>
- )
- }>
+ CTA={types.length !== 0 && CreateNewEventDialog}>
- <div className="bg-white shadow overflow-hidden sm:rounded-sm">
+ <div className="bg-white shadow overflow-hidden sm:rounded-sm -mx-4 sm:mx-0">
<ul className="divide-y divide-neutral-200">
{types.map((type) => (
<li key={type.id}>