Files
labuh/board/index.html
Adnan Zahir 2a0b65c30b Give the phone its own harbour UI instead of a squeezed desktop.
Full-screen water with a floating dock and bottom sheet for detail, clearer boats and Gas actions, plus a branded gate and a fixed sheet-over-scrim stack.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-08 01:59:40 +07:00

49 lines
2.6 KiB
HTML

<!doctype html>
<html lang="id">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="theme-color" content="#9DCAC3">
<title>Labuh</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Atkinson+Hyperlegible:wght@400;700&display=swap">
<link rel="stylesheet" href="/board.css">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='16' fill='%23172B33'/%3E%3Cpath d='M22 14V42H44' fill='none' stroke='%23F6F2EA' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='44' cy='26' r='5.5' fill='%23E8A33D'/%3E%3C/svg%3E">
<script src="/board.js" defer></script>
</head>
<body>
<div class="harbour" id="harbour" data-sheet="closed">
<div class="water">
<div class="sea" aria-hidden="true"></div>
<header class="brand">
<svg width="36" height="36" viewBox="0 0 64 64" aria-hidden="true"><rect width="64" height="64" rx="16" fill="#172B33"/><path d="M22 14V42H44" fill="none" stroke="#F6F2EA" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/><circle cx="44" cy="26" r="5.5" fill="#E8A33D"/></svg>
<span>labuh</span>
</header>
<h1 id="headline">Membaca antrean…</h1>
<p id="empty" class="empty" hidden></p>
<p id="legend" class="legend">Pelampung = siap gas · Jangkar = ditahan · Tali = berlabuh</p>
<main id="lanes"></main>
<p id="stale" class="stale" role="status" hidden></p>
</div>
<div class="shore" id="shore">
<svg class="edge" aria-hidden="true" preserveAspectRatio="none"><path class="foam"/><path class="sand"/><path class="land"/></svg>
<button type="button" id="scrim" class="scrim" hidden aria-label="Tutup lembar"></button>
<div class="shore-inner">
<div class="shore-top" id="dock">
<div class="seg" role="group" aria-label="Tampilkan">
<button type="button" id="show-all" aria-pressed="true">Semua</button>
<button type="button" id="show-mine" aria-pressed="false">Perlu kamu <span class="count" id="mine-count">0</span></button>
</div>
<form method="post" action="/auth/logout" class="me">
<button type="submit" id="avatar" class="avatar" title="Keluar">?</button>
</form>
</div>
<aside id="detail" aria-label="Detail" aria-live="polite"></aside>
</div>
</div>
</div>
</body>
</html>