mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-07 06:36:01 +00:00
homepage UI improvements (#3352)
## Description: A bunch of small UI improvements: * Make the content width a bit smaller so gutter ads fit * remove the "duos" "trios" "quads" description on the game card since it's redundant * update UI in game card * minor footer layout changes * update z-index to ensure content appears above ads * removed hasUnusualThumbnailSize, instead just check the map ratio * Use "object cover" for non-irregular maps to the entire game card is filed * remove white ouline from the version * changed solo button to sky blue * make timer "s" lowercase I think we may need to change the openfront logo color a bit too to match the color palette, but we can do that in a follow up. <img width="1591" height="969" alt="Screenshot 2026-03-05 at 2 04 48 PM" src="https://github.com/user-attachments/assets/7bb9ea4c-5a17-47e1-bdad-9d6437b363b3" /> ## Please complete the following: - [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 ## Please put your Discord username so you can be contacted if a bug or regression is found: evan
This commit is contained in:
@@ -362,13 +362,10 @@
|
||||
},
|
||||
"public_lobby": {
|
||||
"title": "Waiting for Game Start...",
|
||||
"teams_Duos": "{team_count} teams of 2 (Duos)",
|
||||
"teams_Trios": "{team_count} teams of 3 (Trios)",
|
||||
"teams_Quads": "{team_count} teams of 4 (Quads)",
|
||||
"waiting_for_players": "Waiting for players",
|
||||
"connecting": "Connecting to lobby...",
|
||||
"starting_in": "Starting in {time}",
|
||||
"starting_game": "Starting game…",
|
||||
"starting_game": "Starting…",
|
||||
"teams_hvn": "Humans vs Nations",
|
||||
"teams_hvn_detailed": "{num} Humans vs {num} Nations",
|
||||
"teams": "{num} teams",
|
||||
@@ -464,7 +461,6 @@
|
||||
"teams": "Teams"
|
||||
},
|
||||
"mode_selector": {
|
||||
"special_title": "Special Mix",
|
||||
"teams_title": "Teams",
|
||||
"teams_count": "{teamCount} teams",
|
||||
"teams_of": "{teamCount} teams of {playersPerTeam}",
|
||||
|
||||
Reference in New Issue
Block a user