handle active list header links

This commit is contained in:
Ehsan
2025-05-12 23:04:52 +03:30
parent 405c66d100
commit de1f307574
9 changed files with 15 additions and 19 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import Layout from "@/components/layout/StLayout";
function AboutUs() {
return (
<Layout>
<Layout name='/about-us'>
<AboutUsPage />
</Layout>
);
+1 -1
View File
@@ -3,7 +3,7 @@ import Layout from "@/components/layout/StLayout";
function Blogs() {
return (
<Layout>
<Layout name='/blogs'>
<BlogsPage />
</Layout>
);
+1 -1
View File
@@ -3,7 +3,7 @@ import Layout from "@/components/layout/StLayout";
function Clinics() {
return (
<Layout>
<Layout name='/clinics'>
<ClinicsPage />
</Layout>
);
+1 -1
View File
@@ -3,7 +3,7 @@ import Layout from "@/components/layout/StLayout";
function ContactUs() {
return (
<Layout title="تماس با ما" name="contact-us">
<Layout name="/contact-us">
<ContactUsPage />
</Layout>
);
+1 -1
View File
@@ -3,7 +3,7 @@ import Layout from "@/components/layout/StLayout";
export default function Home() {
return (
<Layout>
<Layout name='/'>
<HomePage />
</Layout>
);
+1 -1
View File
@@ -3,7 +3,7 @@ import SpecialtiesPage from "@/components/specialties";
function Specialties() {
return (
<Layout title="تخصص ها" name="specialties">
<Layout name="/specialties">
<SpecialtiesPage />
</Layout>
);