diff --git a/components/LandingPage/BetweenSexualSection/page.jsx b/components/LandingPage/BetweenSexualSection/page.jsx index 6624082..6d49c6e 100644 --- a/components/LandingPage/BetweenSexualSection/page.jsx +++ b/components/LandingPage/BetweenSexualSection/page.jsx @@ -30,10 +30,10 @@ const BetweenSexualSection = () => {

-

+ {/*

لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است -

+

*/}
{
-

بهداشت مصرفی و روزانه بانوان

+

+ بهداشت مصرفی و روزانه بانوان +

شروع خرید{" "} @@ -76,7 +78,9 @@ const BetweenSexualSection = () => { -

بهداشت مصرفی و روزانه آقایان

+

+ بهداشت مصرفی و روزانه آقایان +

شروع خرید{" "} diff --git a/components/LandingPage/HeroSection/page.jsx b/components/LandingPage/HeroSection/page.jsx index 6f79cea..b714d47 100644 --- a/components/LandingPage/HeroSection/page.jsx +++ b/components/LandingPage/HeroSection/page.jsx @@ -9,7 +9,7 @@ import shs from "../../../public/images/6.png"; const HeroSection = () => { return ( -

+

وسمه ، بُن مضـــــــــــارع زیبایی diff --git a/public/images/between.jpg b/public/images/between.jpg index 3365247..6a7e7ea 100644 Binary files a/public/images/between.jpg and b/public/images/between.jpg differ diff --git a/public/images/khane.jpg b/public/images/khane.jpg index 1d22b77..99566b8 100644 Binary files a/public/images/khane.jpg and b/public/images/khane.jpg differ diff --git a/src/app/login/page.jsx b/src/app/login/page.jsx index e718c56..598f1ad 100644 --- a/src/app/login/page.jsx +++ b/src/app/login/page.jsx @@ -55,6 +55,8 @@ const Login = () => { console.log(data); + localStorage.setItem("token", "Bearer " + data.access_token); + if (data.user.signUpStatus == 1) { setStepLogin(2); } else if (data.user.signUpStatus == 10) { @@ -63,7 +65,6 @@ const Login = () => { position: "bottom-right", closeOnClick: true, }); - localStorage.setItem("token", "Bearer " + data.access_token); router.push("/profile"); } @@ -92,6 +93,7 @@ const Login = () => { } ); + localStorage.removeItem("token"); CTX.setLoading(false); CTX.setProfile(data.user); if (data.user.signUpStatus == 10) { @@ -101,7 +103,7 @@ const Login = () => { position: "bottom-right", closeOnClick: true, }); - localStorage.setItem("token", data.access_token); + localStorage.setItem("token", "Bearer " + data.access_token); router.push("/profile"); } diff --git a/src/app/profile/page.jsx b/src/app/profile/page.jsx index 866a698..5b0e4cd 100644 --- a/src/app/profile/page.jsx +++ b/src/app/profile/page.jsx @@ -9,7 +9,7 @@ const Page = () => {
-
+ {/*
{ خرید ادامـــــه دارد
-
+
*/}

سفارش جاری