From e83980a999ea6976e9b31af39042e63c6ce400eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20Hanrahan?= Date: Sun, 10 Oct 2021 10:46:20 +0100 Subject: [PATCH] UI updates to event types (#894) --- components/Shell.tsx | 6 +- components/ui/Switch.tsx | 2 +- components/ui/form/CheckboxField.tsx | 2 +- components/ui/form/MinutesField.tsx | 6 +- pages/event-types/[type].tsx | 88 ++++++++++++++-------------- pages/event-types/index.tsx | 6 +- styles/globals.css | 2 +- tailwind.config.js | 20 +++---- 8 files changed, 67 insertions(+), 65 deletions(-) diff --git a/components/Shell.tsx b/components/Shell.tsx index 4438688a42..34c49c69de 100644 --- a/components/Shell.tsx +++ b/components/Shell.tsx @@ -201,8 +201,10 @@ export default function Shell(props: {
-
-

{props.heading}

+
+

+ {props.heading} +

{props.subtitle}

{props.CTA}
diff --git a/components/ui/Switch.tsx b/components/ui/Switch.tsx index 4b7bc97d16..360f5d93f7 100644 --- a/components/ui/Switch.tsx +++ b/components/ui/Switch.tsx @@ -32,7 +32,7 @@ export default function Switch(props) { /> {label && ( - + {label} )} diff --git a/components/ui/form/CheckboxField.tsx b/components/ui/form/CheckboxField.tsx index f3bc4ac363..1e687c68f0 100644 --- a/components/ui/form/CheckboxField.tsx +++ b/components/ui/form/CheckboxField.tsx @@ -8,7 +8,7 @@ type Props = InputHTMLAttributes & { const CheckboxField = forwardRef(({ label, description, ...rest }, ref) => { return (
-
+
diff --git a/components/ui/form/MinutesField.tsx b/components/ui/form/MinutesField.tsx index 146d7df481..50cd3caf91 100644 --- a/components/ui/form/MinutesField.tsx +++ b/components/ui/form/MinutesField.tsx @@ -7,13 +7,13 @@ type Props = InputHTMLAttributes & { const MinutesField = forwardRef(({ label, ...rest }, ref) => { return (
-
-