Introduce tabbed navigation for the settings page, including Profile, Password, Sessions, and Preferences sections. Add placeholders for each section with metadata and routes. Redirect `/settings` to `/settings/profile`. Integrate `AuthGuard` for settings and authenticated layouts while incorporating reusable `Header` and `Footer` components.
11 lines
187 B
TypeScript
11 lines
187 B
TypeScript
/**
|
|
* Settings Index Page
|
|
* Redirects to /settings/profile
|
|
*/
|
|
|
|
import { redirect } from 'next/navigation';
|
|
|
|
export default function SettingsPage() {
|
|
redirect('/settings/profile');
|
|
}
|