{translate(
@@ -118,7 +141,8 @@ function PaymentForm({
setIsPaymentModalOpen(true)}
+ // onClick={() => setIsPaymentModalOpen(true)}
+ onClick={() => showCreditCardForm()}
>
Credit / Debit Card
diff --git a/src/components/PalmistryV1/images/SVG/Darkness/index.tsx b/src/components/PalmistryV1/images/SVG/Darkness/index.tsx
new file mode 100644
index 0000000..3cf37ce
--- /dev/null
+++ b/src/components/PalmistryV1/images/SVG/Darkness/index.tsx
@@ -0,0 +1,17 @@
+function DarknessSVG() {
+ return (
+
+
+ );
+}
+
+export default DarknessSVG;
diff --git a/src/components/PalmistryV1/images/SVG/Light/index.tsx b/src/components/PalmistryV1/images/SVG/Light/index.tsx
new file mode 100644
index 0000000..3958a9b
--- /dev/null
+++ b/src/components/PalmistryV1/images/SVG/Light/index.tsx
@@ -0,0 +1,15 @@
+function LightSVG() {
+ return (
+
+ );
+}
+
+export default LightSVG;
diff --git a/src/components/PalmistryV1/pages/ElementResonates/index.tsx b/src/components/PalmistryV1/pages/ElementResonates/index.tsx
index 3f3ee23..ad677de 100644
--- a/src/components/PalmistryV1/pages/ElementResonates/index.tsx
+++ b/src/components/PalmistryV1/pages/ElementResonates/index.tsx
@@ -18,6 +18,8 @@ import { ELottieKeys, useLottie } from "@/hooks/lottie/useLottie";
import { IAnswersSessionPalmistry } from "@/api/resources/Session";
import { useSession } from "@/hooks/session/useSession";
import { ESourceAuthorization } from "@/api/resources/User";
+import DarknessSVG from "../../images/SVG/Darkness";
+import LightSVG from "../../images/SVG/Light";
function ElementResonates() {
const { translate } = useTranslations(ELocalesPlacement.PalmistryV1);
@@ -35,6 +37,11 @@ function ElementResonates() {
Icon: JSX.Element;
}[] = useMemo(
() => [
+ {
+ id: "air",
+ title: translate("/element-resonates.answer3"),
+ Icon:
,
+ },
{
id: "water",
title: translate("/element-resonates.answer1"),
@@ -45,16 +52,21 @@ function ElementResonates() {
title: translate("/element-resonates.answer2"),
Icon:
,
},
- {
- id: "air",
- title: translate("/element-resonates.answer3"),
- Icon:
,
- },
{
id: "earth",
title: translate("/element-resonates.answer4"),
Icon:
,
},
+ {
+ id: "light",
+ title: translate("/element-resonates.answer5"),
+ Icon:
,
+ },
+ {
+ id: "darkness",
+ title: translate("/element-resonates.answer6"),
+ Icon:
,
+ },
],
[translate]
);
diff --git a/src/components/PalmistryV1/pages/FavoriteColor/index.tsx b/src/components/PalmistryV1/pages/FavoriteColor/index.tsx
index 07fdbaa..7194b9b 100644
--- a/src/components/PalmistryV1/pages/FavoriteColor/index.tsx
+++ b/src/components/PalmistryV1/pages/FavoriteColor/index.tsx
@@ -46,16 +46,6 @@ function FavoriteColor() {
title: translate("/favorite-color.answer2"),
color: "#20C63B",
},
- {
- id: "orange",
- title: translate("/favorite-color.answer3"),
- color: "#EFA006",
- },
- {
- id: "violet",
- title: translate("/favorite-color.answer4"),
- color: "#7B29E4",
- },
{
id: "red",
title: translate("/favorite-color.answer5"),
@@ -66,6 +56,21 @@ function FavoriteColor() {
title: translate("/favorite-color.answer6"),
color: "#E4DD29",
},
+ {
+ id: "violet",
+ title: translate("/favorite-color.answer4"),
+ color: "#7B29E4",
+ },
+ // {
+ // id: "orange",
+ // title: translate("/favorite-color.answer3"),
+ // color: "#EFA006",
+ // },
+ {
+ id: "turquoise",
+ title: translate("/favorite-color.answer7"),
+ color: "#00C6C6",
+ },
],
[translate]
);
diff --git a/src/components/PalmistryV1/pages/FindHappiness/index.tsx b/src/components/PalmistryV1/pages/FindHappiness/index.tsx
index c705664..a3902a0 100644
--- a/src/components/PalmistryV1/pages/FindHappiness/index.tsx
+++ b/src/components/PalmistryV1/pages/FindHappiness/index.tsx
@@ -8,7 +8,7 @@ import { ELocalesPlacement } from "@/locales";
import { useDispatch } from "react-redux";
import { useEffect } from "react";
import { actions } from "@/store";
-import StarSVG from "../../images/SVG/Star";
+// import StarSVG from "../../images/SVG/Star";
import { usePreloadImages } from "@/hooks/preload/images";
function FindHappiness() {
@@ -32,7 +32,7 @@ function FindHappiness() {
return (
<>
-
+ {/*
@@ -49,7 +49,7 @@ function FindHappiness() {
- {translate("/find-your-happiness.point4")}
-
+
*/}

{translate("/find-your-happiness.title")}
-
-
+
+
+ -
+ {translate("/find-your-happiness.advantage1")}
+
+ -
+ {translate("/find-your-happiness.advantage2")}
+
+ -
+ {translate("/find-your-happiness.advantage3")}
+
+
-
+
+
+
+
{translate("/find-your-happiness.text")}
>
diff --git a/src/components/PalmistryV1/pages/FindHappiness/styles.module.scss b/src/components/PalmistryV1/pages/FindHappiness/styles.module.scss
index 557a4e5..e3e7350 100644
--- a/src/components/PalmistryV1/pages/FindHappiness/styles.module.scss
+++ b/src/components/PalmistryV1/pages/FindHappiness/styles.module.scss
@@ -55,3 +55,23 @@
-webkit-backdrop-filter: blur(2px);
backdrop-filter: blur(2px);
}
+
+.advantages {
+ width: 100%;
+ text-align: center;
+ margin: 16px 0;
+ display: flex;
+ flex-direction: column;
+ gap: 8px;
+}
+
+.list {
+ list-style: disc;
+ padding-left: 20px;
+ margin: 0;
+ text-align: left;
+}
+
+.list li {
+ margin-bottom: 8px;
+}
\ No newline at end of file
diff --git a/src/components/PalmistryV1/pages/GenderPalmistry/index.tsx b/src/components/PalmistryV1/pages/GenderPalmistry/index.tsx
index 38aa46d..5c65287 100644
--- a/src/components/PalmistryV1/pages/GenderPalmistry/index.tsx
+++ b/src/components/PalmistryV1/pages/GenderPalmistry/index.tsx
@@ -4,7 +4,7 @@ import { useDispatch, useSelector } from "react-redux";
import { actions, selectors } from "@/store";
import { Gender } from "@/data";
import PrivacyPolicy from "@/components/pages/ABDesign/v1/components/PrivacyPolicy";
-import Toast from "@/components/pages/ABDesign/v1/components/Toast";
+// import Toast from "@/components/pages/ABDesign/v1/components/Toast";
import { useTranslations } from "@/hooks/translations";
import { ELocalesPlacement } from "@/locales";
import { useCallback, useEffect, useState } from "react";
@@ -28,7 +28,6 @@ function GenderPalmistry() {
const { checked: privacyPolicyChecked } = useSelector(
selectors.selectPrivacyPolicy
);
- console.log(privacyPolicyChecked);
const { gender } = useSelector(selectors.selectQuestionnaire);
const [isSelected, setIsSelected] = useState(false);
@@ -84,7 +83,9 @@ function GenderPalmistry() {
{translate("/gender.title")}
-
{translate("/gender.description")}
+
{translate("/gender.description", {
+ br:
,
+ })}
{/*
*/}
@@ -98,11 +99,11 @@ function GenderPalmistry() {
))}
- {gender && !privacyPolicyChecked && (
+ {/* {gender && !privacyPolicyChecked && (
{translate("/gender.toast", undefined, ELocalesPlacement.V1)}
- )}
+ )} */}
>
);
}
diff --git a/src/components/PalmistryV1/pages/GenderPalmistry/styles.module.scss b/src/components/PalmistryV1/pages/GenderPalmistry/styles.module.scss
index 92280b1..0922519 100644
--- a/src/components/PalmistryV1/pages/GenderPalmistry/styles.module.scss
+++ b/src/components/PalmistryV1/pages/GenderPalmistry/styles.module.scss
@@ -14,6 +14,10 @@
max-width: 302px;
}
+.leftAlign {
+ text-align: left;
+}
+
.privacy-policy {
max-width: 316px;
margin-top: 26px;
diff --git a/src/components/PalmistryV1/pages/HeadOrHeart/index.tsx b/src/components/PalmistryV1/pages/HeadOrHeart/index.tsx
index 30026c0..4e291a3 100644
--- a/src/components/PalmistryV1/pages/HeadOrHeart/index.tsx
+++ b/src/components/PalmistryV1/pages/HeadOrHeart/index.tsx
@@ -49,6 +49,10 @@ function HeadOrHeart() {
id: "both",
title: translate("/head-or-heart.answer3"),
},
+ {
+ id: "depends",
+ title: translate("/head-or-heart.answer4"),
+ },
],
[translate]
);
diff --git a/src/components/PalmistryV1/pages/HeadOrHeartResult/index.tsx b/src/components/PalmistryV1/pages/HeadOrHeartResult/index.tsx
index 645bcc0..7e15a8a 100644
--- a/src/components/PalmistryV1/pages/HeadOrHeartResult/index.tsx
+++ b/src/components/PalmistryV1/pages/HeadOrHeartResult/index.tsx
@@ -1,6 +1,6 @@
-import { ELottieKeys, useLottie } from "@/hooks/lottie/useLottie";
+// import { ELottieKeys, useLottie } from "@/hooks/lottie/useLottie";
import styles from "./styles.module.scss";
-import { DotLottieReact } from "@lottiefiles/dotlottie-react";
+// import { DotLottieReact } from "@lottiefiles/dotlottie-react";
import Title from "@/components/Title";
import { useTranslations } from "@/hooks/translations";
import { ELocalesPlacement } from "@/locales";
@@ -11,20 +11,22 @@ import Button from "../../components/Button";
import { useNavigate } from "react-router-dom";
import routes from "@/routes";
-const animations = {
- both: ELottieKeys.scalesNeutralPalmistry,
- heart: ELottieKeys.scalesHeartPalmistry,
- head: ELottieKeys.scalesHeadPalmistry,
-};
+// const animations = {
+// both: ELottieKeys.scalesNeutralPalmistry,
+// heart: ELottieKeys.scalesHeartPalmistry,
+// head: ELottieKeys.scalesHeadPalmistry,
+// depends: ELottieKeys.scalesNeutralPalmistry,
+// };
function HeadOrHeartResult() {
const navigate = useNavigate();
const { translate } = useTranslations(ELocalesPlacement.V1);
const { headOrHeart } = useSelector(selectors.selectPalmistryV1Answers);
+ const { gender } = useSelector(selectors.selectQuestionnaire);
- const { animationData } = useLottie({
- loadKey: animations[headOrHeart as keyof typeof animations],
- });
+ // const { animationData } = useLottie({
+ // loadKey: animations[headOrHeart as keyof typeof animations],
+ // });
const birthdate = useSelector(selectors.selectBirthdate);
const zodiacSign = getZodiacSignByDate(birthdate);
@@ -40,7 +42,7 @@ function HeadOrHeartResult() {
return (
-
+ {/*
{animationData && (
)}
-
+
*/}
{headOrHeart === "both" &&
translate("/both.title", {
@@ -61,6 +63,7 @@ function HeadOrHeartResult() {
{translate(`zodiac_signs.${zodiacSign?.toLowerCase()}`)}
),
+ gender: translate(gender?.toLowerCase()).toLowerCase()
})}
{headOrHeart === "head" &&
translate("/with-head.title", {
@@ -69,6 +72,7 @@ function HeadOrHeartResult() {
{translate(`zodiac_signs.${zodiacSign?.toLowerCase()}`)}
),
+ gender: translate(gender?.toLowerCase()).toLowerCase()
})}
{headOrHeart === "heart" &&
translate("/with-heart.title", {
@@ -77,7 +81,18 @@ function HeadOrHeartResult() {
{translate(`zodiac_signs.${zodiacSign?.toLowerCase()}`)}
),
+ gender: translate(gender?.toLowerCase()).toLowerCase()
})}
+ {headOrHeart === "depends" &&
+ translate("/depends.title", {
+ zodiacSign: (
+
+ {translate(`zodiac_signs.${zodiacSign?.toLowerCase()}`)}
+
+ ),
+ gender: translate(gender?.toLowerCase()).toLowerCase()
+ })
+ }