chore: refactor settings route

This commit is contained in:
gosangam
2026-07-14 18:16:32 +05:30
parent 1683abc2e9
commit 1582df0ed5
134 changed files with 677 additions and 463 deletions
+24
View File
@@ -0,0 +1,24 @@
/**
* /settings/account — connected accounts, email, and password.
*
* Dedicated page for what used to be the "Authentication" section on the old
* /settings screen. All the interactive bits (OAuth link flows, the post-link
* result banner, add-email / change-password modals) live in the client
* AuthenticationSection component.
*/
import { AuthenticationSection } from "@/components/settings/authentication-section";
import { SettingsShell } from "@/components/settings/settings-ui";
export default function AccountSettingsPage() {
return (
<SettingsShell
backHref="/settings"
backLabel="Settings"
title="Account & security"
description="Connect a login provider, manage your email, and change your password."
>
<AuthenticationSection />
</SettingsShell>
);
}