From 4c2b8f5b6fdc8c00a632c9303773ff284cb61536 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Mon, 2 Aug 2021 17:36:28 +0200 Subject: [PATCH] styled teams section --- components/Shell.tsx | 7 +- components/team/EditTeamModal.tsx | 4 +- components/team/MemberInvitationModal.tsx | 127 ++++++++++++++-------- components/team/TeamListItem.tsx | 4 +- components/ui/modal/SetTimesModal.tsx | 2 +- pages/availability/event/[type].tsx | 6 +- pages/settings/profile.tsx | 6 +- 7 files changed, 94 insertions(+), 62 deletions(-) diff --git a/components/Shell.tsx b/components/Shell.tsx index 2c4f7381..039ed795 100644 --- a/components/Shell.tsx +++ b/components/Shell.tsx @@ -245,11 +245,8 @@ function UserDropdown({session, small, bottom} : {session: any, small?: boolean,
- View public page - - {window.location.hostname}/bailey - + className="flex px-4 py-2 text-sm text-neutral-500"> + View public page
diff --git a/components/team/EditTeamModal.tsx b/components/team/EditTeamModal.tsx index 7501f129..d6991a1e 100644 --- a/components/team/EditTeamModal.tsx +++ b/components/team/EditTeamModal.tsx @@ -40,8 +40,8 @@ export default function EditTeamModal(props) {
-
- +
+
diff --git a/components/team/MemberInvitationModal.tsx b/components/team/MemberInvitationModal.tsx index 8f2adebd..f355abe1 100644 --- a/components/team/MemberInvitationModal.tsx +++ b/components/team/MemberInvitationModal.tsx @@ -38,60 +38,93 @@ export default function MemberInvitationModal(props) { }); }; - return (
-
- + return ( +
+
+ - + -
-
-
- +
+
+
+ +
+
+ +
+

Invite someone to your team.

+
+
-
- +
-

- Invite someone to your team. +

+ + +
+
+ + +
+
+
+ +
+
+ +
+
+
+ {errorMessage && ( +

+ Error: + {errorMessage}

+ )} +
+ +
-
+
-
-
-
- - -
-
- - -
-
- -
-
- {errorMessage &&

Error: {errorMessage}

} -
- - -
-
-
); + ); } \ No newline at end of file diff --git a/components/team/TeamListItem.tsx b/components/team/TeamListItem.tsx index 5aaf2bc8..7e7c7eaa 100644 --- a/components/team/TeamListItem.tsx +++ b/components/team/TeamListItem.tsx @@ -46,10 +46,10 @@ export default function TeamListItem(props) { diff --git a/components/ui/modal/SetTimesModal.tsx b/components/ui/modal/SetTimesModal.tsx index 22360edc..8dc9a759 100644 --- a/components/ui/modal/SetTimesModal.tsx +++ b/components/ui/modal/SetTimesModal.tsx @@ -42,7 +42,7 @@ export default function SetTimesModal(props) {
- +