feat(auth): enterprise authentication and user management
This commit is contained in:
parent
4bc8b20a21
commit
86a32a942c
36 changed files with 2239 additions and 324 deletions
20
frontend/athena/components/common/StatusBadge.tsx
Normal file
20
frontend/athena/components/common/StatusBadge.tsx
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
import { cn } from "@/lib/utils";
|
||||
|
||||
type Props = {
|
||||
active: boolean;
|
||||
};
|
||||
|
||||
export default function StatusBadge({ active }: Props) {
|
||||
return (
|
||||
<span
|
||||
className={cn(
|
||||
"inline-flex h-6 items-center rounded-full px-2 text-xs font-medium",
|
||||
active
|
||||
? "bg-emerald-50 text-emerald-700 ring-1 ring-emerald-600/20"
|
||||
: "bg-slate-100 text-slate-600 ring-1 ring-slate-500/20",
|
||||
)}
|
||||
>
|
||||
{active ? "Aktiv" : "Inaktiv"}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue