diff --git a/components/layout/Menu.js b/components/layout/Menu.js index ec46343..aab6f85 100644 --- a/components/layout/Menu.js +++ b/components/layout/Menu.js @@ -2,66 +2,75 @@ import Link from "next/link"; import { usePathname } from "next/navigation"; export default function Menu() { - const pathname = usePathname(); - const isActive = (path) => path === pathname; - const isHomeLinkActive = () => { - return homeLinks.some((link) => link.path === pathname) ? 1 : 0; - }; - const isAboutLinkActive = () => { - return aboutLinks.some((link) => link.path === pathname) ? 1 : 0; - }; - const isServicesLinkActive = () => { - return servicesLinks.some((link) => link.path === pathname) ? 1 : 0; - }; - const isPagesLinkActive = () => { - return pagesLinks.some((link) => link.path === pathname) ? 1 : 0; - }; - const isBlogLinkActive = () => { - return blogLinks.some((link) => link.path === pathname) ? 1 : 0; - }; + const pathname = usePathname(); + const isActive = (path) => path === pathname; + const isHomeLinkActive = () => { + return homeLinks.some((link) => link.path === pathname) ? 1 : 0; + }; + const isAboutLinkActive = () => { + return aboutLinks.some((link) => link.path === pathname) ? 1 : 0; + }; + const isServicesLinkActive = () => { + return servicesLinks.some((link) => link.path === pathname) ? 1 : 0; + }; + const isPagesLinkActive = () => { + return pagesLinks.some((link) => link.path === pathname) ? 1 : 0; + }; + const isBlogLinkActive = () => { + return blogLinks.some((link) => link.path === pathname) ? 1 : 0; + }; - return ( - <> - + + ); } diff --git a/components/layout/MobileMenu.js b/components/layout/MobileMenu.js index b107249..2014d9c 100644 --- a/components/layout/MobileMenu.js +++ b/components/layout/MobileMenu.js @@ -51,11 +51,11 @@ export default function MobileMenu({ handleMobileMenu }) { portfolio -
  • + {/*
  • our team -
  • + */}
  • SEO checker diff --git a/components/layout/footer/Footer2.js b/components/layout/footer/Footer2.js index ef8ea56..fee259e 100644 --- a/components/layout/footer/Footer2.js +++ b/components/layout/footer/Footer2.js @@ -1,131 +1,230 @@ -import Link from "next/link" +import Link from "next/link"; export default function Footer2() { - return ( - <> - + + ); } diff --git a/components/layout/footer/Footer3.js b/components/layout/footer/Footer3.js index b0c8f0d..63a00f7 100644 --- a/components/layout/footer/Footer3.js +++ b/components/layout/footer/Footer3.js @@ -117,9 +117,9 @@ export default function Footer3() {
  • Blog
  • -
  • + {/*
  • Our Team -
  • + */}
  • Portfolio