+
+
+
+ {isLoading ? (
+
- >
- )}
-
-
-
-
-
-
- {modalContentType === "NEW_LABEL" && (
-
- )}
- {modalContentType === "EDIT_LABEL" && (
-
- )}
- {modalContentType === "DELETE_LABEL" && (
-
- )}
- {modalContentType === "DELETE_CARD" && (
-
- )}
- {modalContentType === "NEW_WORKSPACE" && }
-
-
+
+ {modalContentType === "NEW_LABEL" && (
+
+ )}
+ {modalContentType === "EDIT_LABEL" && (
+
+ )}
+ {modalContentType === "DELETE_LABEL" && (
+
+ )}
+ {modalContentType === "DELETE_CARD" && (
+
+ )}
+ {modalContentType === "NEW_WORKSPACE" && }
+
+
+ >
);
}
diff --git a/src/views/members/index.tsx b/src/views/members/index.tsx
index 38166bd7..e5dd8b93 100644
--- a/src/views/members/index.tsx
+++ b/src/views/members/index.tsx
@@ -3,6 +3,8 @@ import { twMerge } from "tailwind-merge";
import { useModal } from "~/providers/modal";
import { useWorkspace } from "~/providers/workspace";
+
+import { PageHead } from "~/components/PageHead";
import Modal from "~/components/modal";
import { NewWorkspaceForm } from "~/components/NewWorkspaceForm";
@@ -136,82 +138,85 @@ export default function MembersPage() {
};
return (
-
-
-
- Members
-
-
-
+ <>
+
+
+
+
+ Members
+
+
+
+
-
-
-
-
-
-
-
-
- |
- User
- |
-
- Role
- |
-
-
-
- {!isLoading &&
- data?.members.map((member, index) => (
-
- ))}
+
+
+
+
+
+
+
+ |
+ User
+ |
+
+ Role
+ |
+
+
+
+ {!isLoading &&
+ data?.members.map((member, index) => (
+
+ ))}
- {isLoading && (
- <>
-
-
-
- >
- )}
-
-
+ {isLoading && (
+ <>
+
+
+
+ >
+ )}
+
+
+
-
-
- {modalContentType === "NEW_WORKSPACE" && }
- {modalContentType === "INVITE_MEMBER" && }
- {modalContentType === "REMOVE_MEMBER" && }
-
-
+
+ {modalContentType === "NEW_WORKSPACE" && }
+ {modalContentType === "INVITE_MEMBER" && }
+ {modalContentType === "REMOVE_MEMBER" && }
+
+
+ >
);
}
diff --git a/src/views/settings/index.tsx b/src/views/settings/index.tsx
index 6087b70f..186660e0 100644
--- a/src/views/settings/index.tsx
+++ b/src/views/settings/index.tsx
@@ -1,6 +1,7 @@
import Modal from "~/components/modal";
import Button from "~/components/Button";
+import { PageHead } from "~/components/PageHead";
import { DeleteWorkspaceConfirmation } from "./components/DeleteWorkspaceConfirmation";
import UpdateWorkspaceNameForm from "./components/UpdateWorkspaceNameForm";
@@ -12,41 +13,47 @@ export default function SettingsPage() {
const { workspace } = useWorkspace();
return (
-
-
-
- Settings
-
-
+ <>
+
+
+
+
+ Settings
+
+
-
-
- Workspace name
-
-
-
+
+
+ Workspace name
+
+
+
-
-
- Delete workspace
-
-
- Once you delete your workspace, there is no going back. Please be
- certain.
-
-
-
+
+
+ Delete workspace
+
+
+ Once you delete your workspace, there is no going back. Please be
+ certain.
+
+
+
-
- {modalContentType === "DELETE_WORKSPACE" && (
-
- )}
-
-
+
+ {modalContentType === "DELETE_WORKSPACE" && (
+
+ )}
+
+
+ >
);
}