ultisuite-client/app/settings/layout.tsx
R3D347HR4Y b95948f980 feat: refactor mail and account settings structure for improved navigation and layout
- 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.
2026-06-16 11:32:58 +02:00

25 lines
702 B
TypeScript

import { MailSettingsLayout } from "@/components/gmail/settings/mail-settings-layout"
import { SettingsAppShell } from "@/components/gmail/settings/settings-app-shell"
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: "mail",
title: "Réglages",
})
export default function SettingsRootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<SuiteThemeShell>
<SettingsAppShell>
<MailSettingsLayout>{children}</MailSettingsLayout>
</SettingsAppShell>
</SuiteThemeShell>
)
}