chore: refactor settings route
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user