- Removed the newly added city-focused section from the homepage. - Fixed 404 error for Persian slugs in specialties and blog pages by implementing a decode helper. - Removed the "مخصوص شهر" label from article headers. - Linked article tags to their respective filter pages. - Adjusted related content images to prevent distortion. - Added a section in the "About Us" page for physician registration guidance. - Updated the logo in the "About Us" header to the correct version. - Added tests for the new functionality and ensured existing tests are updated accordingly.
18 lines
552 B
JavaScript
18 lines
552 B
JavaScript
import Detail from "./detail";
|
|
import Head from "./head";
|
|
import RelatedContent from "./relatedContent";
|
|
|
|
function BlogPage({ blog, blogs }) {
|
|
return (
|
|
<div className="padding-responsive pt-[84px] sm:pt-[110px] md:pt-[140px] lg:pt-[168px]">
|
|
<Head data={blog} />
|
|
<div className="flex flex-col gap-y-[32px] lg:flex-row items-start justify-center gap-[24px] mt-[16px] sm:mt-[19px] md:mt-[21px] lg:mt-[24px]">
|
|
<Detail data={blog} />
|
|
<RelatedContent data={blogs} />
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default BlogPage;
|