Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Commit b3a95a9

Browse files
with-heartOrlundoHubbardjcstein
committed
style: restore previous navbar look
Co-authored-by: Orlundo Hubbard <[email protected]> Co-authored-by: Josh Stein <[email protected]>
1 parent e5ff1c0 commit b3a95a9

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

frontend/src/components/Nav/index.tsx

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,21 @@ export default function Gslr() {
2323
const { t } = useTranslation();
2424

2525
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+
>
2835
<Link href="/" passHref>
2936
<HStack as="a" title={t('title')} display="flex" alignItems="center">
3037
<Logo h={7} w={7} />
3138
<chakra.span
3239
fontWeight="bold"
3340
fontSize="sm"
34-
color="gray.600"
3541
transition="color 300ms ease-in-out"
3642
_hover={{ color: 'black' }}
3743
>
@@ -40,7 +46,10 @@ export default function Gslr() {
4046
</HStack>
4147
</Link>
4248
<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+
>
4453
<Link href="/" passHref>
4554
<a>{t('home')}</a>
4655
</Link>
@@ -127,6 +136,6 @@ export default function Gslr() {
127136
</Box>
128137
</HStack>
129138
</Flex>
130-
</chakra.header>
139+
</chakra.nav>
131140
);
132141
}

0 commit comments

Comments
 (0)