Refactor site hero and localized branding UI

This commit is contained in:
MOH
2026-03-08 05:13:10 +01:00
parent 9edb162148
commit 2bda611a3b
35 changed files with 682 additions and 234 deletions
+4 -1
View File
@@ -34,10 +34,13 @@ export default async function LocaleLayout({
setRequestLocale(locale);
const messages = await getMessages();
const localeClassName = locale === "ar" ? "font-arabic" : "font-latin";
return (
<NextIntlClientProvider messages={messages}>
<div lang={locale} dir={getDirection(locale)}>{children}</div>
<div lang={locale} dir={getDirection(locale)} className={localeClassName}>
{children}
</div>
</NextIntlClientProvider>
);
}