add steam wishlist link on win modal

This commit is contained in:
evanpelle
2025-05-29 11:34:11 -07:00
parent 2ad1885f07
commit e91d9df23b
2 changed files with 20 additions and 2 deletions
+2 -1
View File
@@ -359,7 +359,8 @@
"you_won": "You Won!", "you_won": "You Won!",
"other_won": "{player} has won!", "other_won": "{player} has won!",
"exit": "Exit Game", "exit": "Exit Game",
"keep": "Keep Playing" "keep": "Keep Playing",
"wishlist": "Wishlist on Steam!"
}, },
"leaderboard": { "leaderboard": {
"title": "Leaderboard", "title": "Leaderboard",
+18 -1
View File
@@ -148,7 +148,24 @@ export class WinModal extends LitElement implements Layer {
} }
innerHtml() { 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() { show() {