"use client"; import Link from "next/link"; import { useI18n } from "@/lib/i18n"; import type { MemberProfile } from "@/lib/types"; export default function MemberProfileClient({ profile }: { profile: MemberProfile }) { const { t } = useI18n(); const photo = profile.photo || ""; const isUrl = photo.startsWith("http"); return (
{isUrl ? ( // eslint-disable-next-line @next/next/no-img-element ) : ( photo || "🧑‍💻" )}

{profile.name} {profile.vip ? " ✨" : ""}

{profile.location || "全球游民"}

{profile.bio || "这位游民还没写自我介绍"}

{(profile.tags || []).map((tag) => ( {tag} ))}
继续匹配 去活动认识人
); }