mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 20:11:12 -05:00
Refactor Admin Page Layout
This commit is contained in:
@@ -114,6 +114,17 @@ export default function Admin() {
|
|||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
|
<Card>
|
||||||
|
<CardHeader>
|
||||||
|
<CardTitle className="flex items-center gap-2">
|
||||||
|
<Shield className="w-5 h-5" />
|
||||||
|
Content Moderation Queue
|
||||||
|
</CardTitle>
|
||||||
|
<CardDescription>
|
||||||
|
Review and moderate pending content submissions and flagged reviews
|
||||||
|
</CardDescription>
|
||||||
|
</CardHeader>
|
||||||
|
<CardContent>
|
||||||
<Tabs defaultValue="queue" className="space-y-6">
|
<Tabs defaultValue="queue" className="space-y-6">
|
||||||
<TabsList className="grid w-full grid-cols-2">
|
<TabsList className="grid w-full grid-cols-2">
|
||||||
<TabsTrigger value="queue" className="flex items-center gap-2">
|
<TabsTrigger value="queue" className="flex items-center gap-2">
|
||||||
@@ -127,36 +138,15 @@ export default function Admin() {
|
|||||||
</TabsList>
|
</TabsList>
|
||||||
|
|
||||||
<TabsContent value="queue">
|
<TabsContent value="queue">
|
||||||
<Card>
|
|
||||||
<CardHeader>
|
|
||||||
<CardTitle className="flex items-center gap-2">
|
|
||||||
<Shield className="w-5 h-5" />
|
|
||||||
Content Moderation Queue
|
|
||||||
</CardTitle>
|
|
||||||
<CardDescription>
|
|
||||||
Review and moderate pending content submissions and flagged reviews
|
|
||||||
</CardDescription>
|
|
||||||
</CardHeader>
|
|
||||||
<CardContent>
|
|
||||||
<ModerationQueue />
|
<ModerationQueue />
|
||||||
</CardContent>
|
|
||||||
</Card>
|
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
|
|
||||||
<TabsContent value="reports">
|
<TabsContent value="reports">
|
||||||
<Card>
|
|
||||||
<CardHeader>
|
|
||||||
<CardTitle>User Reports</CardTitle>
|
|
||||||
<CardDescription>
|
|
||||||
Review reports submitted by users about inappropriate content
|
|
||||||
</CardDescription>
|
|
||||||
</CardHeader>
|
|
||||||
<CardContent>
|
|
||||||
<ReportsQueue />
|
<ReportsQueue />
|
||||||
</CardContent>
|
|
||||||
</Card>
|
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
</CardContent>
|
||||||
|
</Card>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user