-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f4e61bc
commit 49ac479
Showing
12 changed files
with
91 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,26 @@ | ||
import { Flex } from "@chakra-ui/react" | ||
import { Flex, List, ListItem } from "@chakra-ui/react" | ||
import { NavItem } from "./NavItem" | ||
|
||
export const Navbar = () => { | ||
return ( | ||
<Flex as="nav" gap="1.5rem" direction={["column", "column", "row"]}> | ||
<NavItem href="/" label="Página inicial" /> | ||
<NavItem href="/sobre" label="Sobre nós" /> | ||
<NavItem href="/manifesto" label="Manifesto" /> | ||
<NavItem href="/coc" label="Código de conduta" /> | ||
<NavItem href="/mentoria" label="Mentoria" /> | ||
<Flex as="nav" gap="1.5rem" direction={["column", "column", "row"]} aria-label="Navegação principal"> | ||
<List display="flex" flexDirection={{base: "column", md: "column", lg: "row"}} gap="1.5rem"> | ||
<ListItem> | ||
<NavItem href="/" label="Página inicial" /> | ||
</ListItem> | ||
<ListItem> | ||
<NavItem href="/sobre" label="Sobre nós" /> | ||
</ListItem> | ||
<ListItem> | ||
<NavItem href="/manifesto" label="Manifesto" /> | ||
</ListItem> | ||
<ListItem> | ||
<NavItem href="/coc" label="Código de conduta" /> | ||
</ListItem> | ||
<ListItem> | ||
<NavItem href="/mentoria" label="Mentoria" /> | ||
</ListItem> | ||
</List> | ||
</Flex> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters