feat : add modal details
This commit is contained in:
@@ -36,13 +36,16 @@ export default function MuiModal({
|
||||
className="relative w-full h-full flex justify-center items-center border-none outline-none"
|
||||
>
|
||||
<motion.div
|
||||
className="max-md:max-w-72 md:w-80 lg:w-96 min-h-80 shadow-xl shadow-[rgb(20,20,20)] bg-[rgb(20,20,20,0.99)] rounded-lg p-4 relative flex flex-col justify-between items-center gap-4"
|
||||
className="max-md:w-72 md:w-80 lg:w-96 min-h-80 shadow-xl shadow-[rgb(20,20,20)] bg-[rgb(20,20,20,0.99)] rounded-lg p-4 relative flex flex-col justify-between items-center gap-4"
|
||||
initial={{ y: "-100vw" }}
|
||||
animate={{ y: 0 }}
|
||||
>
|
||||
<motion.div className="w-full h-full flex justify-between">
|
||||
<motion.div className="w-full h-full flex gap-2 justify-between">
|
||||
<h1 className="text-lg md:text-xl font-bold">
|
||||
{title} {nameService && <span className="text-green-600"> {nameService} </span>}
|
||||
{title && title}
|
||||
{nameService && (
|
||||
<span className="text-green-600"> {nameService} </span>
|
||||
)}
|
||||
</h1>
|
||||
<button onClick={handleClose}>
|
||||
<IoClose className="w-7 h-7" />
|
||||
|
||||
Reference in New Issue
Block a user