Improve MineGeo interface and functionality
This commit is contained in:
@@ -1,13 +1,18 @@
|
||||
"use client";
|
||||
import { useI18n } from "@/components/I18nProvider";
|
||||
import Link from "next/link";
|
||||
import { useSiteSettings } from "./SiteSettingsProvider";
|
||||
|
||||
export function Brand() {
|
||||
const { t } = useI18n();
|
||||
const { settings } = useSiteSettings();
|
||||
return (
|
||||
<Link href="/" className="brand" aria-label="MineGeo home">
|
||||
<Link href="/" className="brand" aria-label={t("MineGeo home")}>
|
||||
<span className="brand-cube">
|
||||
<span />
|
||||
</span>
|
||||
Mine<span>Geo</span>
|
||||
<sup>BETA</sup>
|
||||
{settings.betaBadgeEnabled && <sup>BETA</sup>}
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user