Moved buttons to it's own component and added the new compoenent to the footer.

This commit is contained in:
Lucid Kobold
2022-06-24 10:45:19 -05:00
parent 6a0863faf3
commit 362b4babe2
5 changed files with 88 additions and 78 deletions

View File

@@ -98,13 +98,17 @@ const Day = ({
border="1px solid #181d8f"
_hover={{
cursor: isBefore(currDateObj, endOfDay(currDate))
? "pointer"
? selectedSticker !== null
? "pointer"
: "default"
: "default",
background: "gray.700",
border: "1px solid #FFF",
color: "whiteAlpha.900"
}}
onClick={() => handleNav(overflowDirection)}
onClick={() =>
selectedSticker !== null ? handleNav(overflowDirection) : ""
}
spacing="0.5rem"
alignContent="center"
justifyContent="flex-start"