@@ -78,18 +78,17 @@ function DesktopNavbar({ pathname, navItems }: DesktopNavbarProps) {
7878 ) }
7979 </ ChakraLink >
8080
81- { navItems . map ( ( item , index ) => {
81+ { navItems . map ( ( item ) => {
8282 const isActive = pathname === item . href ;
83- const isWIP = index >= navItems . length - 1 ; // Last two items
8483 return (
8584 < ChakraLink
8685 key = { item . href }
87- href = { isWIP ? "#" : item . href }
86+ href = { item . href }
8887 as = { Link }
89- color = { isWIP ? "gray.400" : isActive ? "white" : "gray.800" }
88+ color = { isActive ? "white" : "gray.800" }
9089 fontWeight = "500"
9190 fontSize = "md"
92- bg = { isActive && ! isWIP ? "ctc.purple" : "transparent" }
91+ bg = { isActive ? "ctc.purple" : "transparent" }
9392 borderRadius = "full"
9493 px = { 4 }
9594 py = { 2 }
@@ -115,17 +114,17 @@ function DesktopNavbar({ pathname, navItems }: DesktopNavbarProps) {
115114 opacity : 0 ,
116115 } }
117116 _hover = { {
118- color : isWIP ? "gray.400" : isActive ? "white" : "ctc.purple" ,
119- bg : isActive && ! isWIP ? "ctc.purple" : "transparent" ,
117+ color : isActive ? "white" : "ctc.purple" ,
118+ bg : isActive ? "ctc.purple" : "transparent" ,
120119 _before : {
121- transform : isWIP || isActive ? "scale(0)" : "scale(1)" ,
122- opacity : isWIP || isActive ? 0 : 1 ,
120+ transform : isActive ? "scale(0)" : "scale(1)" ,
121+ opacity : isActive ? 0 : 1 ,
123122 } ,
124123 } }
125124 transition = "color 0.3s ease-out"
126125 textDecoration = "none"
127126 whiteSpace = "nowrap"
128- cursor = { isWIP ? "not-allowed" : "pointer" }
127+ cursor = { "pointer" }
129128 >
130129 { item . label }
131130 </ ChakraLink >
0 commit comments