0.0.8.1
This commit is contained in:
@@ -247,7 +247,7 @@ export default function MemberProfilePage() {
|
||||
{member.bio ? (
|
||||
<p className="whitespace-pre-line leading-relaxed">{member.bio}</p>
|
||||
) : (
|
||||
<p className="text-muted-foreground italic">暂无生平记录...</p>
|
||||
<p className="text-sm text-foreground font-light tracking-wide text-center py-8">生平待书</p>
|
||||
)}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -90,11 +90,14 @@ export default function NewMemberPage() {
|
||||
<div className="min-h-screen flex flex-col bg-background">
|
||||
<SiteHeader />
|
||||
<div className="container mx-auto py-8">
|
||||
<div className="mb-6 flex items-center gap-2">
|
||||
<Button variant="ghost" onClick={() => router.back()}>
|
||||
<div className="mb-6">
|
||||
<Button variant="ghost" onClick={() => router.back()} className="mb-4">
|
||||
<ArrowLeft className="mr-2 h-4 w-4" /> 返回
|
||||
</Button>
|
||||
<h1 className="text-2xl font-bold font-serif">新增家族成员</h1>
|
||||
<h1 className="text-3xl font-serif font-bold mb-2">新增家族成员</h1>
|
||||
<p className="text-muted-foreground">
|
||||
填写成员信息,完善家族树
|
||||
</p>
|
||||
</div>
|
||||
<MemberForm initialData={initialData} existingMembers={existingMembers} onSubmit={handleSave} onCancel={() => router.back()} />
|
||||
</div>
|
||||
|
||||
@@ -361,7 +361,7 @@ export default function MembersPage() {
|
||||
return (
|
||||
<div className="min-h-screen bg-background flex flex-col font-sans">
|
||||
<SiteHeader />
|
||||
<main className="container mx-auto py-8 px-4 md:px-6 flex-1">
|
||||
<main className="container mx-auto py-8 px-4 md:px-6 flex-1 flex flex-col">
|
||||
<div className="flex flex-col gap-6 mb-8">
|
||||
<div className="flex flex-col md:flex-row justify-between items-center gap-4">
|
||||
<h1 className="text-3xl font-serif font-bold">家族成员列表</h1>
|
||||
@@ -479,8 +479,13 @@ export default function MembersPage() {
|
||||
</div>
|
||||
|
||||
{filteredMembers.length === 0 ? (
|
||||
<div className="text-center py-12 text-muted-foreground">
|
||||
没有找到匹配的成员。
|
||||
<div className="flex-1 flex items-center justify-center">
|
||||
<div className="text-center space-y-4">
|
||||
<div className="inline-flex items-center justify-center w-16 h-16 text-primary/80">
|
||||
<Search className="h-16 w-16" strokeWidth={1} />
|
||||
</div>
|
||||
<p className="text-base text-foreground font-light tracking-wide">未寻得</p>
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
<div className="space-y-8">
|
||||
|
||||
Reference in New Issue
Block a user