A simple Next.js calendar app to track daily habits.
The Seinfeld Strategy is used when trying to build a daily habit (for Jerry Seinfeld, that was writing). You just mark a big X on a calendar each day you do your activity. This is a simple Next.js calendar that loops through a JSON file containing dates and descriptions then renders those to the calendar.
Read my full post here.
npm install
npm run dev
Then add dates to src/data/specialDates.js
like so:
const specialDates = [
{ "date": "2024-01-03", "description": "Run 3K" },
{ "date": "2024-01-04", "description": "Bike 45mins" },
{ "date": "2024-01-05", "description": "Physio" },
{ "date": "2024-01-07", "description": "Strength Training" },
];