Skip to content

Commit 38924f4

Browse files
committed
cleaneed up the arma2 page
1 parent c4b5832 commit 38924f4

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

game_data.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
game_pages = {
22
'cs2': '/static/images/cs2.jpg',
3-
'fctr': '/static/images/fctr.jpg'
3+
'fctr': '/static/images/fctr.jpg',
4+
'arma3': '/static/images/arma3.jpg'
45
# Add more games here as needed
56
}

static/images/image_urls.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[
22
["cs2", "cs2.jpg", "https://cdn.cloudflare.steamstatic.com/steam/apps/730/library_600x900.jpg"],
3-
["factorio", "fctr.jpg", "https://cdn.cloudflare.steamstatic.com/steam/apps/427520/library_600x900.jpg?t=1597145422"]
3+
["factorio", "fctr.jpg", "https://cdn.cloudflare.steamstatic.com/steam/apps/427520/library_600x900.jpg?t=1597145422"],
4+
["arma3", "arma3.jpg", "https://shared.cloudflare.steamstatic.com/store_item_assets/steam/apps/107410/library_600x900.jpg?t=1568818863"]
45
]

templates/games/arma3.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1>Arma 3</h1>
88

99
{% block sidebar %}
1010
<div class="sidebar-images">
11-
<img src="https://cdn.cloudflare.steamstatic.com/steam/apps/107410/library_600x900.jpg?t=1568818863" alt="Arma 3 Poster">
11+
<img src="{{ url_for('static', filename='images/arma3.jpg') }}" alt="Arma 3 Poster">
1212
</div>
1313

1414
<div class="sidebar-buttons">

0 commit comments

Comments
 (0)