Compare commits

..

No commits in common. "61e4e44767ff4fac35b7df4a5644fb2d3b52454c" and "f4d8740b93bd8a88e0dbeec89e215dd7c78597d2" have entirely different histories.

2 changed files with 40 additions and 83 deletions

View File

@ -17,113 +17,73 @@
"schedules": [
{
"departure_datetime": "2025-03-10 21:00:00",
"departure_datetime": "2024-12-07 21:00:00",
"dock_name": "Dermaga 1",
"destination": "Babang",
"status": 0,
"status": 2,
"company_code": "UKIT",
"ship_name": "KM. MEKAR TERATAI"
"ship_name": "KM. UKI RAYA 05"
},
{
"departure_datetime": "2025-03-11 21:00:00",
"departure_datetime": "2024-12-07 21:00:00",
"dock_name": "Dermaga 1",
"destination": "LOLEO JAYA - MANO",
"status": 0,
"company_code": "ASL",
"ship_name": "KM. AJUL SAFIKRAN 02"
},
{
"departure_datetime": "2025-03-11 21:00:00",
"dock_name": "Dermaga 1",
"destination": "BABANG",
"status": 0,
"company_code": "UKIT",
"ship_name": "KM. SATRIA 99 EXPRESS"
},
{
"departure_datetime": "2025-03-11 21:00:00",
"dock_name": "Dermaga 1",
"destination": "KUPAL - KAWASI",
"status": 0,
"company_code": "POM",
"ship_name": "KM. INTIM TERATAI"
},
{
"departure_datetime": "2025-03-12 20:00:00",
"dock_name": "Dermaga 1",
"destination": "KUPAL - KAWASI",
"status": 0,
"company_code": "ASL",
"ship_name": "KM. ELIZABETH III"
},
{
"departure_datetime": "2025-03-12 20:00:00",
"dock_name": "Dermaga 1",
"destination": "BABANG",
"status": 0,
"company_code": "TML",
"ship_name": "KM. MARIN TERATAI"
},
{
"departure_datetime": "2025-03-13 21:00:00",
"dock_name": "Dermaga 1",
"destination": "BABANG",
"status": 0,
"company_code": "AKSPL",
"ship_name": "KM. BUNDA MARIA"
},
{
"departure_datetime": "2025-03-13 21:00:00",
"dock_name": "Dermaga 1",
"destination": "KUPAL - KAWASI",
"status": 0,
"destination": "Kupal - Laiwui - Jojame - Jikotamo - Madopolo - Kawasi",
"status": 2,
"company_code": "IPM",
"ship_name": "KM. SANDRA JAYA 02"
},
{
"departure_datetime": "2025-03-14 21:00:00",
"departure_datetime": "2024-12-08 20:00:00",
"dock_name": "Dermaga 1",
"destination": "BABANG",
"status": 0,
"company_code": "UKIT",
"ship_name": "KM. MEKAR TERATAI"
"destination": "Kupal - Laiwui - Jojame - Jikotamo - Madopolo - Kawasi",
"status": 1,
"company_code": "AKSPL",
"ship_name": "KM. AKSAR SAPUTRA 07"
},
{
"departure_datetime": "2025-03-15 21:00:00",
"departure_datetime": "2024-12-08 21:00:00",
"dock_name": "Dermaga 1",
"destination": "BABANG",
"status": 0,
"destination": "Babang",
"status": 1,
"company_code": "UKIT",
"ship_name": "KM. SATRIA 99 EXPRESS"
},
{
"departure_datetime": "2025-03-15 21:00:00",
"departure_datetime": "2024-12-09 21:00:00",
"dock_name": "Dermaga 1",
"destination": "KUPAL - JIKOTAMO",
"destination": "Babang",
"status": 0,
"company_code": "UKIT",
"ship_name": "KM. UKI RAYA 05"
},
{
"departure_datetime": "2024-12-09 20:00:00",
"dock_name": "Dermaga 1",
"destination": "Kupal - Jojame - Jikotamo",
"status": 0,
"company_code": "POM",
"ship_name": "KM. OBI PERMAI"
},
{
"departure_datetime": "2025-03-16 20:00:00",
"departure_datetime": "2024-12-10 21:00:00",
"dock_name": "Dermaga 1",
"destination": "BABANG",
"destination": "Babang",
"status": 0,
"company_code": "TML",
"ship_name": "KM. MARIN TERATAI"
"company_code": "UKIT",
"ship_name": "KM. SATRIA 99 EXPRESS"
},
{
"departure_datetime": "2025-03-17 21:00:00",
"departure_datetime": "2024-12-11 21:00:00",
"dock_name": "Dermaga 1",
"destination": "BABANG",
"destination": "Babang",
"status": 0,
"company_code": "AKSPL",
"ship_name": "KM. BUNDA MARIA"
"company_code": "UKIT",
"ship_name": "KM. UKI RAYA 05"
},
{
"departure_datetime": "2025-03-17 21:00:00",
"departure_datetime": "2024-12-11 21:00:00",
"dock_name": "Dermaga 1",
"destination": "KUPAL - KAWASI",
"destination": "Kupal - Jojame - Jikotamo - Kawasi",
"status": 0,
"company_code": "POM",
"ship_name": "KM. INTIM TERATAI"

View File

@ -173,7 +173,7 @@ export function Index() {
*/
setInterval(() => {
const _clock = dayjs().format("HH:mm:ss");
const _date = dayjs().format("ddd, DD MMM YYYY");
const _date = dayjs().format("DD MMM YYYY");
setClock(_clock);
setDate(_date);
}, 1000);
@ -210,10 +210,7 @@ export function Index() {
</div>
<div className="col-span-4">
<h3 className="text-3xl font-bold text-right">
{date}
</h3>
<h3 className="text-3xl font-bold text-right">
{clock} {timezone}
{date} {clock} {timezone}
</h3>
</div>
</div>
@ -249,13 +246,13 @@ export function Index() {
>
TUJUAN
</th>
{/* <th
<th
scope="col"
className="text-center text-4xl font-bold uppercase w-1/4"
style={{letterSpacing: "3px"}}
>
STATUS
</th> */}
</th>
</tr>
</thead>
<tbody className="divide-y divide-gray-200">
@ -303,7 +300,7 @@ export function Index() {
{y.destination}
</h3>
</td>
{/* <td className="px-4 py-2 font-medium">
<td className="px-4 py-2 font-medium">
<div className="flex flex-row items-center gap-2 uppercase">
{y.status == ScheduleStatus.NOT_AVAILABLE && (
<>
@ -351,7 +348,7 @@ export function Index() {
</>
)}
</div>
</td> */}
</td>
</tr>
))}
</>