2024-11-21 13:03:00 -05:00
|
|
|
import { Box, Flex, Link, Heading } from "@chakra-ui/react";
|
2024-11-26 11:58:39 -05:00
|
|
|
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" }}>
|
2024-11-26 11:58:39 -05:00
|
|
|
<NextLink href="/" passHref> Ballistic Builder </NextLink>
|
2024-11-21 13:03:00 -05:00
|
|
|
</Link>
|
2024-11-26 11:58:39 -05:00
|
|
|
|
2024-11-14 17:46:13 -05:00
|
|
|
|
2024-11-21 13:03:00 -05:00
|
|
|
</Heading>
|
|
|
|
|
<Flex as="nav" gap="6">
|
2024-11-26 11:58:39 -05:00
|
|
|
|
2024-11-21 13:03:00 -05:00
|
|
|
<Link color="#374151" _hover={{ textDecoration: "underline" }}>
|
2024-11-26 11:58:39 -05:00
|
|
|
<NextLink href="/builder" passHref> Builder </NextLink>
|
2024-11-21 13:03:00 -05:00
|
|
|
</Link>
|
2024-11-26 11:58:39 -05:00
|
|
|
|
|
|
|
|
|
2024-11-21 13:03:00 -05:00
|
|
|
<Link color="#374151" _hover={{ textDecoration: "underline" }}>
|
2024-11-26 11:58:39 -05:00
|
|
|
<NextLink href="/products" passHref> Products </NextLink>
|
2024-11-21 13:03:00 -05:00
|
|
|
</Link>
|
2024-11-26 11:58:39 -05:00
|
|
|
|
2024-11-21 13:03:00 -05:00
|
|
|
<Link color="#374151" _hover={{ textDecoration: "underline" }}>
|
2024-11-26 11:58:39 -05:00
|
|
|
<NextLink href="/auth/signin" passHref> Sign In </NextLink>
|
2024-11-21 13:03:00 -05:00
|
|
|
</Link>
|
2024-11-26 11:58:39 -05:00
|
|
|
|
2024-11-21 13:03:00 -05:00
|
|
|
</Flex>
|
|
|
|
|
</Flex>
|
|
|
|
|
</Box>
|
|
|
|
|
</>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default Header;
|