user management
This commit is contained in:
@@ -3,6 +3,7 @@ import { Badge } from "@/components/ui/badge";
|
||||
import { Database, Server, Settings } from "lucide-react";
|
||||
|
||||
import AddCredits from "@/components/dashboard/add-credits";
|
||||
import UserManagement from "@/components/dashboard/user-management";
|
||||
|
||||
export default function SettingsPage() {
|
||||
return (
|
||||
@@ -48,13 +49,13 @@ export default function SettingsPage() {
|
||||
<span className="text-sm text-muted-foreground">
|
||||
Version Next.js
|
||||
</span>
|
||||
<Badge variant="secondary">14.x</Badge>
|
||||
<Badge variant="outline">15.0.3</Badge>
|
||||
</div>
|
||||
<div className="flex justify-between">
|
||||
<span className="text-sm text-muted-foreground">
|
||||
Version Node.js
|
||||
</span>
|
||||
<Badge variant="secondary">18.x</Badge>
|
||||
<Badge variant="outline">{process.version}</Badge>
|
||||
</div>
|
||||
<div className="flex justify-between">
|
||||
<span className="text-sm text-muted-foreground">
|
||||
@@ -67,16 +68,21 @@ export default function SettingsPage() {
|
||||
</Card>
|
||||
</div>
|
||||
|
||||
{/* Gestion des utilisateurs */}
|
||||
<UserManagement />
|
||||
|
||||
{/* Gestion des crédits */}
|
||||
<div>
|
||||
<h2 className="text-2xl font-bold tracking-tight mb-4 flex items-center gap-2">
|
||||
<Settings className="h-6 w-6" />
|
||||
Gestion des Crédits
|
||||
</h2>
|
||||
<div className="space-y-6">
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<CardTitle className="flex items-center gap-2">
|
||||
<Settings className="h-6 w-6" />
|
||||
Gestion des Crédits
|
||||
</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<AddCredits />
|
||||
</div>
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user