master
mahdi 2 years ago
parent 7417df6b7c
commit 6a98f0a86f
  1. 2
      src/components/Design2D/index.js
  2. 4
      src/components/ProductStatusCard/index.js
  3. 2
      src/views/Home/Desktop/index.js
  4. 6
      src/views/Video/index.js

@ -3,7 +3,7 @@ import React from "react";
const Design2D = ({ array }) => { const Design2D = ({ array }) => {
return ( return (
<section <section
className="flex items-center justify-around" className="flex items-center justify-around p-2 bg-red-400"
style={{ height: "420px" }} style={{ height: "420px" }}
> >
{array.map((item, index) => ( {array.map((item, index) => (

@ -113,7 +113,7 @@ const ProductStatusCard = ({
onClick={() => addToFavorite({ [bookmark]: location.getId() })} onClick={() => addToFavorite({ [bookmark]: location.getId() })}
/> />
<span className="mr-3 text-sm"> <span className="mr-3 text-sm">
اضافه کردن به لیست علاقه مندی ها {window.t("اضافه کردن به لیست علاقه مندی ها")}
</span> </span>
</div> </div>
)} )}
@ -135,7 +135,7 @@ const ProductStatusCard = ({
{" " + {" " +
separate(price - offerPrice) + separate(price - offerPrice) +
" " + " " +
"${`window.t(تومان)`}"} `${window.t("تومان")}`}
</span> </span>
{window.t("صرفه جویی کنید")} {window.t("صرفه جویی کنید")}
</p> </p>

@ -71,7 +71,7 @@ const DesktopHome = ({ grades, books }) => {
const mapStateToProps = (state) => ({ const mapStateToProps = (state) => ({
isDark: state.publicApi.isDark, isDark: state.publicApi.isDark,
isMobile: state.config.device === 'mobile', isMobile: state.config.device === "mobile",
books: state.book.list, books: state.book.list,
gradeFilterBooks: state.book.gradeFilterBooks, gradeFilterBooks: state.book.gradeFilterBooks,
selectedGrade: state.book.selectedGrade, selectedGrade: state.book.selectedGrade,

@ -191,7 +191,11 @@ function Video({
</div> </div>
<div className="bg-grayF9 w-full flex flex-col rounded-md divide-y divide-solid divide-gray-200 mb-4 px-4"> <div className="bg-grayF9 w-full flex flex-col rounded-md divide-y divide-solid divide-gray-200 mb-4 px-4">
<div className="flex items-center w-full gap-5 my-5"> <div className="flex items-center w-full gap-5 my-5">
<img src={"/assets/icons/tick-circle.svg"} alt="" className="w-9" /> <img
src={"/assets/icons/tick-circle.svg"}
alt=""
className="w-9"
/>
<p className="text-blue52 text-sm font-light">{`${window.t( <p className="text-blue52 text-sm font-light">{`${window.t(
"توصیه خرید توسط" "توصیه خرید توسط"
)} ${book?.product[2]?.suggestedCounter} ${window.t("نفر")}`}</p> )} ${book?.product[2]?.suggestedCounter} ${window.t("نفر")}`}</p>

Loading…
Cancel
Save