From c52b5f0039e688c880133974ed98c790f813c226 Mon Sep 17 00:00:00 2001 From: Matchu Date: Sun, 20 Sep 2020 20:10:26 -0700 Subject: [PATCH] update footer design, add links notable layout change is that the text content will now try to center itself, and we push the buttons off to the right. we also needed to tweak the layout code a bit to get the buttons to feel centered with the top two lines, bc centering against the full block just feels wrong, they want to be top-y in terms of positioning, but still feel centered-y in terms of visual balance --- src/app/GlobalFooter.js | 60 ++++++++++++++++++++++++++++++++++------- 1 file changed, 51 insertions(+), 9 deletions(-) diff --git a/src/app/GlobalFooter.js b/src/app/GlobalFooter.js index 7b0ae44d..314171cb 100644 --- a/src/app/GlobalFooter.js +++ b/src/app/GlobalFooter.js @@ -3,31 +3,51 @@ import { Box, IconButton, HStack, + Link as ChakraLink, Tooltip, useColorMode, } from "@chakra-ui/core"; import { EmailIcon, MoonIcon, SunIcon } from "@chakra-ui/icons"; import { SiGithub } from "react-icons/si"; +import { useRouteMatch } from "react-router-dom"; function GlobalFooter() { + const classicDTIUrl = useClassicDTIUrl(); + return ( - - - Images © 2000–{new Date().getFullYear()} Neopets, Inc. All Rights - Reserved. Used With Permission. + + + + + + Terms of Use + + Classic DTI + + + Images © 2000–{new Date().getFullYear()} Neopets, Inc. All Rights + Reserved. Used With Permission. +