- Updated routing for mail settings to redirect to the new settings layout. - Introduced new account layout and section components for better organization. - Replaced hardcoded paths with constants for account and mail settings to enhance maintainability. - Removed deprecated mail settings layout and integrated it into the new settings structure. - Enhanced user experience by streamlining navigation between account and mail settings.
21 lines
546 B
TypeScript
21 lines
546 B
TypeScript
import { CompteSettingsLayout } from "@/components/compte/compte-settings-layout"
|
|
import { SuiteThemeShell } from "@/components/suite/suite-theme-shell"
|
|
import type { Metadata } from "next"
|
|
import { suitePageMetadata } from "@/lib/suite/page-metadata"
|
|
|
|
export const metadata: Metadata = suitePageMetadata({
|
|
app: "compte",
|
|
})
|
|
|
|
export default function AccountRootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<SuiteThemeShell>
|
|
<CompteSettingsLayout>{children}</CompteSettingsLayout>
|
|
</SuiteThemeShell>
|
|
)
|
|
}
|