Formatting. Added demo stickers as emojis. Added TODOs.

This commit is contained in:
Lucid Kobold
2022-01-06 12:01:22 -06:00
parent d279d7fb84
commit 6926066751
4 changed files with 78 additions and 47 deletions

View File

@@ -86,44 +86,6 @@ const Calender = (newDate?: UpdateCalendarProps): JSX.Element => {
selectedDate={selectedDate}
key={format(date, "P")}
/>
// <Box
// bg="transparent"
// color={isOverflow ? "gray.600" : "whiteAlpha"}
// border={isOverflow ? "2px solid #181d8f" : "2px solid #0068ff"}
// w="100%"
// h="100%"
// key={date}
// {...(isOverflow && {
// _hover: {
// cursor: "pointer"
// }
// })}
// {...(isOverflow && {
// onClick: () => {
// if (overflowDirection === "next") {
// console.log(overflowDirection);
// const newMonth = add(selectedDate, { months: 1 });
// const year = getYear(newMonth);
// const month = getMonth(newMonth) + 1;
// router.push(`/calendar/${year}/${month}`);
// } else if (overflowDirection === "prev") {
// const newMonth = sub(selectedDate, { months: 1 });
// const year = getYear(newMonth);
// const month = getMonth(newMonth) + 1;
// router.push(`/calendar/${year}/${month}`);
// }
// }
// })}
// >
// <Text w="100%" h="100%">
// {!isOverflow && <AddSticker />}
// {`Day ${getDate(date)}`}
// </Text>
// </Box>
);
});
})}