aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Sidebar.svelte2
-rw-r--r--src/components/TamuOutput.svelte12
2 files changed, 12 insertions, 2 deletions
diff --git a/src/components/Sidebar.svelte b/src/components/Sidebar.svelte
index 7a71191..39c005e 100644
--- a/src/components/Sidebar.svelte
+++ b/src/components/Sidebar.svelte
@@ -15,7 +15,7 @@
{ name: "Labs", component: Labs },
{ name: "Active Peer Teachers", component: null }, // TODO
{ name: "Stats", component: null }, // TODO
- { name: "TAMU Html Output", component: TamuOutput },
+ { name: "TAMU HTML Output", component: TamuOutput },
];
let selected = sections[0];
diff --git a/src/components/TamuOutput.svelte b/src/components/TamuOutput.svelte
index 48bb5e1..2ce93e6 100644
--- a/src/components/TamuOutput.svelte
+++ b/src/components/TamuOutput.svelte
@@ -32,7 +32,7 @@
class="flex flex-col overflow-y-auto h-full overflow-x-hidden mx-[25%] pt-10"
>
{#each peerTeachers as pt}
- <div class="flex-none h-40">
+ <div class="pb-4">
<hr />
<p>
<img
@@ -66,6 +66,16 @@
{/each}
</ul>
{/if}
+ {#if pt.office_hours != undefined && pt.office_hours.length > 0}
+ <p>
+ <strong class="text-lg">Office Hours:</strong>
+ </p>
+ <ul class="text-lg">
+ {#each pt.office_hours as ofh}
+ <li>{ofh.longInfo}</li>
+ {/each}
+ </ul>
+ {/if}
</div>
{/each}
</div>