semantic html

This commit is contained in:
Kalle (Sendou) 2020-10-26 20:38:49 +02:00
parent 55180f93c6
commit fa18ef32f6
3 changed files with 9 additions and 2 deletions

View File

@ -17,7 +17,7 @@ const Footer: React.FC = () => {
)[species];
return (
<Box mt="auto">
<Box as="footer" mt="auto">
<Image
src={footerImageSrc}
bg={themeColor}

View File

@ -99,7 +99,13 @@ const IconNavBar = () => {
const isVoting = false;
return (
<Flex bg={secondaryBgColor} py={2} justifyContent="center" flexWrap="wrap">
<Flex
as="nav"
bg={secondaryBgColor}
py={2}
justifyContent="center"
flexWrap="wrap"
>
{navIcons.map(({ displayName, code, menuItems }) => {
const codesTogether =
"/" +

View File

@ -75,6 +75,7 @@ const TopNav = () => {
return (
<Grid
as="header"
templateColumns={["1fr 1fr", null, "1fr 1fr 1fr"]}
bg={bgColor}
w="100%"