Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | 1x 1x | import { Flex, Stack, Text } from '@chakra-ui/react' import { NavButton } from './nav-button' export const Navbar: React.FC = () => { return ( <Flex as="section" minH="100vh" bg="bg.canvas"> <Flex flex="1" bg="bg.surface" boxShadow="sm" maxW={{ base: 'full', sm: 'xs' }} py={{ base: '6', sm: '8' }} px={{ base: '4', sm: '6' }} > <Stack justify="space-between" spacing="1" width="full"> <Stack spacing="8" shouldWrapChildren> <Stack spacing="1"> <NavButton label="Inicio" to="/" /> </Stack> <Stack> <Text textStyle="sm" color="fg.subtle" fontWeight="medium"> Componentes </Text> <Stack spacing="1"> <NavButton label="Patrones" to="/patterns" /> <NavButton label="Implementaciones" to="/implementations" /> <NavButton label="Reportes" to="/reports" /> <NavButton label="Test" to="/tests" /> </Stack> </Stack> </Stack> </Stack> </Flex> </Flex> ) } |