feat(doctor): enhance doctor page with specialty links and dynamic breadcrumb

This commit is contained in:
hamed
2026-06-21 11:55:36 +03:30
parent 704a514542
commit 7462e69641
3 changed files with 32 additions and 9 deletions
+10 -3
View File
@@ -1,3 +1,4 @@
import Link from "next/link";
import { convertTimestampToJalali } from "@/helper";
function Head({ data }) {
@@ -7,9 +8,15 @@ function Head({ data }) {
return (
<div>
<div className="flex items-center justify-start gap-1">
<p className="text-[#9B9B9B] text-[11px] sm:text-[13px] md:text-[15px] lg:text-[16px] font-normal">
بلاگ {">"}
</p>
<Link
href="/blogs"
className="text-[#9B9B9B] text-[11px] sm:text-[13px] md:text-[15px] lg:text-[16px] font-normal hover:text-[#525252]"
>
بلاگ
</Link>
<span className="text-[#9B9B9B] text-[11px] sm:text-[13px] md:text-[15px] lg:text-[16px] font-normal">
{">"}
</span>
{firstTag && (
<>
<p className="text-[#9B9B9B] text-[11px] sm:text-[13px] md:text-[15px] lg:text-[16px] font-normal">