Finished up a wizard to create Assignments

This commit is contained in:
Tiago Ribeiro
2023-11-07 22:30:46 +00:00
parent 40f095191a
commit dd2ddc0e5b
11 changed files with 491 additions and 22 deletions

View File

@@ -43,9 +43,9 @@ export default function AssignmentCard({id, name, assigner, startDate, endDate,
/>
</div>
<span className="flex gap-1 justify-between">
<span>{moment(startDate).format("DD/MM/YY, hh:mm")}</span>
<span>{moment(startDate).format("DD/MM/YY, HH:mm")}</span>
<span>-</span>
<span>{moment(endDate).format("DD/MM/YY, hh:mm")}</span>
<span>{moment(endDate).format("DD/MM/YY, HH:mm")}</span>
</span>
<div className="grid grid-cols-4 gap-2 place-items-start w-full -md:mt-2">
{exams.map(({module}) => (