import { Avatar, Card, Icon, Text, Title } from '@stash/ui' import type { ProfileSettings } from '../../settings' /** * 用户资料卡:头像、认证徽标、昵称、角色、简介、IP 属地。 * 内容来自站点设置(/admin → 资料),未设置时用默认文案。 */ type ProfileCardProps = { profile: ProfileSettings } export function ProfileCard({ profile }: ProfileCardProps) { return ( {profile.avatar !== '' ? ( ) : ( } verified /> )} {profile.name} {profile.role} {profile.description} {profile.location} ) }