Files
ballistic-builder/src/components/Header/index.tsx

39 lines
1.1 KiB
TypeScript
Raw Normal View History

2024-11-21 13:03:00 -05:00
import { Box, Flex, Link, Heading } from "@chakra-ui/react";
import NextLink from 'next/link';
2024-11-20 14:53:30 -05:00
2024-11-21 13:03:00 -05:00
const Header: React.FC = () => {
2024-11-20 14:53:30 -05:00
return (
2024-11-21 13:03:00 -05:00
<>
<Box as="header" bg="primary" color="white" px="6" py="4" shadow="md">
<Flex justify="space-between" align="center" maxW="5xl" mx="auto">
<Heading as="h1" size="lg">
2024-11-14 17:46:13 -05:00
2024-11-21 13:03:00 -05:00
<Link color="#374151" _hover={{ textDecoration: "none" }}>
<NextLink href="/" passHref> Ballistic Builder </NextLink>
2024-11-21 13:03:00 -05:00
</Link>
2024-11-14 17:46:13 -05:00
2024-11-21 13:03:00 -05:00
</Heading>
<Flex as="nav" gap="6">
2024-11-21 13:03:00 -05:00
<Link color="#374151" _hover={{ textDecoration: "underline" }}>
<NextLink href="/builder" passHref> Builder </NextLink>
2024-11-21 13:03:00 -05:00
</Link>
2024-11-21 13:03:00 -05:00
<Link color="#374151" _hover={{ textDecoration: "underline" }}>
<NextLink href="/products" passHref> Products </NextLink>
2024-11-21 13:03:00 -05:00
</Link>
2024-11-21 13:03:00 -05:00
<Link color="#374151" _hover={{ textDecoration: "underline" }}>
<NextLink href="/auth/signin" passHref> Sign In </NextLink>
2024-11-21 13:03:00 -05:00
</Link>
2024-11-21 13:03:00 -05:00
</Flex>
</Flex>
</Box>
</>
);
};
export default Header;