Use the form below to update your password.
-
+
+
Password
+
Use the form below to update your password.
+
+
{authProvider === 'email' && (
setNewPasswordConfirmation((e.target as HTMLInputElement).value)
diff --git a/src/components/Setting/UpdateProfileForm.tsx b/src/components/UpdateProfile/UpdateProfileForm.tsx
similarity index 96%
rename from src/components/Setting/UpdateProfileForm.tsx
rename to src/components/UpdateProfile/UpdateProfileForm.tsx
index 8c314b949..1c5e7cabf 100644
--- a/src/components/Setting/UpdateProfileForm.tsx
+++ b/src/components/UpdateProfile/UpdateProfileForm.tsx
@@ -1,7 +1,7 @@
import { useEffect, useState } from 'preact/hooks';
import { httpGet, httpPost } from '../../lib/http';
import { pageLoadingMessage } from '../../stores/page';
-import UploadProfilePicture from '../Profile/UploadProfilePicture';
+import UploadProfilePicture from './UploadProfilePicture';
export function UpdateProfileForm() {
const [name, setName] = useState('');
@@ -81,8 +81,10 @@ export function UpdateProfileForm() {
return (
-
Profile
-
Update your profile details below.
+
+
Profile
+
Update your profile details below.
+
-
+
diff --git a/src/pages/reset-password.astro b/src/pages/reset-password.astro
index 7dafa1d62..7dcf7e6de 100644
--- a/src/pages/reset-password.astro
+++ b/src/pages/reset-password.astro
@@ -1,9 +1,9 @@
---
import ResetPasswordForm from '../components/AuthenticationFlow/ResetPasswordForm';
-import SettingLayout from '../layouts/SettingLayout.astro';
+import AccountLayout from '../layouts/AccountLayout.astro';
---
-
+
-
+
diff --git a/src/pages/settings/update-password.astro b/src/pages/settings/update-password.astro
deleted file mode 100644
index c44f27014..000000000
--- a/src/pages/settings/update-password.astro
+++ /dev/null
@@ -1,16 +0,0 @@
----
-import SettingSidebar from '../../components/Setting/SettingSidebar.astro';
-import UpdatePasswordForm from '../../components/Setting/UpdatePasswordForm';
-import SettingLayout from '../../layouts/SettingLayout.astro';
----
-
-
-
-
-
-
diff --git a/src/pages/settings/update-profile.astro b/src/pages/settings/update-profile.astro
deleted file mode 100644
index cd6f2fba3..000000000
--- a/src/pages/settings/update-profile.astro
+++ /dev/null
@@ -1,15 +0,0 @@
----
-import SettingSidebar from '../../components/Setting/SettingSidebar.astro';
-import { UpdateProfileForm } from '../../components/Setting/UpdateProfileForm';
-import SettingLayout from '../../layouts/SettingLayout.astro';
----
-
-
-
-
-
-
diff --git a/src/pages/signup.astro b/src/pages/signup.astro
index 7cd9bb4cf..56c9f0f25 100644
--- a/src/pages/signup.astro
+++ b/src/pages/signup.astro
@@ -1,13 +1,12 @@
---
import Divider from '../components/AuthenticationFlow/Divider.astro';
-import GoogleLogin from '../components/Login/GoogleLogin.astro';
import EmailSignupForm from '../components/AuthenticationFlow/EmailSignupForm';
-import SettingLayout from '../layouts/SettingLayout.astro';
import { GitHubButton } from '../components/AuthenticationFlow/GitHubButton';
import { GoogleButton } from '../components/AuthenticationFlow/GoogleButton';
+import AccountLayout from '../layouts/AccountLayout.astro';
---
-
-
+
diff --git a/src/pages/verification-pending.astro b/src/pages/verification-pending.astro
index f1d6af763..2e46eace4 100644
--- a/src/pages/verification-pending.astro
+++ b/src/pages/verification-pending.astro
@@ -1,10 +1,10 @@
---
import { VerificationEmailMessage } from '../components/AuthenticationFlow/VerificationEmailMessage';
-import SettingLayout from '../layouts/SettingLayout.astro';
+import AccountLayout from '../layouts/AccountLayout.astro';
---
-