From 4c7cdc362a52450ff8e8b85870680fb60ca9e9d0 Mon Sep 17 00:00:00 2001 From: Scarriffle Date: Mon, 20 Jul 2026 17:01:20 +0200 Subject: [PATCH] feat(web): link Impressum version to Gitea source repo The version line in the Impressum footer ("Calendarr vNN") is now a subtle link to the Calendarr Gitea repo (git.scarriffle.com), opening in a new tab. Styled to stay muted at rest and reveal as a link on hover. Bump APP_VERSION v87 -> v88. Co-Authored-By: Claude Opus 4.8 --- frontend/css/app.css | 3 +++ frontend/js/calendar.js | 2 +- frontend/js/version.js | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/css/app.css b/frontend/css/app.css index d361690..edde4cf 100644 --- a/frontend/css/app.css +++ b/frontend/css/app.css @@ -63,6 +63,9 @@ input, textarea, [contenteditable="true"], .selectable { -webkit-user-select: text; user-select: text; } a { color: var(--primary); text-decoration: none; } +/* Version im Impressum verlinkt aufs Gitea-Repo — dezent, erst beim Hover als Link erkennbar */ +.impressum-version-link { color: var(--text-3); text-decoration: none; transition: color .15s ease; } +.impressum-version-link:hover { color: var(--primary); text-decoration: underline; } ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--scrollbar); border-radius: 3px; } diff --git a/frontend/js/calendar.js b/frontend/js/calendar.js index 8809984..34bac93 100644 --- a/frontend/js/calendar.js +++ b/frontend/js/calendar.js @@ -15,7 +15,7 @@ import { APP_VERSION } from './version.js'; document.title = 'Calendarr'; document.addEventListener('DOMContentLoaded', () => { const imp = document.getElementById('impressum-version'); - if (imp) imp.textContent = `Calendarr ${APP_VERSION}`; + if (imp) imp.innerHTML = `Calendarr ${APP_VERSION}`; const side = document.getElementById('sidebar-copyright'); if (side) side.innerHTML = `© 2026 Scarriffleservices · ${APP_VERSION}`; }); diff --git a/frontend/js/version.js b/frontend/js/version.js index 4015f3e..1699c70 100644 --- a/frontend/js/version.js +++ b/frontend/js/version.js @@ -1,2 +1,2 @@ // Increment APP_VERSION with every code change -export const APP_VERSION = 'v87'; +export const APP_VERSION = 'v88';