Polish #21

Merged
LucidKobold merged 7 commits from polish into main 2021-12-13 22:30:15 -05:00
4 changed files with 72 additions and 5 deletions
Showing only changes of commit 6ed098e463 - Show all commits

View File

@@ -42,10 +42,9 @@ interface Calendar {
// Will replace all states and be used in redis as a form of memoization.
interface MonthInfo {
date: Date;
format: string;
layout: Calendar;
startDay: string;
endDay: string;
startWeekday: string;
endWeekday: string;
days: number;
}
@@ -108,8 +107,6 @@ const CalenderContextProvider = ({
);
// Add start of selected month and start of next month, including day of week and numerical day.
const [calendar, setCalendar] = useState<Calendar>({} as Calendar);
// TODO: Remove this state and all referenced to it once the date alignment algorithm is complete.
const [daysOfMonth, setDaysOfMonth] = useState<[number]>([1]);

View File

@@ -2,7 +2,7 @@
"private": true,
"name": "lucid-creations-media-potty-chart",
"homepage": "https://lucidcreations.media/introducing-code-name-potty-chart/",
"version": "v0.0.5.0-pre-alpha",
"version": "v0.0.5.1-pre-alpha",
"author": {
"name": "Lucid Creations Media",
"url": "https://lucidcreations.media",

View File

@@ -13,7 +13,7 @@ import MobileNav from "./MobileNav";
const Header = (): JSX.Element => {
const appName = "LCM Potty Chart";
const appVersion = "v0.0.5.0-pre-alpha";
const appVersion = "v0.0.5.1-pre-alpha";
// Add transparency while not at the top of the page.
const [transparentNavbar, setTransparentNavbar] = useState<boolean>(false);

View File

@@ -1,6 +1,6 @@
export type NavItem = [string, string];
export type NavItems = NavItem[];
const navItems: NavItems = [["Home", "#top"]];
const navItems: NavItems = [["Home", "/"]];
export default navItems;