diff --git a/src/App.js b/src/App.js index 4e45b02..a9453d4 100644 --- a/src/App.js +++ b/src/App.js @@ -221,9 +221,9 @@ function App() { {/* */} {/* ----------------------------$$$ end---------------------------- */} - + {/* */} - + {/* */} {/* */} diff --git a/src/components/CardDesign1/index.js b/src/components/CardDesign1/index.js index 92f5da5..cfcbddc 100644 --- a/src/components/CardDesign1/index.js +++ b/src/components/CardDesign1/index.js @@ -5,11 +5,11 @@ import TitleSubtitle from "../TitleSubtitle"; const CardDesign1 = () => { return ( -
+
diff --git a/src/components/CustomToast/index.js b/src/components/CustomToast/index.js index f7741b3..b8b1bd8 100644 --- a/src/components/CustomToast/index.js +++ b/src/components/CustomToast/index.js @@ -2,19 +2,11 @@ import React from "react"; import penIcon from "./pen-icon.svg"; -const CustomToast = ({ - backgroundColor, - borderColor, - textColor, - padding, - icon, -}) => { +const CustomToast = ({ className, icon }) => { return ( -
+

ترسیم نقشه سالن

- pen + {icon && pen}
); }; @@ -22,9 +14,7 @@ const CustomToast = ({ export default CustomToast; CustomToast.defaultProps = { - backgroundColor: "bg-[#489BEC33]", - borderColor: "border-[#489BEC]", - textColor: "text-[#0555A4]", - padding: "p-4", + className: + "p-4 bg-[#489BEC33] border-[#489BEC] text-[#0555A4] mt-4 border-2 font-sansbold", icon: penIcon, }; diff --git a/src/components/IconText/index.js b/src/components/IconText/index.js index a432a17..a31e998 100644 --- a/src/components/IconText/index.js +++ b/src/components/IconText/index.js @@ -2,11 +2,11 @@ import React from "react"; import infoIcon from "./info-icon.svg"; -const IconText = ({ textColor, textSize }) => { +const IconText = ({ contentClassname }) => { return ( -
+
info -

+

ابتدا باید دیوار ها به صورت حدودی ترسیم شوند و تمامی نقاط به یگ دیگر وصل شوند تا طرح برای جایگذاری وسایل آماده شود

@@ -18,6 +18,5 @@ export default IconText; IconText.defaultProps = { icon: infoIcon, - textColor: "text-[#2E2E2E]", - textSize: "text-xs", + contentClassname: "text-[#2E2E2E]", }; diff --git a/src/components/TimeLineComponent/TimeLineItem.js b/src/components/TimeLineComponent/TimeLineItem.js index 2b9ce73..9b8a4ff 100644 --- a/src/components/TimeLineComponent/TimeLineItem.js +++ b/src/components/TimeLineComponent/TimeLineItem.js @@ -1,5 +1,5 @@ import CircleInCircle from "../CircleInCircle"; -import "./index.scss"; +import ProfilePicNextToEachOther from "../ProfilePicNextToEachOther"; const TimeLineItem = ({ data }) => (
(
{/* profilePic */}
- {data.users.slice(0, 3).map((user, i) => ( - - ))} +