CI/CD (dev on branch, prod on tag) / build-and-deploy (push) Successful in 20m35s
19 lines
737 B
TypeScript
19 lines
737 B
TypeScript
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>
|
|
);
|
|
}
|