Added last updated time for OH

This commit is contained in:
Karen Chen
2026-02-03 02:27:37 -05:00
parent 7e1a57e0b3
commit 9b93464726
2 changed files with 10 additions and 3 deletions

View File

@@ -69,10 +69,15 @@
<Section from="from-ecsess-900" to="to-ecsess-700" via="via-ecsess-650">
<div class="w-full">
<h2 class="text-2xl font-bold" id="office-hours">Lounge Office Hours</h2>
<p class="text-ecsess-200 mb-8">
<p class="text-ecsess-200 mb-4">
Come visit us in our student lounge at ENGTR 1060 to grab a coffee (free), play Mario Kart, or
just chat about anything!
</p>
{#if data.ohLastUpdated}
<p class="text-ecsess-200/70 mb-0.5 text-sm italic">
Last updated: {new Date(data.ohLastUpdated).toLocaleString()}
</p>
{/if}
<OhSchedule allOhs={data.allOHs} />
</div>
</Section>