diff --git a/src/components/DistributedData/index.js b/src/components/DistributedData/index.js index 9cd3a66..b2c4814 100644 --- a/src/components/DistributedData/index.js +++ b/src/components/DistributedData/index.js @@ -66,6 +66,7 @@ DistributedData.defaultProps = { }, ], ], + items: [ [ { diff --git a/src/components/FormInput/Input.js b/src/components/FormInput/Input.js index 1eba978..60e12a1 100644 --- a/src/components/FormInput/Input.js +++ b/src/components/FormInput/Input.js @@ -4,7 +4,7 @@ import { useState } from "react"; import fixNumbers from "./fixNumbers"; -const Inputs = ({ +const FormFields = ({ defaultValue, set, label, @@ -68,4 +68,4 @@ const Inputs = ({ ); }; -export default Inputs; +export default FormFields; diff --git a/src/components/FormInput/index.js b/src/components/FormInput/index.js index 957a48e..457758e 100644 --- a/src/components/FormInput/index.js +++ b/src/components/FormInput/index.js @@ -6,22 +6,14 @@ import Input from "./Input"; const FormInput = () => { const { register, getValues } = useForm(); return ( -
+
-
); }; export default FormInput; - -//
-//
diff --git a/src/components/RoomCardInfo/index.js b/src/components/RoomCardInfo/index.js index 8eba74b..d196a43 100644 --- a/src/components/RoomCardInfo/index.js +++ b/src/components/RoomCardInfo/index.js @@ -15,12 +15,7 @@ const RoomCardInfo = ({ items }) => { {items.map((item, index) => (
-

- {item.name} -

+

{item.name}

تاریخ ورود: {item.enterData} diff --git a/src/index.css b/src/index.css index f245ef5..a55f006 100644 --- a/src/index.css +++ b/src/index.css @@ -1,6 +1,7 @@ @tailwind base; @tailwind components; @tailwind utilities; + @font-face { font-family: "iransans-medium"; src: url(./assets/fonts/iransans/ttf/IRANSansWeb_Medium.ttf); diff --git a/src/index.scss b/src/index.scss index 0e75cfa..8b8dcaa 100644 --- a/src/index.scss +++ b/src/index.scss @@ -2,8 +2,6 @@ @tailwind components; @tailwind utilities; -@import "./components/productDesign/ProductDesign.scss"; - @font-face { font-family: "iransans-medium"; src: url(./assets/fonts/IRANSansXFaNum-Regular.woff); @@ -14,6 +12,8 @@ src: url(./assets/fonts/IRANSansX-Bold.woff); } +@import "./components/productDesign/ProductDesign.scss"; + body { font-family: iransans-medium; direction: rtl;