2022-01-17 05:18:10 +05:30
|
|
|
import {
|
|
|
|
|
Button,
|
|
|
|
|
Flex,
|
|
|
|
|
Heading,
|
|
|
|
|
Spacer,
|
|
|
|
|
Box,
|
|
|
|
|
Link,
|
2023-06-21 17:27:12 +05:30
|
|
|
HStack,
|
|
|
|
|
Text,
|
|
|
|
|
Image,
|
2022-01-17 05:18:10 +05:30
|
|
|
} from "@chakra-ui/react";
|
|
|
|
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
|
|
|
import { faGithub } from "@fortawesome/free-brands-svg-icons";
|
2021-08-22 03:44:44 +05:30
|
|
|
|
|
|
|
|
function Navbar() {
|
|
|
|
|
return (
|
|
|
|
|
<Flex
|
|
|
|
|
py="4"
|
|
|
|
|
px={["2", "4", "10", "10"]}
|
|
|
|
|
borderBottom="2px"
|
2024-05-07 00:18:18 +10:00
|
|
|
borderBottomColor={"gray.400"}
|
2021-08-22 03:44:44 +05:30
|
|
|
>
|
|
|
|
|
<Spacer flex="1" />
|
2022-10-11 13:19:53 +05:30
|
|
|
<Heading
|
|
|
|
|
maxW={["302px", "4xl", "4xl", "4xl"]}
|
2022-10-11 13:24:30 +05:30
|
|
|
fontSize={{ base: "2xl", sm: "3xl", md: "4xl" }}
|
2022-10-11 13:19:53 +05:30
|
|
|
pr="2rem"
|
|
|
|
|
>
|
2023-06-21 17:27:12 +05:30
|
|
|
<HStack>
|
2024-03-10 04:41:36 +05:30
|
|
|
<Image src="/logo-no-bg.png" w="3rem" mr="1rem" />
|
2023-06-21 17:27:12 +05:30
|
|
|
<Text>Impersonator</Text>
|
|
|
|
|
</HStack>
|
2021-08-22 03:44:44 +05:30
|
|
|
</Heading>
|
2022-01-17 05:18:10 +05:30
|
|
|
<Flex flex="1" justifyContent="flex-end" alignItems={"center"}>
|
|
|
|
|
<Box pl="1rem">
|
|
|
|
|
<Link
|
|
|
|
|
href={"https://github.com/apoorvlathey/impersonator"}
|
|
|
|
|
isExternal
|
|
|
|
|
>
|
|
|
|
|
<FontAwesomeIcon icon={faGithub} size="2x" />
|
|
|
|
|
</Link>
|
|
|
|
|
</Box>
|
2021-08-22 03:44:44 +05:30
|
|
|
</Flex>
|
|
|
|
|
</Flex>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default Navbar;
|