88 NavigationMenuList ,
99} from "@/components/ui/navigation-menu" ;
1010import { ModeToggle } from "@/components/features/theme/mode-toggle" ;
11- import { Menu } from "lucide-react" ;
11+ import { Menu , Mail } from "lucide-react" ;
1212import { FaLinkedin } from "react-icons/fa" ;
1313import { SiGithub , SiInstagram } from "@icons-pack/react-simple-icons" ;
1414import Link from "next/link" ;
@@ -21,8 +21,10 @@ import { useState } from "react";
2121const navLinks = [
2222 { href : "/" , label : "Home" } ,
2323 { href : "/about-us" , label : "About Us" } ,
24- { href : "/event" , label : "Event" } ,
24+ { href : "/upcoming- event" , label : "Upcoming Event" } ,
2525 { href : "/blog" , label : "Blog" } ,
26+ { href : "/our-work" , label : "Our Work" } ,
27+ { href : "/resources" , label : "Resources" } ,
2628] ;
2729
2830export function Header ( ) {
@@ -35,7 +37,7 @@ export function Header() {
3537 >
3638 < div className = "sticky top-0 z-[var(--z-header)]" >
3739 < header className = "w-full border-b border-border/40 bg-background/80 backdrop-blur supports-[backdrop-filter]:bg-background/60" >
38- < div className = "container flex h-16 max-w-full items-center justify-between px-4 md :px-6" >
40+ < div className = "container flex h-16 max-w-full items-center justify-between px-4 lg :px-6" >
3941 < div className = "flex items-center gap-6" >
4042 < Link
4143 href = "/"
@@ -50,7 +52,7 @@ export function Header() {
5052 />
5153 < span className = "font-semibold" > ALPHA HKU</ span >
5254 </ Link >
53- < nav className = "hidden md :flex items-center gap-6 text-sm" >
55+ < nav className = "hidden lg :flex items-center gap-6 text-sm" >
5456 < NavigationMenu >
5557 < NavigationMenuList >
5658 { navLinks . map ( ( link ) => (
@@ -78,13 +80,7 @@ export function Header() {
7880 >
7981 Join Us
8082 </ a >
81- < a
82- href = { `mailto:${ siteConfig . email } ` }
83- className = "hidden sm:block"
84- >
85- Contact Us
86- </ a >
87- < div className = "hidden md:flex items-center gap-4" >
83+ < div className = "hidden lg:flex items-center gap-4" >
8884 < a
8985 href = { siteConfig . github }
9086 target = "_blank"
@@ -109,13 +105,19 @@ export function Header() {
109105 >
110106 < FaLinkedin size = { 18 } />
111107 </ a >
108+ < a
109+ href = { `mailto:${ siteConfig . email } ` }
110+ aria-label = "Email"
111+ >
112+ < Mail size = { 18 } />
113+ </ a >
112114 </ div >
113115 < ModeToggle />
114116 < CollapsibleTrigger asChild >
115117 < Button
116118 variant = "ghost"
117119 size = "icon"
118- className = "md :hidden"
120+ className = "lg :hidden"
119121 >
120122 < Menu className = "h-5 w-5" />
121123 < span className = "sr-only" > Toggle menu</ span >
@@ -138,7 +140,7 @@ export function Header() {
138140 className = "overflow-hidden"
139141 >
140142 < div className = "border-b border-t bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/80" >
141- < div className = "container px-4 md :px-6 py-4" >
143+ < div className = "container px-4 lg :px-6 py-4" >
142144 < nav className = "grid gap-4 text-sm" >
143145 { navLinks . map ( ( link ) => (
144146 < Link
@@ -161,12 +163,6 @@ export function Header() {
161163 >
162164 Join Us
163165 </ Link >
164- < a
165- href = { `mailto:${ siteConfig . email } ` }
166- className = "hover:text-foreground/80"
167- >
168- Contact Us
169- </ a >
170166 </ nav >
171167 </ div >
172168 </ div >
0 commit comments