This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { KeyRound, User } from "lucide-react";
|
||||
|
||||
export function CredentialRows({ user, password }: { user: string; password: string }) {
|
||||
return (
|
||||
<dl className="grid grid-cols-[auto_1fr] items-center gap-x-3 gap-y-2 text-sm">
|
||||
<dt className="flex items-center gap-1.5 text-slate-400">
|
||||
<User className="size-3.5" aria-hidden="true" />
|
||||
User
|
||||
</dt>
|
||||
<dd className="rounded-md bg-black/30 px-2 py-1 font-mono text-slate-100">{user}</dd>
|
||||
<dt className="flex items-center gap-1.5 text-slate-400">
|
||||
<KeyRound className="size-3.5" aria-hidden="true" />
|
||||
Password
|
||||
</dt>
|
||||
<dd className="rounded-md bg-black/30 px-2 py-1 font-mono text-slate-100">{password}</dd>
|
||||
</dl>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user