update src/views/404/index.js, src/views/About/index.js, src/views/Address/index.js and src/views/Dashboard/layouts/Main/Addresses/index.js

temp
mahdi 2 years ago
parent 267c9d39dd
commit a536b31e77
  1. 2
      src/views/404/index.js
  2. 4
      src/views/About/index.js
  3. 2
      src/views/Address/index.js

@ -22,7 +22,7 @@ function NotFound({ setHeaderOptions, isMobile }) {
</h1> </h1>
<img src={notFoundImage} alt="404" className="mt-10" /> <img src={notFoundImage} alt="404" className="mt-10" />
<p className="text-base dark:text-white mt-12 leading-7"> <p className="text-base dark:text-white mt-12 leading-7">
اوه!! {window.t("اوه!!")}
<br /> <br />
{window.t("دوست من، اشتباه اومدی")} {window.t("دوست من، اشتباه اومدی")}
</p> </p>

@ -69,7 +69,7 @@ function About({
</div> </div>
</div> </div>
<div className="about__fury--left flex items-center"> <div className="about__fury--left flex items-center">
<img src={aboutLg} alt="عکس" /> <img src={aboutLg} alt={window.t("عکس")} />
{/* {this.props.absoluteImages.map((item, i) => ( {/* {this.props.absoluteImages.map((item, i) => (
<img src={item.imageUrl} className={item.class} alt="عکس" /> <img src={item.imageUrl} className={item.class} alt="عکس" />
))} */} ))} */}
@ -77,7 +77,7 @@ function About({
</div> </div>
<div className="about__advantages flex"> <div className="about__advantages flex">
<div className="about__advantages--right flex"> <div className="about__advantages--right flex">
<img src={pic} alt={"عکس"} /> <img src={pic} alt={window.t("مزیت رقابتی")} />
</div> </div>
<div className="about__advantages--left"> <div className="about__advantages--left">
<h1>{advantages.title}</h1> <h1>{advantages.title}</h1>

@ -306,7 +306,7 @@ export const Address = ({
<div className="flex flex-col w-full lg:w-1/2"> <div className="flex flex-col w-full lg:w-1/2">
<Input <Input
width="100%" width="100%"
label={"ادرس انتخاب شده در نقشه"} label={window.t("مزیت رقابتی")}
regex={(val) => onInput.numberOnly(val)} regex={(val) => onInput.numberOnly(val)}
name="address" name="address"
onChange={(name, value) => setMapAddress(value)} onChange={(name, value) => setMapAddress(value)}

Loading…
Cancel
Save