feat(navbar): add link to status page

This commit is contained in:
Konstantin Zhigaylo 2024-05-09 09:18:54 +03:00
parent 0be4e7dab9
commit e039dc9946
Signed by: kostya-zero
GPG key ID: 201253F7AE8BCB70

View file

@ -4,6 +4,7 @@ import {
IconButton,
Menu,
MenuButton,
MenuDivider,
MenuItem,
MenuList,
} from '@chakra-ui/react';
@ -16,6 +17,8 @@ import {
FaTools,
FaUserFriends,
} from 'react-icons/fa';
import { TbAntennaBars5 } from "react-icons/tb";
import { ColorModeSwitcher } from '../components/ColorModeSwitcher';
import Logo from './Logo';
import { Link } from '@chakra-ui/next-js';
@ -51,9 +54,15 @@ function NavBar() {
Socials
</MenuItem>
<MenuDivider/>
<MenuItem icon={<FaGithub />} as={Link} href="https://git.kostyazero.com/kostya-zero/homepage" isExternal _hover={{ textDecoration: "none" }}>
View Source Code
</MenuItem>
<MenuItem icon={<TbAntennaBars5 />} as={Link} href="https://status.kostyazero.com" isExternal _hover={{ textDecoration: "none" }}>
Status Page
</MenuItem>
</MenuList>
</Menu>
</Flex>