From f55a506ea5cd4f1d2b57c625baf132a6a0eae31a Mon Sep 17 00:00:00 2001 From: mukeshs Date: Wed, 12 Nov 2025 09:20:24 +0530 Subject: [PATCH] Team and service update --- src/components/Layouts/Header.tsx | 162 ++++++++++++-------- src/components/about/StatisticsTiles.tsx | 76 +++++---- src/components/faculty/TeamListing.tsx | 62 ++++++-- src/components/faculty/TeamMemberDetail.tsx | 19 ++- 4 files changed, 195 insertions(+), 124 deletions(-) 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 && ( -
-