import Link from "next/link"; import { FileText, MessageCircle, AlertCircle } from "lucide-react"; import Pagination from "@/components/Pagination"; import { IconComment, IconEye, IconHeart } from "@/components/Icons"; import type { UserProfile, UserCommentsResponse } from "@/lib/api"; /** * 用户主页内容区(纯服务端渲染): * tab 与分页全部走 URL(?tab=comments&page=N),刷新/后退/分享链接均保持一致。 * Tab 切换栏已移至 page.tsx 统一渲染(含 settings / security),此组件仅负责 posts / comments 列表。 */ export default function UserProfileContent({ userId, profile, tab, commentData, commentError, page, }: { userId: string; profile: UserProfile; tab: "posts" | "comments"; commentData: UserCommentsResponse | null; commentError: boolean; page: number; }) { return (
暂无发帖
评论加载失败
网络异常,请稍后重试
重新加载{c.content}
暂无评论