This commit is contained in:
Henrik Larsson
2023-08-08 17:06:04 +02:00
parent 22aab2f657
commit 047e5fe566
16 changed files with 214 additions and 169 deletions

View File

@@ -59,6 +59,8 @@ export default async function LocaleLayout({ children, params: { locale } }: Loc
<NextIntlClientProvider locale={locale} messages={messages}>
<Header locale={locale} />
<main className="flex-1">{children}</main>
{/* @ts-expect-error Server Component */}
{/* https://github.com/vercel/next.js/issues/42292 */}
<Footer locale={locale} />
</NextIntlClientProvider>
</body>