-
-
Add Directory
- You can add private directory here.
-
+
+
+
+ );
+}
-
+function ChangePassword() {
+ const auth = useAuthStore();
+ const orRef = useRef
(null);
+ const pwRef = useRef(null);
+ const ckRef = useRef(null);
+
+ return (
+
+
+
Change Password
+ If you change your password, you will need to log in again.
- {/*
*/}
-
+
+
+ );
+}
+
+function RemoveAccount() {
+ const auth = useAuthStore();
+ const [remove, setRemove] = useState(false);
+
+ return (
+
+
+
Delete Account
+ You can delete account. This action is irreversible. Please proceed with caution.
+
+
+
+
);
}
@@ -199,6 +188,44 @@ function PasswordInput({ placeholder, ref }: { placeholder: string; ref: React.R
);
}
+function CreateDirectory() {
+ const pathRef = useRef(null);
+ const [disabled, setDisabled] = useState(true);
+
+ return (
+
+
+
Add Directory
+ You can add a private directory here.
+
+
+
+
+ );
+}
+
+function DirectoryTable() {
+ return (
+
+
+
Directories
+ You can view and manage your directories.
+
+
+
+ {/* TODO: create table here */}
+
+
+ );
+}
+
function SettingBox({ children }: { children: React.ReactNode }) {
return (