Merge branch 'develop' into feat/SW-185-implement-footer-navigation

This commit is contained in:
Pontus Dreij
2024-08-22 16:42:09 +02:00
139 changed files with 2834 additions and 927 deletions

View File

@@ -15,14 +15,9 @@ import { getIntl } from "@/i18n"
import ServerIntlProvider from "@/i18n/Provider"
import { getLang, setLang } from "@/i18n/serverContext"
import type { Metadata } from "next"
import type { LangParams, LayoutArgs } from "@/types/params"
export const metadata: Metadata = {
description: "New web",
title: "Scandic Hotels",
}
export { generateMetadata } from "@/utils/generateMetadata"
export default async function RootLayout({
children,
@@ -35,8 +30,8 @@ export default async function RootLayout({
>) {
setLang(params.lang)
preloadUserTracking()
const { defaultLocale, locale, messages } = await getIntl()
return (
<html lang={getLang()}>
<head>