{/* product image */}
{/* icons on image */}
-
+
{discountPricePercent && (
-
+
)}
{likeBtn && (
-
+
)}
- {discount && (
+ {/* {discount && (
- )}
+ )} */}
{/* play button */}
setOpenModal(true)}
>
{/* select Color */}
{productColor && (
-
+
{/* {colors.map((color,index))} */}
- {price}
تومان
+ {price}
+
تومان
{/* add to cart */}
@@ -224,7 +237,7 @@ const VodProduct = ({
-
@@ -261,9 +274,8 @@ const VodProduct = ({
-
- >
-
+
*/}
+ >
);
};
// hover:-translate-y-2
@@ -344,5 +356,5 @@ VodProduct.defaultProps = {
// دیفالتش باید این باشه:
// priceStarHolder: items-center
priceStarAlignment: "items-center",
- poster: watermelon
+ poster: watermelon,
};
diff --git a/src/components/VodProduct/videoImages/image-1.svg b/src/components/VodProduct/videoImages/image-1.svg
new file mode 100644
index 0000000..9a22221
--- /dev/null
+++ b/src/components/VodProduct/videoImages/image-1.svg
@@ -0,0 +1,8 @@
+
diff --git a/src/components/VodProduct/videoImages/image-2.svg b/src/components/VodProduct/videoImages/image-2.svg
new file mode 100644
index 0000000..9415e80
--- /dev/null
+++ b/src/components/VodProduct/videoImages/image-2.svg
@@ -0,0 +1,8 @@
+
diff --git a/src/components/VodProduct/videoImages/image-3.svg b/src/components/VodProduct/videoImages/image-3.svg
new file mode 100644
index 0000000..43b0b76
--- /dev/null
+++ b/src/components/VodProduct/videoImages/image-3.svg
@@ -0,0 +1,8 @@
+
diff --git a/src/components/VodProduct/videoImages/image-4.svg b/src/components/VodProduct/videoImages/image-4.svg
new file mode 100644
index 0000000..b677fd5
--- /dev/null
+++ b/src/components/VodProduct/videoImages/image-4.svg
@@ -0,0 +1,8 @@
+
diff --git a/src/components/VodProduct/videoImages/image-5.svg b/src/components/VodProduct/videoImages/image-5.svg
new file mode 100644
index 0000000..f6ab995
--- /dev/null
+++ b/src/components/VodProduct/videoImages/image-5.svg
@@ -0,0 +1,8 @@
+
diff --git a/src/components/VodProduct/videoImages/image-6.svg b/src/components/VodProduct/videoImages/image-6.svg
new file mode 100644
index 0000000..416b471
--- /dev/null
+++ b/src/components/VodProduct/videoImages/image-6.svg
@@ -0,0 +1,8 @@
+
diff --git a/src/router.js b/src/router.js
index 123c4cc..a0952c4 100644
--- a/src/router.js
+++ b/src/router.js
@@ -103,7 +103,7 @@ function Router({
qr: true,
title: false,
back: false,
- shown: true,
+ shown: isMobile ? true : false,
menu: false,
}}
/>
diff --git a/src/views/Auth/Desktop/index.js b/src/views/Auth/Desktop/index.js
index f991363..3eaa913 100644
--- a/src/views/Auth/Desktop/index.js
+++ b/src/views/Auth/Desktop/index.js
@@ -1,5 +1,6 @@
-import React, { useState } from "react";
+import React, { useState, useEffect } from "react";
import { connect } from "react-redux";
+import {publicApi} from '../../../redux/actions';
import { useNavigate } from "react-router-dom";
import SignUp from "../SignUp";
import Button from "../../../components/Button";
@@ -9,10 +10,14 @@ import logoIcon from "../SignUp/assets/logo.svg";
import bgImage from "./bg.svg";
import arrowIcon from "./back.svg";
-export const Desktop = ({}) => {
+export const Desktop = ({setHeaderOptions}) => {
const [phase, setPhase] = useState("manage");
const navigate = useNavigate();
+ useEffect(() => {
+ setHeaderOptions({show: false});
+ },[]);
+
const UserMangement = () => {
return (
{
const mapStateToProps = (state) => ({});
-const mapDispatchToProps = {};
+const mapDispatchToProps = {
+ setHeaderOptions: publicApi.setHeaderOptions,
+};
export default connect(mapStateToProps, mapDispatchToProps)(Desktop);
diff --git a/src/views/Home/Desktop/Part4/index.js b/src/views/Home/Desktop/Part4/index.js
index 2807ab6..fff797d 100644
--- a/src/views/Home/Desktop/Part4/index.js
+++ b/src/views/Home/Desktop/Part4/index.js
@@ -96,11 +96,13 @@ const Part4 = () => {
>