File tree Expand file tree Collapse file tree
part7/extended-bloglist-frontend/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 Spacer ,
88 Link ,
99 Text ,
10- useColorModeValue ,
1110 HStack ,
1211} from "@chakra-ui/react" ;
1312import { NavLink } from "react-router-dom" ;
@@ -23,7 +22,7 @@ const Nav = () => {
2322 } ) ;
2423 } ;
2524 return (
26- < Box bg = { useColorModeValue ( "gray.100" , "gray.900" ) } px = { 4 } >
25+ < Box bg = "gray.200" px = { 4 } >
2726 < Flex padding = "5" justify = "space-between" align = "center" >
2827 < Box >
2928 < Heading as = { NavLink } to = "/" size = "md" >
@@ -41,7 +40,7 @@ const Nav = () => {
4140 rounded = { "md" }
4241 _hover = { {
4342 textDecoration : "none" ,
44- bg : useColorModeValue ( "gray.200" , "gray.700" ) ,
43+ bg : "gray.400" ,
4544 } }
4645 to = "/blogs"
4746 >
@@ -56,7 +55,7 @@ const Nav = () => {
5655 rounded = { "md" }
5756 _hover = { {
5857 textDecoration : "none" ,
59- bg : useColorModeValue ( "gray.200" , "gray.700" ) ,
58+ bg : "gray.400" ,
6059 } }
6160 to = "/users"
6261 >
You can’t perform that action at this time.
0 commit comments