fixes, nested the NextLink, it works, removed prisma

This commit is contained in:
2024-11-26 11:58:39 -05:00
parent 608705772e
commit 2454b1dc14
8 changed files with 51 additions and 181 deletions

View File

@@ -1,4 +1,5 @@
import { Box, Flex, Link, Heading } from "@chakra-ui/react";
import NextLink from 'next/link';
const Header: React.FC = () => {
return (
@@ -7,29 +8,27 @@ const Header: React.FC = () => {
<Flex justify="space-between" align="center" maxW="5xl" mx="auto">
<Heading as="h1" size="lg">
{/* <NextLink href="/" passHref> */}
<Link color="#374151" _hover={{ textDecoration: "none" }}>
Ballistic Builder
<NextLink href="/" passHref> Ballistic Builder </NextLink>
</Link>
{/* </NextLink> */}
</Heading>
<Flex as="nav" gap="6">
{/* <NextLink href="/builder" passHref> */}
<Link color="#374151" _hover={{ textDecoration: "underline" }}>
Builder
<NextLink href="/builder" passHref> Builder </NextLink>
</Link>
{/* </NextLink> */}
{/* <NextLink href="/products" passHref> */}
<Link color="#374151" _hover={{ textDecoration: "underline" }}>
Products
<NextLink href="/products" passHref> Products </NextLink>
</Link>
{/* </NextLink> */}
{/* <NextLink href="/auth/signin" passHref> */}
<Link color="#374151" _hover={{ textDecoration: "underline" }}>
Sign In
<NextLink href="/auth/signin" passHref> Sign In </NextLink>
</Link>
{/* </NextLink> */}
</Flex>
</Flex>
</Box>