news modal fill-in

This commit is contained in:
1brucben
2025-05-08 22:49:06 +02:00
parent bb20da6764
commit 239623d966
2 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ class Client {
}
// Comment out to show news button.
newsButton.hidden = true;
//newsButton.hidden = true;
const langSelector = document.querySelector(
"lang-selector",
+14 -1
View File
@@ -36,7 +36,20 @@ export class NewsModal extends LitElement {
<div class="options-layout">
<div class="options-section">
<div class="news-container">
<div class="news-content">INSERT NEWS HERE</div>
<div class="news-content">
<h3>Combat Mechanics Update</h3>
<p>
Attack speed is influenced by the size of the attacking army,
terrain type, defender strength, and presence of a defense
post. Defender losses are based on their troop density (as
shown by the shield), while attacker losses are proportional
to defender losses and further affected by terrain, defense
posts, and whether the defender is a traitor.
</p>
<p>
The shield icon represents density: number of Troops per tile.
</p>
</div>
</div>
</div>
</div>