Match Figma profile, blocks, auth, and archive backend

هذا الالتزام موجود في:
boutmoun123
2026-06-28 18:46:01 +03:00
الأصل 3298338e70
التزام 36ac36e333
44 ملفات معدلة مع 1245 إضافات و39 حذوفات

عرض الملف

@@ -319,6 +319,7 @@ export default function ContentPage() {
<SelectItem value="public">public</SelectItem>
<SelectItem value="followers">followers</SelectItem>
<SelectItem value="private">private</SelectItem>
<SelectItem value="archived">archived</SelectItem>
</SelectContent>
</Select>
<Select value={moderationStatus} onValueChange={setModerationStatus}>
@@ -455,7 +456,9 @@ export default function ContentPage() {
/>
</TableCell>
) : null}
<TableCell className="max-w-[240px] truncate">{post.content || "-"}</TableCell>
<TableCell className="max-w-[240px] truncate">
{post.contentBottom?.trim() || post.content || post.contentTop || "-"}
</TableCell>
<TableCell>{getUserLabel(getPostAuthor(post))}</TableCell>
<TableCell>
<div className="space-y-1">
@@ -604,7 +607,27 @@ export default function ContentPage() {
>
{selectedPost ? (
<div className="space-y-4">
{selectedPost.contentTop?.trim() ? (
<Card className="border-border/70 bg-secondary/20">
<CardHeader>
<CardTitle>Top text</CardTitle>
</CardHeader>
<CardContent className="whitespace-pre-wrap text-sm leading-6 text-foreground">
{selectedPost.contentTop.trim()}
</CardContent>
</Card>
) : null}
<MediaInspector post={selectedPost} />
{(selectedPost.contentBottom?.trim() || selectedPost.content?.trim()) ? (
<Card className="border-border/70 bg-secondary/20">
<CardHeader>
<CardTitle>Bottom text</CardTitle>
</CardHeader>
<CardContent className="whitespace-pre-wrap text-sm leading-6 text-foreground">
{selectedPost.contentBottom?.trim() || selectedPost.content.trim()}
</CardContent>
</Card>
) : null}
<Card className="border-border/70 bg-secondary/20">
<CardHeader>
<CardTitle>Post metadata</CardTitle>