update src/views/Blog/index.js

temp
mahdi 2 years ago
parent 82a3724818
commit 2ebb445867
  1. 18
      src/views/Blog/index.js

@ -55,19 +55,19 @@ export const Blog = ({
<Avatar size={40} /> <Avatar size={40} />
<div className="flex flex-col py-2 mr-2 justify-center"> <div className="flex flex-col py-2 mr-2 justify-center">
<strong className="text-gray-300 text-tiny font-bold"> <strong className="text-gray-300 text-tiny font-bold">
{"نوشته از:" + " " + "کامران ایزدی"} {window.t("نوشته از:" + " " + "کامران ایزدی")}
</strong> </strong>
<p className="text-gray-300 mt-2 text-xs"> <p className="text-gray-300 mt-2 text-xs">
{"سردبیر بخش وبلاگ دانوین"} {window.t("سردبیر بخش وبلاگ دانوین")}
</p> </p>
</div> </div>
</div> </div>
<div className="flex flex-col justify-center items-end"> <div className="flex flex-col justify-center items-end">
<span className="text-gray-300 text-sm"> <span className="text-gray-300 text-sm">
{"زمان مطالعه" + " " + "۳۰ دقیقه"} {window.t("زمان مطالعه" + " " + "۳۰ دقیقه")}
</span> </span>
<span className="mt-2 text-gray-300 text-sm font-bold"> <span className="mt-2 text-gray-300 text-sm font-bold">
{"1400/11/24"} {window.t("1400/11/24")}
</span> </span>
</div> </div>
</div> </div>
@ -97,19 +97,19 @@ export const Blog = ({
<Avatar size={60} /> <Avatar size={60} />
<div className="flex flex-col py-2 mr-2 justify-center"> <div className="flex flex-col py-2 mr-2 justify-center">
<strong className="lg:text-base lg:font-black text-gray1"> <strong className="lg:text-base lg:font-black text-gray1">
{"نوشته از:" + " " + "کامران ایزدی"} {window.t("نوشته از:" + " " + "کامران ایزدی")}
</strong> </strong>
<p className="lg:text-sm lg:font-semibold text-gray70 mt-2"> <p className="lg:text-sm lg:font-semibold text-gray70 mt-2">
{"سردبیر بخش وبلاگ دانوین"} {window.t("سردبیر بخش وبلاگ دانوین")}
</p> </p>
</div> </div>
</div> </div>
<div className="flex flex-col justify-center items-end"> <div className="flex flex-col justify-center items-end">
<span className="lg:text-tiny text-gray1 lg:font-black"> <span className="lg:text-tiny text-gray1 lg:font-black">
{"زمان مطالعه" + " " + "۳۰ دقیقه"} {window.t("زمان مطالعه" + " " + "۳۰ دقیقه")}
</span> </span>
<span className="mt-2 lg:text-tiny text-gray1 lg:font-black"> <span className="mt-2 lg:text-tiny text-gray1 lg:font-black">
{"1400/11/24"} {window.t("1400/11/24")}
</span> </span>
</div> </div>
</div> </div>
@ -119,7 +119,7 @@ export const Blog = ({
className="leading-8 lg:text-base text-sm dark:text-white" className="leading-8 lg:text-base text-sm dark:text-white"
dangerouslySetInnerHTML={{ __html: blog?.text }} dangerouslySetInnerHTML={{ __html: blog?.text }}
/> />
<Header title={"پیشنهادی "} /> <Header title={window.t("پیشنهادی")} />
{isMobile ? ( {isMobile ? (
<div className="w-full flex overflow-x-scroll no-scrollbar gap-4"> <div className="w-full flex overflow-x-scroll no-scrollbar gap-4">
{blogs.map((blog, index) => ( {blogs.map((blog, index) => (

Loading…
Cancel
Save