handel filter clinic and added changenumber function

This commit is contained in:
Arezoo
2025-10-21 13:31:44 +03:30
parent e8754fda35
commit 2cbf96ec6f
14 changed files with 171 additions and 72 deletions
+2 -2
View File
@@ -9,14 +9,14 @@ import Tabs from "@/app/component/Tabs";
const listTab = ["درباره کلینیک", "اطلاعات تماس", "پزشک ها"];
function ClinicPage({ data, doctors }) {
function ClinicPage({ data, doctors,slug }) {
const [value, setValue] = useState(0);
const handleChange = (_, newValue) => setValue(newValue);
const Components = [
<About data={data} />,
<Contact data={data} />,
<Doctors doctors={doctors} />,
<Doctors doctors={doctors} slug={slug} />,
];
return (