Defines bg/fg semantic tokens and heading/body font tokens (Marcellus + Jost), sets the hero image as the page background, and gives NavigationBar's links a hover/active underline that mirrors the design's left-to-right wipe animation.
24 lines
644 B
TypeScript
24 lines
644 B
TypeScript
import { HStack, chakra } from '@chakra-ui/react';
|
|
import NavLink from './NavLink';
|
|
|
|
export default function NavigationBar() {
|
|
return (
|
|
<chakra.header
|
|
bg="none"
|
|
color="white"
|
|
border="none"
|
|
px={{ base: 4, md: 8 }}
|
|
py={4}
|
|
>
|
|
<HStack as="ul" gap={6} listStyleType="none">
|
|
<chakra.li>
|
|
<NavLink to="/">Home</NavLink>
|
|
</chakra.li>
|
|
<chakra.li>
|
|
<NavLink to="/over-mij">Over mij</NavLink>
|
|
</chakra.li>
|
|
</HStack>
|
|
</chakra.header>
|
|
);
|
|
}
|