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>
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<script src="/board.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="harbour">
|
||||
<div class="harbour" id="harbour" data-sheet="closed">
|
||||
<div class="water">
|
||||
<div class="sea" aria-hidden="true"></div>
|
||||
<header class="brand">
|
||||
@@ -22,23 +22,25 @@
|
||||
</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">
|
||||
<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 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>
|
||||
<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>
|
||||
<aside id="detail" aria-label="Detail" aria-live="polite"></aside>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user