Another checkpoint: getting OHBlock in shapes

This commit is contained in:
Antoine Phan
2025-07-08 18:09:40 -04:00
parent 9c3e2fad64
commit a434264ffa
4 changed files with 5 additions and 4 deletions

View File

@@ -3,7 +3,8 @@
</script>
<div class="card w-full bg-ecsess-200 text-ecsess-black max-w-md p-4 m-4 text-center rounded-xl">
<p>{member}</p>
<p>{member.name}</p>
<p>{member.position}</p>
<hr>
<p>{startTime} - {endTime}</p>
</div>

View File

@@ -29,7 +29,7 @@
<div>
{DOTW}
{#each sortedOHs.filter((OH) => OH.day == DOTW) as OH}
<OhBlock member={OH.host.name} startTime={OH.startTime} endTime={OH.endTime}></OhBlock>
<OhBlock member={OH.member} startTime={OH.startTime} endTime={OH.endTime}></OhBlock>
{/each}
</div>
{/each}