From a797791f0388900a6a6b47b47779395bcfb3e0a7 Mon Sep 17 00:00:00 2001 From: Nat Lasseter Date: Mon, 31 Mar 2025 14:54:29 +0100 Subject: [bracket shitty] update name --- static/bs/bracket.js | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'static/bs') diff --git a/static/bs/bracket.js b/static/bs/bracket.js index 0e5bb94..b40583e 100644 --- a/static/bs/bracket.js +++ b/static/bs/bracket.js @@ -435,14 +435,14 @@ class BracketCityRank { // Show important announcement after UI is fully rendered // Change the id parameter for each new announcement to ensure it shows this.showImportantAnnouncement({ - title: '\u{1F6A8} Welcome to [Bracket City] \u{1F6A8}', + title: '\u{1F6A8} Welcome to [Bracket Shitty] \u{1F6A8}', message: ` -

Thank you for playing Bracket City!

+

Thank you for playing Bracket Shitty!

`, buttonText: 'ok great thanks', id: 'update-2025-3-11' // Change this ID for a new announcement @@ -3218,7 +3218,7 @@ generateSpecialKeyHTML(keyItem) { return `
- You are ${(stats.rank === 'Chief of Police' || stats.rank === 'Mayor') ? 'the' : 'a'} Bracket City
+ You are ${(stats.rank === 'Chief of Police' || stats.rank === 'Mayor') ? 'the' : 'a'} Bracket Shitty
${stats.rankEmoji} ${stats.rank} ${stats.rankEmoji} ${nextRankMessage}
* there is now a date picker - just click the date in the header and browse the archive
- -
* check out the word of the day written by friend of the city james somers
- -
fan mail: mayor@bracket.city
`; infoButton.addEventListener('click', (e) => { @@ -4200,10 +4196,10 @@ generateSpecialKeyHTML(keyItem) { // Build share text with specific line breaks to match desired layout const shareItems = [ - '[Bracket City]', + '[Bracket Shitty]', puzzleDate, '', - 'https://bracket.city', + 'https://user.4574.co.uk/bs', '' ]; @@ -4261,7 +4257,7 @@ generateSpecialKeyHTML(keyItem) { // Check if Web Share API is available if (navigator.share) { navigator.share({ - title: 'Bracket City Results', + title: 'Bracket Shitty Results', text: shareText }) .then(() => { -- cgit v1.2.3