Add theme toggle and update MineGeo branding

This commit is contained in:
2026-10-08 20:37:50 +05:00
parent 0b08672f4a
commit bf01d9801d
11 changed files with 574 additions and 5 deletions

View File

@@ -7,6 +7,7 @@ import { user } from "@/lib/supabase";
import { Brand } from "./Brand";
import { SiteNav } from "./SiteNav";
import { ReportBugButton } from "./ReportBugButton";
import { ThemeToggle } from "./ThemeToggle";
export async function Header() {
const { t } = await getI18n();
const account = await user();
@@ -16,6 +17,7 @@ export async function Header() {
<Brand />
<SiteNav />
<div className="header-actions">
<ThemeToggle />
<ReportBugButton />
<Link
href={account ? "/dashboard" : "/log-in"}
@@ -37,6 +39,7 @@ export async function Footer() {
<p>{t("A familiar world. A whole new perspective.")}</p>
</div>
<div>
<ThemeToggle />
<LanguageSwitcher />
<Link href="/downloads">{t("Tools & downloads")}</Link>
<Link href="/leaderboard">{t("Leaderboard")}</Link>