import { Box, Flex, Heading, Image } from "@chakra-ui/react"; import { useMyTheme } from "hooks/common"; const splatoonOneMaps = [ { image: "alfonsino", name: "Museum D'Alfonsino", }, { image: "bluefin", name: "Bluefin Depot", }, { image: "bridge", name: "Hammerhead Bridge", }, { image: "flounder", name: "Flounder Heights", }, { image: "resort", name: "Mahi-Mahi Resort", }, { image: "rig", name: "Saltspray Rig", }, { image: "underpass", name: "Urchin Underpass", }, ] as const; const NotFound = () => { const { gray } = useMyTheme(); const mapObject = splatoonOneMaps[Math.floor(Math.random() * splatoonOneMaps.length)]; return ( 404 - Not Found ...just like {mapObject.name} can't be found in Splatoon 2 ); }; export default NotFound;