Improve accessibility and polish page styling
Some checks failed
Deploy MineGeo to Dokploy / deploy (push) Failing after 11m31s

This commit is contained in:
2026-10-24 14:11:17 +05:00
parent 060e8f27ef
commit 927923dc95
34 changed files with 99 additions and 48 deletions

View File

@@ -44,16 +44,17 @@ export default async function RootLayout({
}: {
children: React.ReactNode;
}) {
const [{ locale, preference, detectedLocale }, settings] = await Promise.all([
getI18n(),
initialSiteSettings(),
]);
const [{ locale, preference, detectedLocale, t }, settings] =
await Promise.all([getI18n(), initialSiteSettings()]);
return (
<html lang={locale} data-theme="dark" suppressHydrationWarning>
<head>
<script dangerouslySetInnerHTML={{ __html: themeInitScript }} />
</head>
<body>
<a className="skip-link" href="#main-content">
{t("Skip to content")}
</a>
<I18nProvider
locale={locale}
preference={preference}