refactoring quiz data fetching to simplify

This commit is contained in:
2024-11-04 11:26:50 -07:00
parent 09597c55f8
commit 3f4d665dd2
15 changed files with 62 additions and 110 deletions

View File

@@ -20,11 +20,13 @@ export default function OneCourseLectures() {
href={getLecturePreviewUrl(courseName, dayAsString)}
className="
border-4 rounded-lg border-slate-500
p-3 m-3 block text-end
px-3 py-1 m-3 block text-end
bg-slate-950
transition-all hover:scale-110 hover:shadow-md
"
>
<span className="text-end text-slate-500">lecture</span>
<br />
<span className="font-bold text-xl">{todaysLecture?.name}</span>
<br />
<span className="text-slate-500">{courseName}</span>