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

@@ -3,6 +3,7 @@ import { useI18n } from "@/components/I18nProvider";
import Image from "next/image";
import Link from "next/link";
import { ArrowUpRight, MapPin } from "lucide-react";
import { Username } from "./Username";
export type CardMap = {
id: string;
name: string;
@@ -11,6 +12,8 @@ export type CardMap = {
panorama_count: number;
image?: string | null;
credit?: string;
creditGlow?: boolean;
creditAppearance?: import("@/shared/profile-appearance").ProfileAppearance;
server?: { name: string } | undefined;
bounds: { minX: number; minZ: number; maxX: number; maxZ: number };
};
@@ -51,7 +54,12 @@ export function MapCard({
<p>{map.description}</p>
{map.credit && (
<p className="map-credit">
{t("By")} {map.credit}
{t("By")}{" "}
<Username
name={map.credit}
appearance={map.creditAppearance}
glow={map.creditGlow}
/>
</p>
)}
<div className="card-meta">