diff --git a/components/Modal.tsx b/components/Modal.tsx index 12232876..ed4fbbe5 100644 --- a/components/Modal.tsx +++ b/components/Modal.tsx @@ -5,7 +5,7 @@ import { CheckIcon } from '@heroicons/react/outline' export default function Modal(props) { return ( - +
- + {/* This element is to trick the browser into centering the modal contents. */} diff --git a/components/Shell.tsx b/components/Shell.tsx index 063feaa8..1fe932e4 100644 --- a/components/Shell.tsx +++ b/components/Shell.tsx @@ -67,117 +67,121 @@ export default function Shell(props) { } return session ? ( -
- {/* Static sidebar for desktop */} -
-
- {/* Sidebar component, swap this element with another sidebar if you like */} -
-
- - - - - - +
+
+ +
-
-
- {/* show top navigation for md and smaller (tablet and phones) */} - - -
-
-
-
-

{props.heading}

-

{props.subtitle}

-
-
{props.CTA}
-
-
{props.children}
- - {/* show bottom navigation for md and smaller (tablet and phones) */} - +
+
+
+

{props.heading}

+

{props.subtitle}

+
+
{props.CTA}
+
+
{props.children}
- {/* add padding to content for mobile navigation*/} -
-
-
+ {/* show bottom navigation for md and smaller (tablet and phones) */} + + + {/* add padding to content for mobile navigation*/} +
+
+ +
- + ) : null; } diff --git a/components/team/EditTeamModal.tsx b/components/team/EditTeamModal.tsx index d6991a1e..c5e15c6f 100644 --- a/components/team/EditTeamModal.tsx +++ b/components/team/EditTeamModal.tsx @@ -32,9 +32,9 @@ export default function EditTeamModal(props) { }).then(loadMembers); } - return (
+ return (
- + diff --git a/components/team/MemberInvitationModal.tsx b/components/team/MemberInvitationModal.tsx index f355abe1..6c916baa 100644 --- a/components/team/MemberInvitationModal.tsx +++ b/components/team/MemberInvitationModal.tsx @@ -40,12 +40,12 @@ export default function MemberInvitationModal(props) { return (
- +