2023-03-27 16:43:56 +07:00
|
|
|
<script lang="ts">
|
2023-04-04 12:39:11 +07:00
|
|
|
import type { PageData } from './$types'
|
|
|
|
|
export let data: PageData;
|
|
|
|
|
const exams = data.exams
|
2023-03-27 16:43:56 +07:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
2023-04-04 12:39:11 +07:00
|
|
|
<h1 class="p-5">การสอบแข่งขัน</h1>
|
2023-03-14 13:47:44 +07:00
|
|
|
|
2023-04-04 12:39:11 +07:00
|
|
|
<div class="p-5">
|
|
|
|
|
<table class="table table-compact w-full">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>วันที่</th>
|
|
|
|
|
<th>การสอบ</th>
|
|
|
|
|
<th>หน่วยงาน</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
{#each exams as exam}
|
|
|
|
|
<tr>
|
|
|
|
|
<th><a href={"/exams/"+exam.id}>{exam.date}</a></th>
|
|
|
|
|
<td>{exam.detail}</td>
|
|
|
|
|
<td>{exam.institute}</td>
|
|
|
|
|
{/each}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
2023-03-27 16:43:56 +07:00
|
|
|
</div>
|