summaryrefslogtreecommitdiff
path: root/components/topnav.tsx
diff options
context:
space:
mode:
authorMichal Sapka <michal@sapka.me>2022-09-07 21:48:34 +0200
committerMichal Sapka <michal@sapka.me>2022-09-07 21:48:34 +0200
commit595eb4abb305b0b383fac1e882dcd3db3cca9322 (patch)
treeedf81543332dd976eecf037865a0a4ceef9aa36e /components/topnav.tsx
parent5bff8f1e81d441b04882d11fbe3edbee6071fa3c (diff)
feat: dracula light theme
Diffstat (limited to 'components/topnav.tsx')
-rw-r--r--components/topnav.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/topnav.tsx b/components/topnav.tsx
index 0364f40..80a6ce3 100644
--- a/components/topnav.tsx
+++ b/components/topnav.tsx
@@ -2,6 +2,7 @@ import {
Link,
Box,
HStack,
+ Icon,
IconButton,
Menu,
Heading,
@@ -31,7 +32,7 @@ function MobileNav() {
function DesktopNav() {
return <HStack>
<Box flex="1">
- <Link href="https://github.com/michalsapka/michal-sapka-pl">Source code</Link>
+ <Link variant="topnav-link" href="https://github.com/michalsapka/michal-sapka-pl"> <Icon as={DiGithubBadge}/> Source code</Link>
</Box>
</HStack>
}
@@ -53,7 +54,7 @@ export default function Navbar() {
mb="1"
>
<HStack>
- <Heading flex="0">Michal </Heading>
+ <Heading flex="0" mr="20px">Michal </Heading>
<Box flex="1">
{isMobile ? null : <DesktopNav/>}
</Box>