replace new button

This commit is contained in:
2025-06-11 12:18:15 +05:00
parent e3eea86e28
commit 8e4546edc5
20 changed files with 130 additions and 250 deletions
+3 -3
View File
@@ -4,7 +4,7 @@ import useModalStore from "../stores/useModalStore";
import { AnimatePresence, motion } from "motion/react";
import CloseIcon from "./icons/CloseIcon";
import { clsx as cn } from "clsx";
import NewButton from "./NewButton";
import Button from "./Button";
function ModalContainer() {
const { modal, setModal, position } = useModalStore();
@@ -78,7 +78,7 @@ function ModalContainer() {
// }}
>
{modal}
<NewButton
<Button
size="small"
variant="secondary"
className="absolute top-[1.389vw] right-[1.389vw] p-[0.556vw]"
@@ -87,7 +87,7 @@ function ModalContainer() {
<span className="w-[0.972vw] h-[0.972vw] text-[#7D7D7D]">
<CloseIcon />
</span>
</NewButton>
</Button>
</div>
</div>
</div>