mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 21:11:13 -05:00
feat: Implement admin panel redesign plan
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs';
|
||||
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
|
||||
import { ProfileManager } from '@/components/moderation/ProfileManager';
|
||||
import { UserRoleManager } from '@/components/moderation/UserRoleManager';
|
||||
import { Users, Shield, UserCheck, UserX } from 'lucide-react';
|
||||
import { Shield, UserCheck } from 'lucide-react';
|
||||
export function UserManagement() {
|
||||
return <div className="space-y-6">
|
||||
|
||||
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<Tabs defaultValue="profiles" className="space-y-4">
|
||||
<TabsList className="grid w-full grid-cols-2">
|
||||
<TabsTrigger value="profiles" className="flex items-center gap-2">
|
||||
@@ -20,22 +18,13 @@ export function UserManagement() {
|
||||
</TabsList>
|
||||
|
||||
<TabsContent value="profiles">
|
||||
<Card>
|
||||
|
||||
<CardContent>
|
||||
<ProfileManager />
|
||||
</CardContent>
|
||||
</Card>
|
||||
<ProfileManager />
|
||||
</TabsContent>
|
||||
|
||||
<TabsContent value="roles">
|
||||
<Card>
|
||||
|
||||
<CardContent>
|
||||
<UserRoleManager />
|
||||
</CardContent>
|
||||
</Card>
|
||||
<UserRoleManager />
|
||||
</TabsContent>
|
||||
</Tabs>
|
||||
</div>;
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user