From dc650ecd9d24211f07ec88765d8de0c376632d44 Mon Sep 17 00:00:00 2001 From: Pkpedram Date: Sat, 12 Feb 2022 15:42:07 +0330 Subject: [PATCH] Books Component Made --- src/components/Product/index.js | 35 +++++++++++++++++++++++++++++++++ src/view/services/index.js | 2 +- tailwind.config.js | 4 +++- 3 files changed, 39 insertions(+), 2 deletions(-) diff --git a/src/components/Product/index.js b/src/components/Product/index.js index 2494dc8..19d4c3f 100644 --- a/src/components/Product/index.js +++ b/src/components/Product/index.js @@ -235,6 +235,41 @@ const ProductDesign = ({ ) } + if(catId == 4){ + return ( +
+ + + + +
+

کتاب {productName}

+

+ در این قسمت یک توضیحات کوتاه در مورد دوره خواهد آمد که بصورت دو خط در این قسمت قرار می‌گیرد +

+
+ + + +
+

{productPrice} تومان

+
+ +
+ +
+ + + +
+ ) + } else{ return
} diff --git a/src/view/services/index.js b/src/view/services/index.js index af61d5f..a5eee64 100644 --- a/src/view/services/index.js +++ b/src/view/services/index.js @@ -384,7 +384,7 @@ const Services = ({ classHour: 21, classMinute: 56, }); - setPopUp(true); + if(gameId == 1){setPopUp(true);} }} > {/* {console.log(product)} */} diff --git a/tailwind.config.js b/tailwind.config.js index 15fc487..0307642 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -31,7 +31,9 @@ module.exports = { red82OP: 'rgba(223, 20, 82, 0.08)', pinkF5: '#fff1f5', black40: '#404040', - green17 : '#8daf17' + green17 : '#8daf17', + blue5F : '#05335f', + blue7E : '#15517e' }, }, screens: {