Improve MineGeo interface and functionality

This commit is contained in:
2026-10-06 19:24:41 +05:00
parent 7404f1dc1c
commit 233e4d57f0
67 changed files with 3053 additions and 643 deletions

View File

@@ -1,4 +1,6 @@
"use client";
import { useI18n } from "@/components/I18nProvider";
import Link from "next/link";
import { usePathname } from "next/navigation";
@@ -10,9 +12,10 @@ const links = [
] as const;
export function SiteNav() {
const { t } = useI18n();
const pathname = usePathname();
return (
<nav aria-label="Main navigation">
<nav aria-label={t("Main navigation")}>
{links.map(([href, label]) => (
<Link
key={href}
@@ -23,7 +26,7 @@ export function SiteNav() {
: undefined
}
>
{label}
{t(label)}
</Link>
))}
</nav>