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

Commit 36a1376

Browse files
with-heartOrlundoHubbardjcstein
committed
fix: restored old logo link
Co-authored-by: Orlundo Hubbard <[email protected]> Co-authored-by: Josh Stein <[email protected]>
1 parent e543dd4 commit 36a1376

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

frontend/src/components/Nav/index.tsx

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,20 @@ export default function Gslr() {
2525
return (
2626
<chakra.header bg={bg} w="full" px={{ base: 2, sm: 4 }} py={4} shadow="md">
2727
<Flex alignItems="center" justifyContent="space-between" mx="auto">
28-
<Flex>
29-
<chakra.a
30-
href="/"
31-
title="Choc Home Page"
32-
display="flex"
33-
alignItems="center"
34-
>
28+
<Link href="/" passHref>
29+
<HStack as="a" title={t('title')} display="flex" alignItems="center">
3530
<Logo h={7} w={7} />
36-
</chakra.a>
37-
<chakra.h1 fontSize="m" fontWeight="medium" ml="2">
38-
Developer DAO
39-
</chakra.h1>
40-
</Flex>
31+
<chakra.span
32+
fontWeight="bold"
33+
fontSize="sm"
34+
color="gray.600"
35+
transition="color 300ms ease-in-out"
36+
_hover={{ color: 'black' }}
37+
>
38+
{t('title')}
39+
</chakra.span>
40+
</HStack>
41+
</Link>
4142
<HStack display="flex" alignItems="center" spacing={1}>
4243
<HStack
4344
spacing={5}

0 commit comments

Comments
 (0)