feat: global SiteHeader avec user menu (login/inscription, Mes réservations, Espace hôte, Admin)
All checks were successful
CI / test (pull_request) Successful in 2m9s
All checks were successful
CI / test (pull_request) Successful in 2m9s
This commit is contained in:
parent
4e8b88ab34
commit
3bc52b2b60
5 changed files with 149 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ import "./globals.css";
|
|||
import { PluginProvider } from "@/lib/plugins/client";
|
||||
import { getEnabledPluginKeys, syncPluginsFromRegistry } from "@/lib/plugins/server";
|
||||
import { SeasonBanner } from "@/components/SeasonBanner";
|
||||
import { SiteHeaderGuard } from "@/components/SiteHeaderGuard";
|
||||
import { LocaleProvider } from "@/lib/i18n/client";
|
||||
import { dict, getLocale } from "@/lib/i18n/server";
|
||||
|
||||
|
|
@ -102,6 +103,7 @@ export default async function RootLayout({
|
|||
<PluginProvider enabledKeys={enabledKeys}>
|
||||
<LocaleProvider locale={locale} messages={messages}>
|
||||
<SeasonBanner />
|
||||
<SiteHeaderGuard />
|
||||
{children}
|
||||
</LocaleProvider>
|
||||
</PluginProvider>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue