diff --git a/components/AppsComponent/CartData/page.jsx b/components/AppsComponent/CartData/page.jsx index 874500f..41299ba 100644 --- a/components/AppsComponent/CartData/page.jsx +++ b/components/AppsComponent/CartData/page.jsx @@ -121,7 +121,7 @@ const CartData = () => { )?.toLocaleString() : 0 } - style={"!text-[14px] !font-semibold text-primary-800"} + style={"!text-[14px] !font-medium text-primary-800"} />
diff --git a/components/AppsComponent/CheckoutData/page.jsx b/components/AppsComponent/CheckoutData/page.jsx index b2b6a8d..6ef132f 100644 --- a/components/AppsComponent/CheckoutData/page.jsx +++ b/components/AppsComponent/CheckoutData/page.jsx @@ -83,13 +83,14 @@ const CheckoutData = () => { }; const handleGoPayment = async () => { + const token = localStorage.getItem("token"); try { const data = await Chapar.post( `${process.env.NEXT_PUBLIC_API_URL}/order/bag/payment/${checkOutData?.id}?paymentMethod=1`, { headers: { - Authorization: localStorage.getItem("token"), + Authorization: token, }, } ); @@ -132,7 +133,7 @@ const CheckoutData = () => {آدس ها
+آدس ها
زمان و نحوه ارسال
+زمان و نحوه ارسال
روش پرداخت
+روش پرداخت
حساب نهایی
+حساب نهایی
{/*مشاهده اقلام
@@ -377,7 +378,7 @@ const CheckoutData = () => { number={( checkOutData?.totalProductsPrice / 10 )?.toLocaleString()} - style={"!text-[14px] !font-semibold"} + style={"!text-[14px] !font-medium"} /> @@ -396,7 +397,7 @@ const CheckoutData = () => { number={( checkOutData?.discountPrice / 10 )?.toLocaleString()} - style={"!text-[14px] !font-semibold"} + style={"!text-[14px] !font-medium"} /> @@ -417,7 +418,7 @@ const CheckoutData = () => { number={( checkOutData?.packingPrice / 10 )?.toLocaleString()} - style={"!text-[14px] !font-semibold"} + style={"!text-[14px] !font-medium"} /> @@ -436,7 +437,7 @@ const CheckoutData = () => { number={( checkOutData?.deliveryPrice / 10 )?.toLocaleString()} - style={"!text-[14px] !font-semibold"} + style={"!text-[14px] !font-medium"} /> @@ -447,7 +448,7 @@ const CheckoutData = () => {+
قابل پرداخت
diff --git a/components/AppsComponent/ProductData/page.jsx b/components/AppsComponent/ProductData/page.jsx index de5974a..15323f4 100644 --- a/components/AppsComponent/ProductData/page.jsx +++ b/components/AppsComponent/ProductData/page.jsx @@ -70,7 +70,7 @@ const ProductData = ({ params }) => {{product?.englishName}{" "}
diff --git a/plugins/MovingLogos/page.jsx b/plugins/MovingLogos/page.jsx index 0f859f0..056d004 100644 --- a/plugins/MovingLogos/page.jsx +++ b/plugins/MovingLogos/page.jsx @@ -8,6 +8,7 @@ import logobrand3 from "../../public/images/logobrand/3.png"; import logobrand4 from "../../public/images/logobrand/4.png"; import logobrand5 from "../../public/images/logobrand/5.png"; import logobrand6 from "../../public/images/logobrand/6.png"; +import logobrand7 from "../../public/images/logobrand/7.png"; // import styles from "./MovingLogos.module.css"; @@ -17,22 +18,28 @@ const MovingLogos = () => { { id: 2, logo: logobrand4 }, { id: 3, logo: logobrand3 }, { id: 4, logo: logobrand6 }, - { id: 1, logo: logobrand5 }, - { id: 2, logo: logobrand4 }, - { id: 3, logo: logobrand3 }, - { id: 4, logo: logobrand2 }, - { id: 1, logo: logobrand5 }, - { id: 2, logo: logobrand4 }, - { id: 3, logo: logobrand3 }, - { id: 4, logo: logobrand6 }, - { id: 1, logo: logobrand5 }, - { id: 2, logo: logobrand4 }, - { id: 3, logo: logobrand6 }, - { id: 4, logo: logobrand2 }, - { id: 1, logo: logobrand5 }, - { id: 2, logo: logobrand4 }, - { id: 3, logo: logobrand3 }, - { id: 4, logo: logobrand2 }, + { id: 5, logo: logobrand5 }, + { id: 6, logo: logobrand4 }, + { id: 7, logo: logobrand3 }, + { id: 8, logo: logobrand2 }, + { id: 9, logo: logobrand5 }, + { id: 10, logo: logobrand4 }, + { id: 11, logo: logobrand3 }, + { id: 12, logo: logobrand6 }, + { id: 13, logo: logobrand5 }, + { id: 14, logo: logobrand4 }, + { id: 15, logo: logobrand6 }, + { id: 16, logo: logobrand2 }, + { id: 17, logo: logobrand7 }, + { id: 18, logo: logobrand4 }, + { id: 19, logo: logobrand3 }, + { id: 20, logo: logobrand2 }, + { id: 21, logo: logobrand7 }, + { id: 22, logo: logobrand4 }, + { id: 23, logo: logobrand3 }, + { id: 24, logo: logobrand5 }, + { id: 25, logo: logobrand2 }, + { id: 26, logo: logobrand7 }, ]; useEffect(() => { diff --git a/public/images/between.jpg b/public/images/between.jpg index 50e0527..3365247 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 9431b8c..1d22b77 100644 Binary files a/public/images/khane.jpg and b/public/images/khane.jpg differ diff --git a/public/images/logobrand/5.png b/public/images/logobrand/5.png index 6aa8333..9792e68 100644 Binary files a/public/images/logobrand/5.png and b/public/images/logobrand/5.png differ diff --git a/public/images/logobrand/7.png b/public/images/logobrand/7.png new file mode 100644 index 0000000..573146c Binary files /dev/null and b/public/images/logobrand/7.png differ diff --git a/src/app/purchase-callback/page.jsx b/src/app/purchase-callback/page.jsx index 3270af4..efd8656 100644 --- a/src/app/purchase-callback/page.jsx +++ b/src/app/purchase-callback/page.jsx @@ -1,4 +1,5 @@ "use client"; +import Link from "next/link"; import { useSearchParams } from "next/navigation"; const Page = () => { @@ -7,11 +8,11 @@ const Page = () => { const paymentStatus = params.get("paymentStatus"); const factorNumber = params.get("factorNumber"); - console.log(paymentStatus); + console.log("paymentStatus", paymentStatus); return ( <> - {!paymentStatus ? ( + {paymentStatus === "true" ? (میتونید با مراجعه به پنل گفتینو یا در صفحه تماس با ما با تیم پشتیبانی ما در تماس باشید