mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 19:31:12 -05:00
Refactor User Management title
This commit is contained in:
@@ -3,7 +3,11 @@ import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/com
|
|||||||
import { ProfileManager } from '@/components/moderation/ProfileManager';
|
import { ProfileManager } from '@/components/moderation/ProfileManager';
|
||||||
import { UserRoleManager } from '@/components/moderation/UserRoleManager';
|
import { UserRoleManager } from '@/components/moderation/UserRoleManager';
|
||||||
import { Users, Shield, UserCheck, UserX } from 'lucide-react';
|
import { Users, Shield, UserCheck, UserX } from 'lucide-react';
|
||||||
|
import { useIsMobile } from '@/hooks/use-mobile';
|
||||||
|
|
||||||
export function UserManagement() {
|
export function UserManagement() {
|
||||||
|
const isMobile = useIsMobile();
|
||||||
|
|
||||||
return <div className="space-y-6">
|
return <div className="space-y-6">
|
||||||
|
|
||||||
|
|
||||||
@@ -11,7 +15,7 @@ export function UserManagement() {
|
|||||||
<TabsList className="grid w-full grid-cols-2">
|
<TabsList className="grid w-full grid-cols-2">
|
||||||
<TabsTrigger value="profiles" className="flex items-center gap-2">
|
<TabsTrigger value="profiles" className="flex items-center gap-2">
|
||||||
<UserCheck className="w-4 h-4" />
|
<UserCheck className="w-4 h-4" />
|
||||||
Profile Management
|
{isMobile ? 'Users' : 'User Management'}
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
<TabsTrigger value="roles" className="flex items-center gap-2">
|
<TabsTrigger value="roles" className="flex items-center gap-2">
|
||||||
<Shield className="w-4 h-4" />
|
<Shield className="w-4 h-4" />
|
||||||
|
|||||||
Reference in New Issue
Block a user