Lay out hour nav horizontally and use real links
Deploy / deploy (push) Successful in 1m7s

Matches the reference app's row layout instead of a vertical sidebar
list, and switches from buttons to anchors since hours are real
routes — plain click still SPA-navigates, modifier/middle clicks
fall through to native browser behavior (open in new tab, etc.).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-19 09:31:46 -04:00
parent 15929a6e50
commit 4373b60f07
2 changed files with 21 additions and 17 deletions
+7 -11
View File
@@ -190,21 +190,17 @@ button:focus-visible {
-------------------------------------------------------------------------- */
.app-main {
display: grid;
grid-template-columns: 12rem 1fr;
display: flex;
flex-direction: column;
gap: var(--space-3);
max-width: 64rem;
margin: 0 auto;
padding: var(--space-3) var(--space-2);
}
@media (max-width: 40rem) {
.app-main {
grid-template-columns: 1fr;
}
}
.hour-list {
display: flex;
flex-wrap: wrap;
list-style: none;
margin: 0;
padding: 0;
@@ -214,15 +210,15 @@ button:focus-visible {
.hour-item {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
text-align: left;
align-items: center;
text-align: center;
padding: 0.6rem 0.75rem;
border: none;
background: none;
border-radius: var(--radius);
cursor: pointer;
color: var(--color-ink);
text-decoration: none;
}
.hour-item:hover {