add steam wishlist link on win modal

This commit is contained in:
evanpelle
2025-05-29 11:33:42 -07:00
parent 535df61ffd
commit 5e7bfb2708
2 changed files with 20 additions and 2 deletions
+2 -1
View File
@@ -359,7 +359,8 @@
"you_won": "You Won!",
"other_won": "{player} has won!",
"exit": "Exit Game",
"keep": "Keep Playing"
"keep": "Keep Playing",
"wishlist": "Wishlist on Steam!"
},
"leaderboard": {
"title": "Leaderboard",
+18 -1
View File
@@ -148,7 +148,24 @@ export class WinModal extends LitElement implements Layer {
}
innerHtml() {
return html``;
return html`<p>
<a
href="https://store.steampowered.com/app/3560670"
target="_blank"
rel="noopener noreferrer"
style="
color: #4a9eff;
text-decoration: underline;
font-weight: 500;
transition: color 0.2s ease;
font-size: 24px;
"
onmouseover="this.style.color='#6db3ff'"
onmouseout="this.style.color='#4a9eff'"
>
${translateText("win_modal.wishlist")}
</a>
</p>`;
}
show() {