Seed: dashboard template (24 files)
This commit is contained in:
+4
-4
@@ -121,7 +121,7 @@ export default function UsersPage() {
|
||||
</TableHeader>
|
||||
<TableBody>
|
||||
{filteredUsers.map((user, idx) => (
|
||||
<TableRow key={user.id} className={`border-slate-100 hover:bg-muted/50 transition-colors \${idx % 2 === 1 ? "bg-muted/30" : ""}`}>
|
||||
<TableRow key={user.id} className={`border-slate-100 hover:bg-muted/50 transition-colors ${idx % 2 === 1 ? "bg-muted/30" : ""}`}>
|
||||
<TableCell>
|
||||
<input
|
||||
type="checkbox"
|
||||
@@ -140,14 +140,14 @@ export default function UsersPage() {
|
||||
</TableCell>
|
||||
<TableCell className="text-slate-600">{user.email}</TableCell>
|
||||
<TableCell>
|
||||
<Badge variant="secondary" className={`\${user.roleColor} border-0 font-medium`}>
|
||||
<Badge variant="secondary" className={`${user.roleColor} border-0 font-medium`}>
|
||||
{user.role}
|
||||
</Badge>
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
<div className="flex items-center gap-2">
|
||||
<span className={`h-2 w-2 rounded-full \${user.status === "Active" ? "bg-emerald-500" : "bg-slate-400"}`} />
|
||||
<span className={`text-sm font-medium \${user.status === "Active" ? "text-emerald-700" : "text-slate-500"}`}>{user.status}</span>
|
||||
<span className={`h-2 w-2 rounded-full ${user.status === "Active" ? "bg-emerald-500" : "bg-slate-400"}`} />
|
||||
<span className={`text-sm font-medium ${user.status === "Active" ? "text-emerald-700" : "text-slate-500"}`}>{user.status}</span>
|
||||
</div>
|
||||
</TableCell>
|
||||
<TableCell className="text-slate-500">{user.joined}</TableCell>
|
||||
|
||||
Reference in New Issue
Block a user