remove alt from icons to avoid showing txt fallback

This commit is contained in:
Kalle (Sendou) 2021-04-06 12:34:17 +03:00
parent fe7625e7f9
commit 761393ffc3
2 changed files with 1 additions and 8 deletions

View File

@ -23,13 +23,7 @@ const HeaderBanner = ({
h={12}
>
<Box mt="-1rem" ml={[3, null, 0]}>
<Image
src={`/layout/${icon}.png`}
height={80}
width={80}
alt={`${icon} logo`}
priority
/>
<Image src={`/layout/${icon}.png`} height={80} width={80} priority />
</Box>
<Flex align="center" mb={6}>
<Box mx={2} fontWeight="bold" fontSize={["1.25rem", null, "1rem"]}>

View File

@ -209,7 +209,6 @@ const IconNavBar = () => {
src={`/layout/${code}.png`}
height={48}
width={48}
alt={code}
priority
// TODO when chakra-ui adds next/image support
// @ts-ignore