summaryrefslogtreecommitdiff
path: root/crates/wipfel/src/app.rs
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-28 08:26:02 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-28 08:26:02 +0100
commitbec163e60432e1303a37a6a7371156500e8a98e6 (patch)
tree3be806a37dbf592e67ca1dc54b0436b59d4e9a2d /crates/wipfel/src/app.rs
parent5b0da20a5a2c14060d8f41c7f096778f621c01bc (diff)
web: tagline becomes the info link; desktop hover wording
The 'web gipfel photogrammetry' tag under the title now links to flpsed.org/gipfel.html (grey like plain text, accent blue on hover); the separate 'More information…' row is gone. Hover readout uses the desktop phrasing: 'Name · 2849 m · distance 12.34 km'.
Diffstat (limited to 'crates/wipfel/src/app.rs')
-rw-r--r--crates/wipfel/src/app.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/crates/wipfel/src/app.rs b/crates/wipfel/src/app.rs
index eae47d9..466ccc7 100644
--- a/crates/wipfel/src/app.rs
+++ b/crates/wipfel/src/app.rs
@@ -832,7 +832,7 @@ pub fn app() -> Html {
.map(|i| {
let h = &p.hills[i];
format!(
- "{} · {:.0} m · {:.2} km",
+ "{} · {:.0} m · distance {:.2} km",
h.name,
h.height,
p.get_real_distance(i) / 1000.0
@@ -938,9 +938,8 @@ pub fn app() -> Html {
<button class="collapse-btn" title="Hide controls"
onclick={collapse_cb}>{ "◀" }</button>
<h1>{ "wipfel" }</h1>
- <p class="tag">{ "web gipfel photogrammetry" }</p>
- <a class="moreinfo" href="https://flpsed.org/gipfel.html" target="_blank"
- rel="noopener noreferrer">{ "More information…" }</a>
+ <a class="tag" href="https://flpsed.org/gipfel.html" target="_blank"
+ rel="noopener noreferrer">{ "web gipfel photogrammetry" }</a>
<button onclick={open_picker}>{ "Open image…" }</button>
if bitmap.is_some() {
<button onclick={fit}>{ "Fit to window" }</button>