- Implemented canonical URL strategies for city-specific domains and entities. - Added helper functions for domain and city resolution. - Created tests for canonical URL generation and domain resolution. - Introduced entity quality checks for doctors and clinics to ensure meaningful content. - Developed unique introductory texts for listing pages to avoid duplicate content. - Established robots.txt policies for listing pages to manage indexing based on user filters. - Enhanced specialty content with dynamic introductions and FAQs to improve SEO.
17 lines
604 B
JavaScript
17 lines
604 B
JavaScript
import TextLoading from "@/app/component/loading/Text";
|
|
import React from "react";
|
|
|
|
// عنوان بخشها h2 است؛ فقط نام خود کلینیک h1 میگیرد (as="h1"). کلاسها یکسان — بدون تغییر بصری.
|
|
function ContentDetail({ head, children, as: Heading = "h2" }) {
|
|
return (
|
|
<div className="my-[24px]">
|
|
<TextLoading width={200} height={20}>
|
|
<Heading className="text-[#3B3B3B] text-[20px] font-bold">{head}</Heading>
|
|
</TextLoading>
|
|
<div className="mt-[16px]">{children}</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default ContentDetail;
|