diff --git a/src/views/Blog/index.js b/src/views/Blog/index.js index 1fd229e..80950d5 100644 --- a/src/views/Blog/index.js +++ b/src/views/Blog/index.js @@ -48,14 +48,15 @@ export const Blog = ({ />
-
+
@@ -95,13 +96,13 @@ export const Blog = ({ }} >
-
+
{blog?.title} {/* desktop */}
-
+
{" "} + size={60} + />
{window.t("نوشته از:") + " " + blog?.author?.name} -

+

{blog?.author.role}

diff --git a/src/views/Blogs/layouts/New.js b/src/views/Blogs/layouts/New.js index 83029fa..e956714 100644 --- a/src/views/Blogs/layouts/New.js +++ b/src/views/Blogs/layouts/New.js @@ -24,24 +24,24 @@ export const New = ({ blog, isMobile, setActive }) => { minWidth: isMobile ? "calc(100vh / 5 * 4.5 / 3)" : "", }} /> - + {blog?.title} -
-
- {!blog?.author.picFileId && } - {blog?.author.picFileId && ( - author - )} +
+
{`{window.t("نوشته از:")}` + " " + `${blog?.author.name}`} diff --git a/src/views/Blogs/layouts/Single.js b/src/views/Blogs/layouts/Single.js index c3994bf..e9e39fd 100644 --- a/src/views/Blogs/layouts/Single.js +++ b/src/views/Blogs/layouts/Single.js @@ -24,15 +24,16 @@ export const Single = ({ blog, isMobile }) => { />
-
- {!blog?.author.picFileId && } - {blog?.author.picFileId && ( - author - )} +
+
{window.t("نوشته از:")} @@ -67,15 +68,16 @@ export const Single = ({ blog, isMobile }) => {
{!isMobile && (
-
- {!blog?.author.picFileId && } - {blog?.author.picFileId && ( - author - )} +
+
{window.t("نوشته از:")} diff --git a/src/views/Blogs/layouts/Target.js b/src/views/Blogs/layouts/Target.js index 926f7a7..8410e65 100644 --- a/src/views/Blogs/layouts/Target.js +++ b/src/views/Blogs/layouts/Target.js @@ -23,15 +23,16 @@ export const Target = ({ blogs, isMobile }) => { {blog?.title}
-
- {!blog?.author.picFileId && } - {blog?.author.picFileId && ( - author - )} +
+
{window.t("نوشته از:" + " " + `${blog?.author.name}`)} @@ -41,15 +42,15 @@ export const Target = ({ blogs, isMobile }) => {

-
- +
+ {window.t("زمان مطالعه:") + " " + `${blog?.duration}` + " " + window.t("دقیقه")} - + {moment(blog?.updatedAt).locale("fa").format("YYYY/MM/DD")}
@@ -71,15 +72,16 @@ export const Target = ({ blogs, isMobile }) => { {blog?.title}
-
- {!blog?.author.picFileId && } - {blog?.author.picFileId && ( - author - )} +
+
{window.t("نوشته از:" + " " + `${blog?.author.name}`)} diff --git a/src/views/Dashboard/layouts/Mobile/Trophy.js b/src/views/Dashboard/layouts/Mobile/Trophy.js index d42c6bc..bb42372 100644 --- a/src/views/Dashboard/layouts/Mobile/Trophy.js +++ b/src/views/Dashboard/layouts/Mobile/Trophy.js @@ -39,7 +39,7 @@ const Trophy = ({}) => { - {`{window.t("امتیاز شما")}` + " " + 14560} + {`${window.t("امتیاز شما")}` + " " + 14560}
diff --git a/src/views/ShoppingCart/index.js b/src/views/ShoppingCart/index.js index bc9b29b..053ee47 100644 --- a/src/views/ShoppingCart/index.js +++ b/src/views/ShoppingCart/index.js @@ -232,7 +232,7 @@ function ShoppingCart({