Add player bug reports and profile identity features

This commit is contained in:
2026-10-08 18:27:20 +05:00
parent 36e8d11eb4
commit 0b08672f4a
51 changed files with 3938 additions and 45 deletions

View File

@@ -6,6 +6,7 @@ import { LanguageSwitcher } from "./LanguageSwitcher";
import { user } from "@/lib/supabase";
import { Brand } from "./Brand";
import { SiteNav } from "./SiteNav";
import { ReportBugButton } from "./ReportBugButton";
export async function Header() {
const { t } = await getI18n();
const account = await user();
@@ -14,12 +15,15 @@ export async function Header() {
<div className="header-inner">
<Brand />
<SiteNav />
<Link
href={account ? "/dashboard" : "/log-in"}
className="header-account"
>
{account ? t("My account") : t("Log in")} <ArrowUpRight size={15} />
</Link>
<div className="header-actions">
<ReportBugButton />
<Link
href={account ? "/dashboard" : "/log-in"}
className="header-account"
>
{account ? t("My account") : t("Log in")} <ArrowUpRight size={15} />
</Link>
</div>
</div>
</header>
);