This repository was archived by the owner on Dec 26, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed
frontend/src/components/Nav Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,21 @@ export default function Gslr() {
23
23
const { t } = useTranslation ( ) ;
24
24
25
25
return (
26
- < chakra . header bg = { bg } w = "full" px = { { base : 2 , sm : 4 } } py = { 4 } shadow = "md" >
27
- < Flex alignItems = "center" justifyContent = "space-between" mx = "auto" >
26
+ < chakra . nav borderBottom = "1px solid" borderColor = "gray.200" >
27
+ < Flex
28
+ alignItems = "center"
29
+ justifyContent = "space-between"
30
+ mx = "auto"
31
+ maxW = "7xl"
32
+ py = { 3 }
33
+ px = { 5 }
34
+ >
28
35
< Link href = "/" passHref >
29
36
< HStack as = "a" title = { t ( 'title' ) } display = "flex" alignItems = "center" >
30
37
< Logo h = { 7 } w = { 7 } />
31
38
< chakra . span
32
39
fontWeight = "bold"
33
40
fontSize = "sm"
34
- color = "gray.600"
35
41
transition = "color 300ms ease-in-out"
36
42
_hover = { { color : 'black' } }
37
43
>
@@ -40,7 +46,10 @@ export default function Gslr() {
40
46
</ HStack >
41
47
</ Link >
42
48
< HStack display = "flex" alignItems = "center" spacing = { 1 } >
43
- < HStack spacing = { { base : 3 , md : 10 } } >
49
+ < HStack
50
+ spacing = { { base : 3 , sm : 10 } }
51
+ display = { { base : 'none' , md : 'inline-flex' } }
52
+ >
44
53
< Link href = "/" passHref >
45
54
< a > { t ( 'home' ) } </ a >
46
55
</ Link >
@@ -127,6 +136,6 @@ export default function Gslr() {
127
136
</ Box >
128
137
</ HStack >
129
138
</ Flex >
130
- </ chakra . header >
139
+ </ chakra . nav >
131
140
) ;
132
141
}
You can’t perform that action at this time.
0 commit comments