diff --git a/src/components/Layouts/Header.tsx b/src/components/Layouts/Header.tsx index 1d48c45..573a71e 100644 --- a/src/components/Layouts/Header.tsx +++ b/src/components/Layouts/Header.tsx @@ -3,9 +3,11 @@ import React, { useState } from "react"; import Link from "next/link"; import Image from "next/image"; +import { usePathname } from "next/navigation"; const Header = () => { const [isMenuOpen, setIsMenuOpen] = useState(false); + const pathname = usePathname(); const closeAllMenus = () => { setIsMenuOpen(false); @@ -25,78 +27,98 @@ const Header = () => { return (
-
-
- {/* Left Logo */} -
- -
- CMC Logo -
- -
- - {/* Desktop Navigation */} - - - {/* Right side - Logo with Batch ID and Mobile Menu Button */} -
- {/* Right Logo with Batch ID */} -
-
- Batch Logo -
- - H-2024-1431 -
- {/* Mobile menu button */} + {/* Right Logo with Batch ID */} +
+
+
+ Batch Logo +
+ + H-2024-1431 + +
+
+
+
+
+ + {/* Bottom section with menu */} +
+
+
+ {/* Desktop Navigation */} + + + {/* Mobile menu button - More visible */}
- {/* Mobile Menu */} + {/* Mobile Menu Dropdown */} {isMenuOpen && ( -
-