diff --git a/src/components/NumOfGuestsEmployees/index.js b/src/components/NumOfGuestsEmployees/index.js new file mode 100644 index 0000000..a5cdf65 --- /dev/null +++ b/src/components/NumOfGuestsEmployees/index.js @@ -0,0 +1,39 @@ +import React from 'react' + +const NumOfGuestsEmployees = ({items}) => { + return ( +
+ {items.map((item,i) => ( +
+
+

{item.name}

+ {item.number} نفر +
+
+ ))} +
+ ) +} + +export default NumOfGuestsEmployees + +NumOfGuestsEmployees.defaultProps = { + items: [ + { + name: "تعداد کارمندان محترم", + number: "259", + }, + { + name: "تعداد مهمانان محترم", + number: "569", + }, + // { + // name: "ظرفیت باقیمانده کارمندان محترم", + // number: "5", + // }, + // { + // name: "ظرفیت باقیمانده مهمانان محترم", + // number: "6", + // }, + ] +} \ No newline at end of file diff --git a/src/components/ReligiousTimes/index.js b/src/components/ReligiousTimes/index.js index 80cef38..c0d5b90 100644 --- a/src/components/ReligiousTimes/index.js +++ b/src/components/ReligiousTimes/index.js @@ -11,7 +11,7 @@ import React from 'react' const ReligiousTimes = ({hours}) => { return ( -
+
{hours.map((hour,index) => (
diff --git a/src/components/productDesign/ProductDesign.js b/src/components/productDesign/ProductDesign.js index a26e785..cb4dc5e 100644 --- a/src/components/productDesign/ProductDesign.js +++ b/src/components/productDesign/ProductDesign.js @@ -318,5 +318,5 @@ ProductDesign.defaultProps = { productTitleAlignment: "text-justify", //میتونیم تعیین کنیم که قیمت و دکمه اضاف به سبد خرید کنار یکدیگر باشند یا زیر هم - priceDirection: "flex-row", + priceDirection: "flex-col", };