Improve authentication recovery and mobile gameplay

This commit is contained in:
2026-10-07 11:10:29 +05:00
parent 233e4d57f0
commit ce26e6fdbc
22 changed files with 763 additions and 97 deletions

View File

@@ -4,6 +4,7 @@ import { useI18n } from "@/components/I18nProvider";
import { useEffect, useRef, useState } from "react";
import { api } from "./StartGame";
import { reportCategories } from "@/shared/moderation";
import { Flag } from "lucide-react";
export function ReportContent({
datasetId,
@@ -66,14 +67,16 @@ export function ReportContent({
return (
<>
<button
className="button"
className="button report-trigger"
aria-label={t("Report content")}
onClick={() => {
setOpen(true);
setError("");
setMessage("");
}}
>
{t("Report content")}
<Flag className="report-icon" size={18} aria-hidden="true" />
<span>{t("Report content")}</span>
</button>
{message && (
<p role="status" className="success-message">