- ${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.renderSoloButton()}
+
${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`