mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-18 00:28:14 +00:00
add steam wishlist link on win modal
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user