fix squid theme (#166)

This commit is contained in:
Igor 2020-12-03 18:51:46 +03:00 committed by GitHub
parent f0ad758072
commit 5ecfd85cbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ const Footer: React.FC = () => {
const species = useRouter().asPath.charCodeAt(1) % 2 === 0 ? "squid" : "octo";
const { themeColorHex: themeColor } = useMyTheme();
const footerImageSrc = useColorModeValue(
{ octo: "b8ing_light", squid: "boing_dark" },
{ octo: "b8ing_light", squid: "boing_light" },
{ octo: "b8ing_dark", squid: "boing_dark" }
)[species];