diff --git a/src/components/PopupCard/calender.svg b/public/images/PopupCardcalender.svg similarity index 100% rename from src/components/PopupCard/calender.svg rename to public/images/PopupCardcalender.svg diff --git a/src/components/PopupCard/cancle-icon.svg b/public/images/PopupCardcancle-icon.svg similarity index 100% rename from src/components/PopupCard/cancle-icon.svg rename to public/images/PopupCardcancle-icon.svg diff --git a/src/components/PopupCard/document-cloud.svg b/public/images/PopupCarddocument-cloud.svg similarity index 100% rename from src/components/PopupCard/document-cloud.svg rename to public/images/PopupCarddocument-cloud.svg diff --git a/src/components/PopupCard/plus.svg b/public/images/PopupCardplus.svg similarity index 100% rename from src/components/PopupCard/plus.svg rename to public/images/PopupCardplus.svg diff --git a/src/components/PopupCard/index.js b/src/components/CardDesgin/PopupCard/index.js similarity index 93% rename from src/components/PopupCard/index.js rename to src/components/CardDesgin/PopupCard/index.js index 87c3dd2..900b898 100644 --- a/src/components/PopupCard/index.js +++ b/src/components/CardDesgin/PopupCard/index.js @@ -3,18 +3,11 @@ import React, { useState } from "react"; import { useForm } from "react-hook-form"; -import Input from "../AnimatedInput/Input"; -import CancleIcon from "../CancleIcon"; -import Button from "../Button"; -import ProfilePicNextToEachOther from "../ProfilePicNextToEachOther"; -import TitleSubtitle from "../TitleSubtitle"; - -import calender from "./calender.svg"; -import cancleIcon from "./cancle-icon.svg"; - -import documentCloud from "./document-cloud.svg"; - -import plus from "./plus.svg"; +import Input from "../../AnimatedInput/Input"; +import CancleIcon from "../../MiniComponents/CancleIcon"; +import Button from "../../ButtonDesign/Button"; +import ProfilePicNextToEachOther from "../../ProfilePicNextToEachOther"; +import TitleSubtitle from "../../MiniComponents/TitleSubtitle"; const PopupCard = ({ selectedChecklist, buttons }) => { // const [activeInput, setActiveInput] = useState(false); @@ -42,7 +35,10 @@ const PopupCard = ({ selectedChecklist, buttons }) => {
{/* cancle icon */}
- +
{/* modalBody */}
@@ -65,7 +61,7 @@ const PopupCard = ({ selectedChecklist, buttons }) => { register={register("firstName")} label="تقویم" type="text" - icon={calender} + icon={"images/PopupCardcalender.svg"} borderClassname={`border-2 border-[#06BACE] `} inputClassname={`px-4 py-2 text-[#0F0543] focus:bg-white`} activePlaceholderClass={"text-[#06BACE] bg-white"} @@ -178,7 +174,7 @@ const PopupCard = ({ selectedChecklist, buttons }) => { subtitleClassName={"text-[#B3B3B3]"} />
- + , - 2: , - 3: , - 4: , - 5: , - 5: , - 5: , + 2: , + 3: , + 4: , + 5: , + 6: , + 7: , + 8: , }; const [type, setType] = useState(1); return ( diff --git a/src/components/PopupCard/index.scss b/src/components/PopupCard/index.scss deleted file mode 100644 index e69de29..0000000