Upgrade app to Next.js 16
CI / quality (push) Waiting to run

This commit is contained in:
MOH
2026-03-13 15:50:37 +01:00
parent f14116b56c
commit e32ac4cacb
40 changed files with 1853 additions and 1157 deletions
+6 -6
View File
@@ -10,14 +10,13 @@ import { buildLocalizedMetadata } from "@/lib/metadata";
import { resolveLocale } from "@/lib/locale";
type ComingSoonPageProps = {
params: {
params: Promise<{
locale: string;
};
}>;
};
export async function generateMetadata({
params: { locale },
}: ComingSoonPageProps): Promise<Metadata> {
export async function generateMetadata({ params }: ComingSoonPageProps): Promise<Metadata> {
const { locale } = await params;
const localeKey = resolveLocale(locale);
const t = await getTranslations({ locale: localeKey, namespace: "comingSoon" });
const siteSettings = await getSiteSettings();
@@ -32,8 +31,9 @@ export async function generateMetadata({
}
export default async function ComingSoonPage({
params: { locale },
params,
}: ComingSoonPageProps) {
const { locale } = await params;
const localeKey = resolveLocale(locale);
const t = await getTranslations({ locale: localeKey, namespace: "comingSoon" });
const isArabic = localeKey === "ar";