home page is semester-aware

This commit is contained in:
2024-12-10 11:52:38 -07:00
parent 213c7c347e
commit 4f9872c977
3 changed files with 5 additions and 3 deletions

View File

@@ -38,9 +38,11 @@ export default function CourseList() {
const coursesByStartDate = groupByStartDate(allSettings);
const sortedDates = Object.keys(coursesByStartDate).sort()
return (
<div className="flex flex-row ">
{Object.keys(coursesByStartDate).map((startDate) => (
{sortedDates.map((startDate) => (
<div
key={startDate}
className=" border-4 border-slate-800 rounded p-3 m-3"