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

@@ -0,0 +1,19 @@
"use client";
import Link from "next/link";
import { usePathname } from "next/navigation";
import { Bug } from "lucide-react";
import { useI18n } from "./I18nProvider";
export function ReportBugButton() {
const { t } = useI18n();
const pathname = usePathname();
return (
<Link
className="header-report"
href={`/support?from=${encodeURIComponent(pathname)}`}
aria-label={t("Report a bug")}
>
<Bug size={18} aria-hidden="true" />
<span>{t("Report a bug")}</span>
</Link>
);
}