diff --git a/app/layout.tsx b/app/layout.tsx index fb8d437..f94c30c 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -4,6 +4,7 @@ import React from "react"; import {Inter as FontSans} from "next/font/google" import {cn} from "@/lib/utils"; import {headers} from "next/headers"; +import {getDictionary} from "@/i18n/dictionaries"; export const runtime = 'edge'; @@ -12,8 +13,11 @@ type RootLayoutProps = { } export async function generateMetadata(): Promise { + const dict = await getDictionary("en"); return { metadataBase: new URL(`https://${headers().get("host")}`), + title: dict.common.title, + description: dict.common.description, }; }