handle active list header links
This commit is contained in:
@@ -3,7 +3,7 @@ import Layout from "@/components/layout/StLayout";
|
||||
|
||||
function AboutUs() {
|
||||
return (
|
||||
<Layout>
|
||||
<Layout name='/about-us'>
|
||||
<AboutUsPage />
|
||||
</Layout>
|
||||
);
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ import Layout from "@/components/layout/StLayout";
|
||||
|
||||
function Blogs() {
|
||||
return (
|
||||
<Layout>
|
||||
<Layout name='/blogs'>
|
||||
<BlogsPage />
|
||||
</Layout>
|
||||
);
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ import Layout from "@/components/layout/StLayout";
|
||||
|
||||
function Clinics() {
|
||||
return (
|
||||
<Layout>
|
||||
<Layout name='/clinics'>
|
||||
<ClinicsPage />
|
||||
</Layout>
|
||||
);
|
||||
|
||||
@@ -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
@@ -3,7 +3,7 @@ import Layout from "@/components/layout/StLayout";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<Layout>
|
||||
<Layout name='/'>
|
||||
<HomePage />
|
||||
</Layout>
|
||||
);
|
||||
|
||||
@@ -3,7 +3,7 @@ import SpecialtiesPage from "@/components/specialties";
|
||||
|
||||
function Specialties() {
|
||||
return (
|
||||
<Layout title="تخصص ها" name="specialties">
|
||||
<Layout name="/specialties">
|
||||
<SpecialtiesPage />
|
||||
</Layout>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user