diff --git a/src/components/layout/Header.jsx b/src/components/layout/Header.jsx
index a35b05e..a3a7172 100644
--- a/src/components/layout/Header.jsx
+++ b/src/components/layout/Header.jsx
@@ -124,7 +124,7 @@ const Header = () => {
{serviceLinks.map((service) => (
-
-
+
{service.name}
@@ -137,7 +137,7 @@ const Header = () => {
{industryLinks.map((industry) => (
-
-
+
{industry.name}
diff --git a/src/components/layout/MobileNav.jsx b/src/components/layout/MobileNav.jsx
index f7136c4..1cd4fdc 100644
--- a/src/components/layout/MobileNav.jsx
+++ b/src/components/layout/MobileNav.jsx
@@ -1,9 +1,10 @@
import { Sheet, SheetContent, SheetTrigger } from '@/components/ui/Sheet'
import { useState } from 'react'
-import { Link } from 'react-router-dom'
+import { Link, useLocation } from 'react-router-dom'
const MobileNav = () => {
const [isOpen, setIsOpen] = useState(false)
+ const location = useLocation()
const primaryLinks = [
{ name: 'Home', href: '/' },
@@ -33,6 +34,8 @@ const MobileNav = () => {
setIsOpen(false)
}
+ const isActive = (href) => location.pathname === href
+
return (
@@ -75,7 +78,7 @@ const MobileNav = () => {
{link.name}
@@ -93,7 +96,7 @@ const MobileNav = () => {
{service.name}
@@ -111,7 +114,7 @@ const MobileNav = () => {
{industry.name}