From 16b090efd4d5b6a4889cb0587496131efb8c46ce Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Thu, 10 Jun 2021 18:49:11 +0000 Subject: [PATCH] Codestyle adjusted & fixed the column behaviour on mobile --- pages/availability/event/[type].tsx | 357 ++++++++++++++-------------- 1 file changed, 181 insertions(+), 176 deletions(-) diff --git a/pages/availability/event/[type].tsx b/pages/availability/event/[type].tsx index bb08132846..ed575f25f1 100644 --- a/pages/availability/event/[type].tsx +++ b/pages/availability/event/[type].tsx @@ -7,7 +7,12 @@ import prisma from '../../../lib/prisma'; import { LocationType } from '../../../lib/location'; import Shell from '../../../components/Shell'; import { useSession, getSession } from 'next-auth/client'; -import { LocationMarkerIcon, PlusCircleIcon, XIcon, PhoneIcon } from '@heroicons/react/outline'; +import { + LocationMarkerIcon, + PlusCircleIcon, + XIcon, + PhoneIcon, +} from '@heroicons/react/outline'; export default function EventType(props) { const router = useRouter(); @@ -129,191 +134,191 @@ export default function EventType(props) { }; return ( -
- - {props.eventType.title} | Event Type | Calendso - - - -
-
-
-
-
-
- -
- -
-
-
- -
-
+
+ + {props.eventType.title} | Event Type | Calendso + + + +
+
+
+
+ +
+ +
+ +
+
+
+ +
+
{location.hostname}/{props.user.username}/ - -
-
-
-
- - {locations.length === 0 &&
-
- -
-
-
- -
- -
- minutes -
-
-
-
-
-
- -
-
- -

Hide the event type from your page, so it can only be booked through it's URL.

-
-
-
- - Cancel - -
+
+
-
-
-
-

- Delete this event type -

-
-

- Once you delete this event type, it will be permanently removed. -

-
-
- -
-
+
+ + {locations.length === 0 &&
+
+ +
+
+
+ +
+ +
+ minutes +
+
+
+
+
+
+ +
+
+ +

Hide the event type from your page, so it can only be booked through it's URL.

+
+
+
+ + Cancel +
- {showLocationModal && -
-
- +
+
+
+
+
+

+ Delete this event type +

+
+

+ Once you delete this event type, it will be permanently removed. +

+
+
+ +
+
+
+
+
+ {showLocationModal && +
+
+ - + -
-
-
- -
-
- -
-
-
- + +
+ + +
+ +
+
+
+ } + +
); }