feat: simplify the Cool City phone decision
ci / check (push) Successful in 54s
ci / check (pull_request) Successful in 56s

- replace the three stacked route cards with a Shortest | Shaded | Accessible segmented control and one large card
- default to Accessible for Ruth; keep the 16:00 trade-off visible as one sentence
- fold the audience vote into the card's primary action so the mobile action stays above the fold
- soften cards with a 28 px radius, soft shadow and one subtle selected ring
- leave the stage and city information architecture intact
This commit is contained in:
Noel Sabia committed 2026-11-14 14:15:28 +01:00
1 parent 2bc52a314d
commit d908c3264d
6 files changed
+391 -527

No files matched your search

+4 -7
View File
@@ -59,7 +59,6 @@ useHead({
<main class="cc-city__main">
<header class="cc-city__head">
<p class="cc-city__kicker">Cooling gap · relative model</p>
<h1>Where the city should act first.</h1>
<p class="cc-city__lede">
Eight sensor catchments, ranked by footfall, shade deficit, access deficit and vulnerability.
@@ -101,8 +100,8 @@ useHead({
<section v-if="selected" class="cc-city__detail" aria-labelledby="help-title">
<div class="cc-city__detail-copy">
<p class="cc-city__kicker">Rank {{ selected.rank }} · {{ selected.sensor_name }}</p>
<h2 id="help-title">What would help</h2>
<p class="cc-city__rankline">Rank {{ selected.rank }} · {{ selected.sensor_name }} · {{ selected.sensor_id }}</p>
<p class="cc-city__lede">{{ selected.reason }}</p>
<ul class="cc-city__help">
<li v-for="item in help" :key="item">{{ item }}</li>
@@ -164,13 +163,11 @@ useHead({
padding-bottom: 1.1rem;
}
.cc-city__kicker {
margin: 0;
.cc-city__rankline {
margin: 0.25rem 0 0.3rem;
color: var(--cc-muted);
font-size: 0.7rem;
font-weight: 650;
letter-spacing: 0.06em;
text-transform: uppercase;
font-variant-numeric: tabular-nums;
}
.cc-city__head h1 {