ادامه کار روی ترجمه | 80

temp
mahdi 2 years ago
parent 453e99aed9
commit 4b55d73f8c
  1. 2
      src/views/Contact/index.js
  2. 4
      src/views/Contact/layouts/Ticket.js
  3. 29
      src/views/Dashboard/layouts/Main/Addresses/index.js
  4. 2
      src/views/Dashboard/layouts/Main/MyBooks/index.js
  5. 12
      src/views/Dashboard/layouts/Mobile/List.js
  6. 26
      src/views/Dashboard/layouts/Mobile/ProfileAddress/index.js
  7. 8
      src/views/Dashboard/layouts/Mobile/ProfileBookmark/index.js
  8. 4
      src/views/Dashboard/layouts/Mobile/Trophy.js
  9. 2
      src/views/Dashboard/layouts/Mobile/User.js
  10. 24
      src/views/Dashboard/layouts/SidebarMenu/index.js
  11. 32
      src/views/DeliveryForm/Address/index.js
  12. 4
      src/views/DeliveryForm/PaymentMethod/index.js
  13. 2
      src/views/DeliveryForm/TransportDate/index.js
  14. 2
      src/views/Products/layouts/Desktop/Main.js

@ -111,7 +111,7 @@ Contact.defaultProps = {
title: { text: window.t("شماره تماس"), color: "#06A02A" }, title: { text: window.t("شماره تماس"), color: "#06A02A" },
description: { description: {
text: window.t( text: window.t(
"در صورت هرگونه سوال شما میتوانید در ساعات اداری 9 الی 17 با شماره 021۸۸۸۱۴۶۳۷ تماس حاصل فرمایید" "در صورت هرگونه سوال شما میتوانید در ساعات اداری 9 الی 17 با شماره ۰۲۱۸۸۸۱۴۶۳۷ تماس حاصل فرمایید"
), ),
color: "#025816", color: "#025816",
}, },

@ -147,7 +147,7 @@ export const Ticket = ({
onChange={(name, value) => setTicket({ name, value })} onChange={(name, value) => setTicket({ name, value })}
value={ticket?.subject || ""} value={ticket?.subject || ""}
regex={(val) => val} regex={(val) => val}
placeholder={window.t("موضوع")} label={window.t("موضوع")}
/> />
<Textarea <Textarea
placeholder={window.t("پیام خود را اینجا بنویسید")} placeholder={window.t("پیام خود را اینجا بنویسید")}
@ -163,7 +163,7 @@ export const Ticket = ({
/> />
<br /> <br />
<Button <Button
placeholder={window.t("ارسال پیام")} title={window.t("ارسال پیام")}
backgroundColor={isDark ? "bg-blueC0" : "bg-blueC0"} backgroundColor={isDark ? "bg-blueC0" : "bg-blueC0"}
border={{ color: isDark ? "#ffffff55" : "#196EC055", width: "0px" }} border={{ color: isDark ? "#ffffff55" : "#196EC055", width: "0px" }}
width="100%" width="100%"

@ -63,7 +63,8 @@ const ProfileAddress = ({
border: `1px solid ${isDark ? "#DBDBDB22" : "#DBDBDB"}`, border: `1px solid ${isDark ? "#DBDBDB22" : "#DBDBDB"}`,
}} }}
> >
&nbsp;یک آدرس جدید اضافه کنید &nbsp;
{window.t("یک آدرس جدید اضافه کنید")}
<strong className="text-lg transform translate-y-0.5 mr-1">+</strong> <strong className="text-lg transform translate-y-0.5 mr-1">+</strong>
</button> </button>
</div> </div>
@ -116,7 +117,7 @@ const Location = ({
const delAddress = (id) => { const delAddress = (id) => {
setMenu(); setMenu();
setDialog({ setDialog({
text: "آدرس رو حذف کنیم؟", text: window.t("آدرس رو حذف کنیم؟"),
type: "confirm", type: "confirm",
accept: () => deleteAddress({ id }), accept: () => deleteAddress({ id }),
open: true, open: true,
@ -155,24 +156,30 @@ const Location = ({
{active && ( {active && (
<div className="w-full flex justify-between mb-3"> <div className="w-full flex justify-between mb-3">
<div className="flex items-center"> <div className="flex items-center">
<strong className="text-base">آدرس انتخابی شما</strong> <strong className="text-base">
<span className="mr-4 text-sm">فعال</span> {window.t("آدرس انتخابی شما")}
</strong>
<span className="mr-4 text-sm"> {window.t("فعال")}</span>
</div> </div>
</div> </div>
)} )}
<div className={`flex w-full ${active ? "" : "flex-row"}`}> <div className={`flex w-full ${active ? "" : "flex-row"}`}>
<div className="flex flex-col flex-1 mb-4"> <div className="flex flex-col flex-1 mb-4">
<span className="mb-2 leading-6"> <span className="mb-2 leading-6">
{"آدرس:" + " " + address.address} {`{window.t("آدرس")}` + " " + address.address}
</span> </span>
<span className="mb-2 leading-6"> <span className="mb-2 leading-6">
{"نام:" + " " + address.firstName + " " + address.lastName} {`{window.t("نام:")}` +
" " +
address.firstName +
" " +
address.lastName}
</span> </span>
<span className="mb-2 leading-6"> <span className="mb-2 leading-6">
{"کد پستی:" + " " + address.postalCode} {`{window.t("کد پستی:")}` + " " + address.postalCode}
</span> </span>
<span className="mb-2 leading-6"> <span className="mb-2 leading-6">
{"شماره تماس:" + " " + address.cellphone} {`{window.t("شماره تماس:")}` + " " + address.cellphone}
</span> </span>
</div> </div>
</div> </div>
@ -185,7 +192,7 @@ const Location = ({
className="w-full flex flex-row text-sm items-center justify-between px-2 py-1 rounded-sm cursor-pointer" className="w-full flex flex-row text-sm items-center justify-between px-2 py-1 rounded-sm cursor-pointer"
onClick={() => setMenu()} onClick={() => setMenu()}
> >
ویرایش {window.t("ویرایش")}
<img src={editButton} alt="edit-address" className="w-5 mr-3 " /> <img src={editButton} alt="edit-address" className="w-5 mr-3 " />
</Link> </Link>
<div <div
@ -193,13 +200,13 @@ const Location = ({
class="w-full flex flex-row items-center justify-between px-2 py-1 rounded-sm cursor-pointer" class="w-full flex flex-row items-center justify-between px-2 py-1 rounded-sm cursor-pointer"
onClick={() => delAddress(address.id)} onClick={() => delAddress(address.id)}
> >
<button class="text-sm ">حذف</button> <button class="text-sm ">{window.t("حذف")}</button>
<img src={trash} alt="delete-address" className="w-5 mr-3" /> <img src={trash} alt="delete-address" className="w-5 mr-3" />
</div> </div>
</div> </div>
</div> </div>
<Button <Button
title="مشاهده روی نقشه" title={window.t("مشاهده روی نقشه")}
backgroundColor={isDark ? "bg-blueC0" : "bg-blueC0"} backgroundColor={isDark ? "bg-blueC0" : "bg-blueC0"}
border={{ color: isDark ? "#ffffff55" : "#196EC055", width: "0px" }} border={{ color: isDark ? "#ffffff55" : "#196EC055", width: "0px" }}
width="100%" width="100%"

@ -50,7 +50,7 @@ export const MyBooks = ({ books, grades, isMobile }) => {
))} */} ))} */}
<div className="w-full scrolling-carousel mt-4 pb-2"> <div className="w-full scrolling-carousel mt-4 pb-2">
<p className="text-green7B font-bold text-2xl lg:text-base"> <p className="text-green7B font-bold text-2xl lg:text-base">
کتاب های من {window.t("کتاب های من")}
</p> </p>
<ScrollingCarousel className="py-3"> <ScrollingCarousel className="py-3">
{books?.map((book, index) => ( {books?.map((book, index) => (

@ -15,32 +15,32 @@ const List = ({ mobile }) => {
const pages = [ const pages = [
{ {
icon: <img src={userGreenIcon} alt="" />, icon: <img src={userGreenIcon} alt="" />,
name: "اطلاعات حساب کاربری", name: window.t("اطلاعات حساب کاربری"),
link: "/editProfile", link: "/editProfile",
}, },
{ {
icon: <img src={cartGreenIcon} />, icon: <img src={cartGreenIcon} />,
name: "سفارشات", name: window.t("سفارشات"),
link: "/Orders", link: "/Orders",
}, },
{ {
icon: <img src={bookGreenIcon} />, icon: <img src={bookGreenIcon} />,
name: "کتابهای من", name: window.t("کتابهای من"),
link: "/AR", link: "/AR",
}, },
{ {
icon: <img src={videoGreenIcon} />, icon: <img src={videoGreenIcon} />,
name: "دورههای من", name: window.t("دورههای من"),
link: "#", link: "#",
}, },
{ {
icon: <img src={bookmarkGreenIcon} />, icon: <img src={bookmarkGreenIcon} />,
name: "لیست علاقهمندیها", name: window.t("لیست علاقهمندیها"),
link: "/favorites", link: "/favorites",
}, },
{ {
icon: <img src={addressGreenIcon} />, icon: <img src={addressGreenIcon} />,
name: "آدرسها", name: window.t("آدرسها"),
link: "/addresses", link: "/addresses",
}, },
]; ];

@ -63,7 +63,7 @@ const ProfileAddress = ({
</div> </div>
</div> </div>
) : ( ) : (
<Empty text="هیچ آدرسی ثبت نشده :(" /> <Empty title={window.t("هیچ آدرسی ثبت نشده")} />
)} )}
<FloatingButton <FloatingButton
action={() => navigation("/createAddress", { state: { panel: true } })} action={() => navigation("/createAddress", { state: { panel: true } })}
@ -102,7 +102,7 @@ const Location = ({
const delAddress = (id) => { const delAddress = (id) => {
setMenu(); setMenu();
setDialog({ setDialog({
text: "آدرس رو حذف کنیم؟", text: window.t("آدرس رو حذف کنیم؟"),
type: "confirm", type: "confirm",
accept: () => deleteAddress({ id }), accept: () => deleteAddress({ id }),
open: true, open: true,
@ -140,7 +140,7 @@ const Location = ({
className="py-3 pr-2 pl-10 text-sm font-bold bg-blue-300" className="py-3 pr-2 pl-10 text-sm font-bold bg-blue-300"
onClick={() => setMenu()} onClick={() => setMenu()}
> >
ویرایش {window.t("ویرایش")}
</Link> </Link>
<button <button
className="py-3 pr-2 pl-10 border-none m-0 text-sm text-red19 font-bold" className="py-3 pr-2 pl-10 border-none m-0 text-sm text-red19 font-bold"
@ -154,9 +154,11 @@ const Location = ({
<div className={"w-full flex flex-row justify-between mb-3"}> <div className={"w-full flex flex-row justify-between mb-3"}>
<div className={"flex flex-row items-center"}> <div className={"flex flex-row items-center"}>
<strong className={"text-base font-bold text-gray1"}> <strong className={"text-base font-bold text-gray1"}>
آدرس انتخابی شما {window.t("آدرس انتخابی شما")}
</strong> </strong>
<span className={"text-xs text-gray1 mr-2.5"}>فعال</span> <span className={"text-xs text-gray1 mr-2.5"}>
{window.t("فعال")}
</span>
</div> </div>
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
@ -177,16 +179,20 @@ const Location = ({
<div className={`flex w-full ${active ? "" : "flex-row"}`}> <div className={`flex w-full ${active ? "" : "flex-row"}`}>
<div className={"flex flex-col flex-1 mb-4"}> <div className={"flex flex-col flex-1 mb-4"}>
<span className={"text-sm leading-6"}> <span className={"text-sm leading-6"}>
{"آدرس:" + " " + address.address} {`{window.t("آدرس:")}` + " " + address.address}
</span> </span>
<span className={"text-sm leading-6 mt-1.5"}> <span className={"text-sm leading-6 mt-1.5"}>
{"نام:" + " " + address.firstName + " " + address.lastName} {`{window.t("نام:")}` +
" " +
address.firstName +
" " +
address.lastName}
</span> </span>
<span className={"text-sm leading-6 mt-1.5"}> <span className={"text-sm leading-6 mt-1.5"}>
{"کد پستی:" + " " + address.postalCode} {`{window.t("کد پستی:")}` + " " + address.postalCode}
</span> </span>
<span className={"text-sm leading-6 mt-1.5"}> <span className={"text-sm leading-6 mt-1.5"}>
{"شماره تماس:" + " " + address.cellphone} {`{window.t("شماره تماس:")}` + " " + address.cellphone}
</span> </span>
</div> </div>
{!active && ( {!active && (
@ -207,7 +213,7 @@ const Location = ({
)} )}
</div> </div>
<Button <Button
title="مشاهده روی نقشه" title={window.t("مشاهده روی نقشه")}
backgroundColor={isDark ? "bg-transparent" : "bg-blueC0"} backgroundColor={isDark ? "bg-transparent" : "bg-blueC0"}
border={{ border={{
color: isDark ? "#ffffff55" : "#196EC055", color: isDark ? "#ffffff55" : "#196EC055",

@ -46,12 +46,12 @@ const ProfileBookmark = ({ bookmarkList, getList }) => {
backgroundColor: "white", backgroundColor: "white",
}} }}
> >
x x headerOptions=
headerOptions={{ {{
logo: false, logo: false,
menu: false, menu: false,
hamburgerMenu: false, hamburgerMenu: false,
title: "لیست علاقهمندیها", title: window.t("لیست علاقهمندیها"),
bookmark: false, bookmark: false,
qr: false, qr: false,
back: true, back: true,
@ -71,7 +71,7 @@ const ProfileBookmark = ({ bookmarkList, getList }) => {
</View> </View>
</ScrollView> </ScrollView>
) : ( ) : (
<Empty text="لیست علاقهمندیها خالی است." /> <Empty text={window.t("لیست علاقهمندیها خالی است.")} />
)} )}
</SafeAreaView> </SafeAreaView>
); );

@ -39,11 +39,11 @@ const Trophy = ({}) => {
</g> </g>
</svg> </svg>
<strong className="text-sm mr-2.5 text-green4F"> <strong className="text-sm mr-2.5 text-green4F">
{"امتیاز شما" + " " + 14560} {`{window.t("امتیاز شما")}` + " " + 14560}
</strong> </strong>
</div> </div>
<Link to="#" className="text-sm text-green4F"> <Link to="#" className="text-sm text-green4F">
مشاهده جوایز {window.t("مشاهده جوایز")}
</Link> </Link>
</div> </div>
); );

@ -52,7 +52,7 @@ const User = ({ user, mobile }) => {
className={`flex items-center w-full pb-3 mb-3 flex-row border-b border-solid border-gray-100`} className={`flex items-center w-full pb-3 mb-3 flex-row border-b border-solid border-gray-100`}
> >
<strong className="text-sm text-gray1"> <strong className="text-sm text-gray1">
افزودن حساب کاربری جدید {window.t("افزودن حساب کاربری جدید")}
</strong> </strong>
<span className="mr-1 mt-1 text-xl text-gray1">+</span> <span className="mr-1 mt-1 text-xl text-gray1">+</span>
</div> </div>

@ -91,42 +91,42 @@ const SidebarMenu = ({
const buttons = [ const buttons = [
{ {
icon: myBooksIcon, icon: myBooksIcon,
title: "کتاب های من", title: window.t("کتاب های من"),
onClick: () => setPage("mybooks"), onClick: () => setPage("mybooks"),
name: "mybooks", name: "mybooks",
}, },
{ {
icon: myVideosIcon, icon: myVideosIcon,
title: "ویدئوهای من", title: window.t("ویدئوهای من"),
onClick: () => setPage("myvideos"), onClick: () => setPage("myvideos"),
name: "myvideos", name: "myvideos",
}, },
{ {
icon: ordersIcon, icon: ordersIcon,
title: "سفارشات", title: window.t("سفارشات"),
onClick: () => setPage("orders"), onClick: () => setPage("orders"),
name: "orders", name: "orders",
}, },
{ {
icon: favoritesIcon, icon: favoritesIcon,
title: "علاقمندی ها", title: window.t("علاقمندی ها"),
onClick: () => setPage("favorites"), onClick: () => setPage("favorites"),
name: "favorites", name: "favorites",
}, },
{ {
icon: addressIcon, icon: addressIcon,
title: "آدرس ها", title: window.t("آدرس ها"),
onClick: () => setPage("addresses"), onClick: () => setPage("addresses"),
name: "addresses", name: "addresses",
}, },
{ icon: moon, title: "حالت شب", onClick: () => {}, name: "dark" }, { icon: moon, title: window.t("حالت شب"), onClick: () => {}, name: "dark" },
{ {
icon: logoutIcon, icon: logoutIcon,
title: "خروج از حساب کاربری", title: window.t("خروج از حساب کاربری"),
// onClick: () => logout(), // onClick: () => logout(),
onClick: () => onClick: () =>
setDialog({ setDialog({
text: "میخوای تنهامون بذاری؟", text: window.t("میخوای تنهامون بذاری؟"),
type: "confirm", type: "confirm",
accept: () => logout(), accept: () => logout(),
open: true, open: true,
@ -214,16 +214,16 @@ SidebarMenu.defaultProps = {
profile: { profile: {
name: "profile", name: "profile",
icon: userEdit, icon: userEdit,
title: "حساب کاربری", title: window.t("حساب کاربری"),
notification: null, notification: null,
list: [{ title: "ویرایش حساب کاربری", value: "profile" }], list: [{ title: window.t("ویرایش حساب کاربری"), value: "profile" }],
}, },
support: { support: {
name: "support", name: "support",
icon: sms, icon: sms,
title: "پشتیبانی", title: window.t("پشتیبانی"),
notification: null, notification: null,
list: [{ title: "ثبت نظر", value: "setTicket" }], list: [{ title: window.t("ثبت نظر"), value: window.t("setTicket") }],
}, },
}; };

@ -64,14 +64,14 @@ function Address({
style={{ border: "solid 1px #fca5a5" }} style={{ border: "solid 1px #fca5a5" }}
class="w-full flex flex-row items-center justify-between px-2 py-1 rounded-sm cursor-pointer" class="w-full flex flex-row items-center justify-between px-2 py-1 rounded-sm cursor-pointer"
> >
<button class="text-sm">حذف</button> <button class="text-sm">{window.t("حذف")}</button>
<img src={trash} alt="delete-address" className="w-5 mr-3" /> <img src={trash} alt="delete-address" className="w-5 mr-3" />
</div> </div>
<div <div
style={{ border: "solid 1px #12CF7F" }} style={{ border: "solid 1px #12CF7F" }}
class="w-full flex flex-row items-center justify-between px-2 py-1 rounded-sm cursor-pointer" class="w-full flex flex-row items-center justify-between px-2 py-1 rounded-sm cursor-pointer"
> >
<button class="text-sm">ویرایش</button> <button class="text-sm">{window.t("ویرایش")}</button>
<img src={editButton} alt="edit-address" className="w-5 mr-3 " /> <img src={editButton} alt="edit-address" className="w-5 mr-3 " />
</div> </div>
</div> </div>
@ -106,19 +106,23 @@ function Address({
)} )}
<div className="flex flex-col gap-y-2"> <div className="flex flex-col gap-y-2">
<li className="text-right text-tiny leading-6 text-blue52 dark:text-white"> <li className="text-right text-tiny leading-6 text-blue52 dark:text-white">
آدرس:&nbsp;{address.address} {window.t(" آدرس:")}
&nbsp;{address.address}
</li> </li>
<li className="text-right text-tiny leading-6 text-blue52 dark:text-white"> <li className="text-right text-tiny leading-6 text-blue52 dark:text-white">
کد پستی:&nbsp;{address.postalCode} {window.t("کد پستی:")}
&nbsp;{address.postalCode}
</li> </li>
</div> </div>
</div> </div>
<div className="flex flex-col"> <div className="flex flex-col">
<li className="text-right text-tiny leading-6 text-blue52 dark:text-white"> <li className="text-right text-tiny leading-6 text-blue52 dark:text-white">
نام تحویل گیرنده:&nbsp;{address.firstName + " " + address.lastName} {window.t("نام تحویل گیرنده:")}
&nbsp;{address.firstName + " " + address.lastName}
</li> </li>
<li className="text-right text-tiny leading-6 text-blue52 dark:text-white mt-3"> <li className="text-right text-tiny leading-6 text-blue52 dark:text-white mt-3">
شماره تماس:&nbsp;{address.cellphone} {window.t("شماره تماس:")}
&nbsp;{address.cellphone}
</li> </li>
</div> </div>
<div className="flex flex-col items-center gap-y-2"> <div className="flex flex-col items-center gap-y-2">
@ -126,14 +130,14 @@ function Address({
style={{ border: "solid 1px #fca5a5" }} style={{ border: "solid 1px #fca5a5" }}
class="w-full flex flex-row items-center justify-between px-2 py-1 rounded-sm cursor-pointer" class="w-full flex flex-row items-center justify-between px-2 py-1 rounded-sm cursor-pointer"
> >
<button class="text-sm">حذف</button> <button class="text-sm">{window.t("حذف")}</button>
<img src={trash} alt="delete-address" className="w-5 mr-3" /> <img src={trash} alt="delete-address" className="w-5 mr-3" />
</div> </div>
<div <div
style={{ border: "solid 1px #12CF7F" }} style={{ border: "solid 1px #12CF7F" }}
class="w-full flex flex-row items-center justify-between px-2 py-1 rounded-sm cursor-pointer" class="w-full flex flex-row items-center justify-between px-2 py-1 rounded-sm cursor-pointer"
> >
<button class="text-sm">ویرایش</button> <button class="text-sm">{window.t("ویرایش")}</button>
<img src={editButton} alt="edit-address" className="w-5 mr-3 " /> <img src={editButton} alt="edit-address" className="w-5 mr-3 " />
</div> </div>
</div> </div>
@ -148,7 +152,7 @@ function Address({
return isMobile ? ( return isMobile ? (
<section className="mt-2 w-full"> <section className="mt-2 w-full">
<strong className="font-bold text-green7B dark:text-white lg:text-tiny"> <strong className="font-bold text-green7B dark:text-white lg:text-tiny">
انتخاب آدرس {window.t("انتخاب آدرس")}
</strong> </strong>
<ul className="list-none p-0 m-0 flex flex-col gap-y-3"> <ul className="list-none p-0 m-0 flex flex-col gap-y-3">
{addresses.map((address, index) => ( {addresses.map((address, index) => (
@ -169,14 +173,17 @@ function Address({
border: `1px solid ${isDark ? "#DBDBDB22" : "#DBDBDB"}`, border: `1px solid ${isDark ? "#DBDBDB22" : "#DBDBDB"}`,
}} }}
> >
&nbsp;یک آدرس جدید اضافه کنید &nbsp;
{window.t("یک آدرس جدید اضافه کنید")}
<strong className="text-lg transform translate-y-0.5 mr-1">+</strong> <strong className="text-lg transform translate-y-0.5 mr-1">+</strong>
</button> </button>
</div> </div>
</section> </section>
) : ( ) : (
<section className="mt-0.5 w-full"> <section className="mt-0.5 w-full">
<strong className="font-medium dark:text-white">انتخاب آدرس</strong> <strong className="font-medium dark:text-white">
{window.t("انتخاب آدرس")}
</strong>
<ul className="list-none p-0 m-0 flex flex-col gap-y-2"> <ul className="list-none p-0 m-0 flex flex-col gap-y-2">
{addresses.map((address, index) => ( {addresses.map((address, index) => (
<Location <Location
@ -196,7 +203,8 @@ function Address({
border: `1px solid ${isDark ? "#DBDBDB22" : "#DBDBDB"}`, border: `1px solid ${isDark ? "#DBDBDB22" : "#DBDBDB"}`,
}} }}
> >
&nbsp;یک آدرس جدید اضافه کنید &nbsp;
{window.t("یک آدرس جدید اضافه کنید")}
<strong className="text-lg transform translate-y-0.5 mr-1">+</strong> <strong className="text-lg transform translate-y-0.5 mr-1">+</strong>
</button> </button>
</div> </div>

@ -19,7 +19,9 @@ function PaymentMethods({ paymentMethods }) {
}; };
return ( return (
<section className="mt-8"> <section className="mt-8">
<strong className="font-medium dark:text-white text-base">انتخاب شیوه پرداخت</strong> <strong className="font-medium dark:text-white text-base">
{window.t("انتخاب شیوه پرداخت")}
</strong>
<ul className="list-none p-0 m-0 flex flex-row justify-between flex-wrap"> <ul className="list-none p-0 m-0 flex flex-row justify-between flex-wrap">
{paymentMethods.map((method, index) => ( {paymentMethods.map((method, index) => (
<Method method={method} key={index} /> <Method method={method} key={index} />

@ -50,7 +50,7 @@ function TransportDate({ transportDate, isMobile }) {
activeDate === time ? "text-green7B" : "text-blue52" activeDate === time ? "text-green7B" : "text-blue52"
}`} }`}
> >
تکمیل ظرفیت {window.t("تکمیل ظرفیت")}
</span> </span>
)} )}
</button> </button>

@ -267,7 +267,7 @@ export const Main = ({
{pages.map((e) => ( {pages.map((e) => (
<div <div
className={`w-8 p-2 text-sm text-center rounded-md text-green7B cursor-pointer transform translate ${ className={`w-8 p-2 text-sm text-center rounded-md text-green7B cursor-pointer transform translate ${
pages ? "bg-red-400" : "bg-blue-600" page === true ? "bg-red-400" : "bg-blue-600"
}`} }`}
onClick={() => setPage(e)} onClick={() => setPage(e)}
> >

Loading…
Cancel
Save