Skip to content

Commit

Permalink
feat: Implement Create role modal
Browse files Browse the repository at this point in the history
  • Loading branch information
JO-YE committed Jul 20, 2024
1 parent d102546 commit 680086c
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions app/components/ui/create-role-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@ import {
CardContent,
CardFooter,
CardHeader,
CardTitle
CardTitle,
} from "~/components/ui/card";
import { Input } from "~/components/ui/input";

import { cn } from "app/lib/utils/cn";


export type ModalsType = {
className?: string;
onClose?: () => void;
Expand All @@ -24,20 +21,17 @@ const CreateRoleModal: FunctionComponent<ModalsType> = ({
onClose,
}) => {
return (
<Card
className={cn("relative mx-auto my-4 max-w-lg bg-zinc-50 p-6", className)}
>
<Card className={`relative mx-auto my-4 max-w-lg bg-zinc-50 p-6 ${className}`}>
<CardHeader className="relative flex items-start">
<CardTitle className="!p-0">Create Role</CardTitle>
<div
onClick={onClose}
className="absolute right-2 top-2 cursor-pointer"
className="absolute right-2 top-2 cursor-pointer"
style={{ fontSize: "1.5rem" }}
>
<span aria-hidden="true">&times;</span>
</div>
</CardHeader>

<CardContent>
<p className="mb-4 text-sm text-gray-600">
Define customized responsibilities for collaborative success.
Expand Down

0 comments on commit 680086c

Please sign in to comment.