title change emaildelete
This commit is contained in:
@@ -8,7 +8,6 @@ function Detail({ data }) {
|
||||
detail={`ساعت کاری: ${data.hours_of_work}`}
|
||||
/>
|
||||
<ContentDetail head="تلفن: " detail={`${data.phone_number}`} />
|
||||
<ContentDetail head="ایمیل:" detail={data.email} />
|
||||
<ContentDetail head="آدرس: " detail={data.location} />
|
||||
</ul>
|
||||
);
|
||||
|
||||
@@ -10,7 +10,7 @@ import Tabs from "@/app/component/Tabs";
|
||||
const listTab = ["درباره کلینیک", "اطلاعات تماس", "پزشک ها"];
|
||||
|
||||
function ClinicPage({ data, doctors }) {
|
||||
const [value, setValue] = useState(2);
|
||||
const [value, setValue] = useState(0);
|
||||
const handleChange = (_, newValue) => setValue(newValue);
|
||||
|
||||
const Components = [
|
||||
|
||||
@@ -31,11 +31,13 @@ function ItemClinic({ setFilteredClinics, data, loading }) {
|
||||
/>
|
||||
</CircularLoading>
|
||||
<div className="flex flex-col items-start justify-center gap-2">
|
||||
<TextLoading loading={loading} width={100} height={18}>
|
||||
<h3 className="text-[#3B3B3B] text-[14px] font-bold">
|
||||
{data.title}
|
||||
</h3>
|
||||
</TextLoading>
|
||||
<Link href={`/clinic/${data.uuid}`}>
|
||||
<TextLoading loading={loading} width={100} height={18}>
|
||||
<h3 className="text-[#3B3B3B] text-[14px] font-bold">
|
||||
{data.title}
|
||||
</h3>
|
||||
</TextLoading>
|
||||
</Link>
|
||||
<TextLoading loading={loading} width={60} height={18}>
|
||||
<p className="text-[#7E7E7E] text-[14px] font-normal">
|
||||
{data.doctors} پزشک
|
||||
|
||||
Reference in New Issue
Block a user