qr support and cancel order text
parent
304c0fb2b7
commit
11c0a3adad
|
@ -2,6 +2,7 @@ import Image from "next/image";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import logo from "../../public/images/logo.png";
|
import logo from "../../public/images/logo.png";
|
||||||
import bale from "@img/bale.png";
|
import bale from "@img/bale.png";
|
||||||
|
import qrs from "@img/qrs.jpg";
|
||||||
|
|
||||||
const Footer = () => {
|
const Footer = () => {
|
||||||
return (
|
return (
|
||||||
|
@ -179,7 +180,7 @@ const Footer = () => {
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div className="lg:flex ltr lg:justify-between mt-5 ">
|
<div className="lg:flex ltr lg:justify-between mt-5 ">
|
||||||
<div className=" flex flex-wrap mx-auto xs:justify-center lg:justify-end xs:ml-0 ">
|
<div className=" flex mx-auto xs:justify-center lg:justify-end xs:ml-0 ">
|
||||||
<div className="bg-white w-[100px] h-[100px] rounded-3xl mx-2 xs:mt-3 lg:mt-0">
|
<div className="bg-white w-[100px] h-[100px] rounded-3xl mx-2 xs:mt-3 lg:mt-0">
|
||||||
<a
|
<a
|
||||||
referrerpolicy="origin"
|
referrerpolicy="origin"
|
||||||
|
@ -195,7 +196,25 @@ const Footer = () => {
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div className="bg-white w-[100px] h-[100px] rounded-3xl mx-2 xs:mt-3 lg:mt-0"></div>
|
<div className="rounded-3xl mx-2 xs:mt-5 lg:mt-0 flex ">
|
||||||
|
<div>
|
||||||
|
<Image
|
||||||
|
src={qrs}
|
||||||
|
className="xs:w-[70px] lg:w-[100px] xs:h-[70px] lg:h-[100px] "
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div className="mx-2">
|
||||||
|
<h4 className=" xs:text-sm lg:text-lg font-bold">
|
||||||
|
پشتیبانی فروش وسمه
|
||||||
|
</h4>
|
||||||
|
<p className="mb-0 text-gray-500 text-[11px]">
|
||||||
|
پشتیبانی 24 ساعته
|
||||||
|
</p>
|
||||||
|
<p className="mb-0 text-gray-500 text-[11px]">
|
||||||
|
هر روز هفته
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex xs:justify-center lg:justify-normal rtl xs:mt-5 lg:mt-0">
|
<div className="flex xs:justify-center lg:justify-normal rtl xs:mt-5 lg:mt-0">
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
|
@ -120,19 +120,31 @@ const Page = () => {
|
||||||
/>
|
/>
|
||||||
</td>
|
</td>
|
||||||
<td className="px-4 py-3">-</td>
|
<td className="px-4 py-3">-</td>
|
||||||
<td className="px-4 py-3 text-green-500 font-medium">
|
<td
|
||||||
|
className={`px-4 py-3 ${
|
||||||
|
e.orderStatus == 500
|
||||||
|
? "text-red-800"
|
||||||
|
: "text-green-500"
|
||||||
|
} text-green-500 font-medium`}
|
||||||
|
>
|
||||||
{getStatusDescription(e.orderStatus)}
|
{getStatusDescription(e.orderStatus)}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td className="px-4 py-3 text-green-500 font-medium">
|
<td className="px-4 py-3 text-green-500 font-medium">
|
||||||
<button
|
{e.orderStatus == 500 ? (
|
||||||
className="btn btn-outline-primary !py-1 rounded-xl text-sm"
|
"---"
|
||||||
onClick={() => handleSubmit(e.orderStatus, e.id)}
|
) : (
|
||||||
>
|
<button
|
||||||
{e.orderStatus == 0
|
className="btn btn-outline-primary !py-1 rounded-xl text-sm"
|
||||||
? "ثبت سفارش"
|
onClick={() =>
|
||||||
: " مشاهده سفارش"}
|
handleSubmit(e.orderStatus, e.id)
|
||||||
</button>{" "}
|
}
|
||||||
|
>
|
||||||
|
{e.orderStatus == 0
|
||||||
|
? "ثبت سفارش"
|
||||||
|
: " مشاهده سفارش"}
|
||||||
|
</button>
|
||||||
|
)}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
) : (
|
) : (
|
||||||
|
|
Loading…
Reference in New Issue