Add player bug reports and profile identity features
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user