Show the linked build version beside the desktop wordmark

This commit is contained in:
ab committed 2026-11-24 03:52:19 +02:00
1 parent a045ab4fbe
commit bd1238552a
3 files changed
+10 -5

No files matched your search

+2 -1
View File
@@ -20,7 +20,8 @@
- Collapsing popular tracks on an artist page returns the list to the position
where it was expanded.
- The desktop sidebar now has a `#furumi` wordmark with an embedded monospace
font and a subtle click animation that respects reduced motion.
font and a subtle click animation that respects reduced motion. The build
version beside it links to the project repository.
## v0.16.1 — 2026-11-24
+5 -3
View File
@@ -9,9 +9,11 @@
<div class="main-content">
{% if !guest %}
<aside class="sidebar-left">
<h2 class="sidebar-brand">
<button class="sidebar-wordmark" type="button" @click="nudgeWordmark($el)" @keydown.space.stop><span>#</span>furumi</button>
</h2>
<header class="sidebar-brand">
<h2><button class="sidebar-wordmark" type="button" @click="nudgeWordmark($el)" @keydown.space.stop><span>#</span>furumi</button></h2>
<a class="sidebar-build-version" href="https://gt.hexor.cy/Furumi/furumi-web"
target="_blank" rel="noopener noreferrer">v{{ t.app_version() }}</a>
</header>
{% include "player/sidebar_nav.html" %}
<div class="sidebar-account" data-account-menu x-show="$store.user.profile" x-cloak
@keydown.escape="if ($store.user.menuOpen) { $store.user.menuOpen = false; $refs.accountTrigger.focus() }">
+3 -1
View File
@@ -1,6 +1,8 @@
<style>
{% if !guest %}{% include "player/wordmark_font.css" %}{% endif %}
.sidebar-brand { flex: none; margin: 0; padding: 18px 22px 0; line-height: 1; }
.sidebar-brand { display: flex; align-items: baseline; gap: 8px; flex: none; padding: 18px 22px 0; line-height: 1; }
.sidebar-build-version { color: #888; font-size: 11px; white-space: nowrap; text-decoration: none; }
.sidebar-build-version:is(:hover, :focus-visible) { color: var(--text-secondary); text-decoration: underline; }
.sidebar-wordmark {
display: inline-block; padding: 0; border: 0; border-radius: 3px; background: transparent;
color: #e7e7e7; font: 700 23px/1.2 "Furumi Wordmark", ui-monospace, monospace;