19 lines
497 B
TypeScript
19 lines
497 B
TypeScript
"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={t("MineGeo home")}>
|
|
<span className="brand-cube">
|
|
<span />
|
|
</span>
|
|
Mine<span>Geo</span>
|
|
{settings.betaBadgeEnabled && <sup>BETA</sup>}
|
|
</Link>
|
|
);
|
|
}
|