back to the good old days

This commit is contained in:
2024-08-27 17:17:17 -06:00
parent eb18f93875
commit 4e412fd6bf
8 changed files with 8 additions and 23 deletions

View File

@@ -0,0 +1,13 @@
"use client"
export default function Day({ day, month }: { day: Date; month: number }) {
const classes = "border rounded rounded-3 p-2 pb-4 m-1 ";
const backgroundClass = day.getMonth() + 1 != month ? "" : "bg-slate-900";
return (
<div className={classes + " " + backgroundClass}>
{day.getDate()}
{/* <div>{day.getMonth()}</div> */}
</div>
);
}