diff --git a/src/client/GameModeSelector.ts b/src/client/GameModeSelector.ts index 526adf036..6992e342e 100644 --- a/src/client/GameModeSelector.ts +++ b/src/client/GameModeSelector.ts @@ -89,14 +89,23 @@ export class GameModeSelector extends LitElement { const special = this.lobbies?.games?.["special"]?.[0]; return html` -
- ${ffa ? this.renderLobbyCard(ffa, this.getLobbyTitle(ffa)) : nothing} - ${teams - ? this.renderLobbyCard(teams, this.getLobbyTitle(teams)) - : nothing} - ${special ? this.renderSpecialLobbyCard(special) : nothing} +
+
+ ${this.renderSoloButton()} +
+
+ ${ffa + ? html`
+ ${this.renderLobbyCard(ffa, this.getLobbyTitle(ffa))} +
` + : nothing} + ${teams + ? this.renderLobbyCard(teams, this.getLobbyTitle(teams)) + : nothing} + ${special ? this.renderSpecialLobbyCard(special) : nothing} +
${this.renderQuickActionsSection()}
`; @@ -116,20 +125,27 @@ export class GameModeSelector extends LitElement { return this.renderLobbyCard(lobby, titleContent); } + private renderSoloButton() { + const title = translateText("main.solo"); + return html` + + `; + } + private renderQuickActionsSection() { return html` -
-
- ${this.renderSmallActionCard( - translateText("main.solo"), - this.openSinglePlayerModal, - )} +
+ +
${this.renderSmallActionCard( translateText("mode_selector.ranked_title"), this.openRankedMenu, )} -
-
${this.renderSmallActionCard( translateText("main.create"), this.openHostLobby, @@ -213,7 +229,7 @@ export class GameModeSelector extends LitElement { return html`