mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 23:31:12 -05:00
Add admin dashboard header
This commit is contained in:
@@ -10,6 +10,7 @@ import { ModerationQueue } from '@/components/moderation/ModerationQueue';
|
||||
import { ReportsQueue } from '@/components/moderation/ReportsQueue';
|
||||
import { UserRoleManager } from '@/components/moderation/UserRoleManager';
|
||||
import { ProfileManager } from '@/components/moderation/ProfileManager';
|
||||
import { AdminHeader } from '@/components/layout/AdminHeader';
|
||||
|
||||
export default function Admin() {
|
||||
const { user, loading: authLoading } = useAuth();
|
||||
@@ -48,16 +49,14 @@ export default function Admin() {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="container mx-auto px-4 py-8">
|
||||
<div className="mb-8">
|
||||
<div className="flex items-center gap-3 mb-2">
|
||||
<Shield className="w-8 h-8 text-primary" />
|
||||
<h1 className="text-3xl font-bold">Admin Dashboard</h1>
|
||||
<>
|
||||
<AdminHeader />
|
||||
<div className="container mx-auto px-4 py-8">
|
||||
<div className="mb-8">
|
||||
<p className="text-muted-foreground">
|
||||
Manage content moderation and user roles
|
||||
</p>
|
||||
</div>
|
||||
<p className="text-muted-foreground">
|
||||
Manage content moderation and user roles
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
|
||||
<Card>
|
||||
@@ -176,6 +175,7 @@ export default function Admin() {
|
||||
</Card>
|
||||
</TabsContent>
|
||||
</Tabs>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user