From 80c8ddda0fa106da7cf1ea573fe7da0fce665ec2 Mon Sep 17 00:00:00 2001
From: Ryan <7389646+ryanbarlow97@users.noreply.github.com>
Date: Wed, 28 Jan 2026 23:56:53 +0000
Subject: [PATCH 1/2] Shop new tag (#3057)
adds a "tag" of NEW to the shop which pulses
- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
regression is found:
w.o.n
---
resources/lang/en.json | 1 +
src/client/components/DesktopNavBar.ts | 16 +++++++++++-----
src/client/components/MobileNavBar.ts | 16 +++++++++++-----
3 files changed, 23 insertions(+), 10 deletions(-)
diff --git a/resources/lang/en.json b/resources/lang/en.json
index 3cb7cfba5..d484d3c6d 100644
--- a/resources/lang/en.json
+++ b/resources/lang/en.json
@@ -45,6 +45,7 @@
"play": "Play",
"news": "News",
"store": "Store",
+ "store_new_badge": "NEW",
"settings": "Settings",
"keys": "Keys",
"stats": "Stats",
diff --git a/src/client/components/DesktopNavBar.ts b/src/client/components/DesktopNavBar.ts
index b6b67b435..c197306b4 100644
--- a/src/client/components/DesktopNavBar.ts
+++ b/src/client/components/DesktopNavBar.ts
@@ -104,11 +104,17 @@ export class DesktopNavBar extends LitElement {
data-page="page-news"
data-i18n="main.news"
>
-
+