From f451df283ca7121d774085efaf1a0d7720ddca64 Mon Sep 17 00:00:00 2001 From: Lang <7system7@gmail.com> Date: Mon, 27 Jul 2026 19:01:42 +0200 Subject: [PATCH] chg: usr: add current version of the app in the footer #14 --- assets/css/homepage/_footer.scss | 23 +++++++++++++++++++++++ compose.yaml | 1 + composer.json | 2 +- config/services.yaml | 2 +- package.json | 2 +- templates/Game/index.html.twig | 7 ++++++- 6 files changed, 33 insertions(+), 4 deletions(-) diff --git a/assets/css/homepage/_footer.scss b/assets/css/homepage/_footer.scss index a414d16..6c2b9c9 100644 --- a/assets/css/homepage/_footer.scss +++ b/assets/css/homepage/_footer.scss @@ -119,3 +119,26 @@ footer { &:hover { color: #95cff5; } } } + +.footer-version { + display: inline-flex; + align-items: center; + gap: 5px; + margin: 0 7px; + padding: 3px 8px 2px; + border: 1px solid rgba(149, 207, 245, 0.24); + border-radius: 999px; + background: linear-gradient(135deg, rgba(35, 111, 135, 0.22), rgba(149, 207, 245, 0.08)); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 12px rgba(35, 111, 135, 0.12); + color: rgba(180, 224, 248, 0.9); + font: 700 10px 'Rajdhani', sans-serif; + letter-spacing: 1px; + line-height: 1; + text-transform: uppercase; + vertical-align: middle; + + i { + color: #95cff5; + font-size: 9px; + } +} diff --git a/compose.yaml b/compose.yaml index 8d18ea1..9e10418 100644 --- a/compose.yaml +++ b/compose.yaml @@ -10,6 +10,7 @@ services: environment: SERVER_NAME: ${SERVER_NAME:-:80} APP_ENV: prod + APP_VERSION: ${APP_VERSION:-1.0.0} APP_SECRET: ${APP_SECRET} APP_PUBLIC_HOSTNAME: ${APP_PUBLIC_HOSTNAME:-localhost} APP_CONTACT_MAIL_ADDRESS: ${APP_CONTACT_MAIL_ADDRESS:-7system7@gmail.com} diff --git a/composer.json b/composer.json index a4c457e..b6feb0f 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "splendid-bear/mineseeker", - "version": "2026.2.1", + "version": "2026.3.0", "license": "GPL-3.0-or-later", "author": "https://www.splendidbear.org", "bugs": "https://source.splendidbear.org", diff --git a/config/services.yaml b/config/services.yaml index d42d84a..6266c18 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -2,7 +2,7 @@ # https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration parameters: locale: 'en' - jotunheimr.version: 1.1.0-20191026 + jotunheimr.version: '%env(APP_VERSION)%' services: # default configuration for services in *this* file diff --git a/package.json b/package.json index e589015..dd3c9f6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mine-seeker", - "version": "2026.2.1", + "version": "2026.3.0", "author": "https://www.splendidbear.org", "license": "GPL-3.0-or-later", "bugs": "https://source.splendidbear.org", diff --git a/templates/Game/index.html.twig b/templates/Game/index.html.twig index 22129cd..b9b5fbc 100644 --- a/templates/Game/index.html.twig +++ b/templates/Game/index.html.twig @@ -265,7 +265,12 @@