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