- 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.
27 lines
694 B
JavaScript
27 lines
694 B
JavaScript
// Components
|
|
import Image from "next/image";
|
|
import SearchBar from "./search";
|
|
import TextHeader from "./TextHeader";
|
|
import FrequentSearches from "./FrequentSearches";
|
|
|
|
function HomePage() {
|
|
return (
|
|
<div className="bg-banner-home after:z-[2] md:!min-h-[115vh]">
|
|
<Image
|
|
src="/assets/images/banner-home.png"
|
|
alt=""
|
|
fill
|
|
priority
|
|
className="!object-cover !object-bottom -z-10"
|
|
/>
|
|
<div className="padding-responsive z-20 min-h-screen py-[120px] flex items-center justify-center flex-col gap-[40px]">
|
|
<TextHeader />
|
|
<SearchBar />
|
|
<FrequentSearches />
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default HomePage;
|