feat: add itch.io coldridge widget

This commit is contained in:
Adrien Allard 2025-02-10 10:12:39 +01:00
parent ba2dca281e
commit eb0588c9fb
4 changed files with 17 additions and 2 deletions

View File

@ -4,6 +4,8 @@ picture: games/coldridge.png
picture_alt: in-game screenshot of a cow-boy riding in wilderness picture_alt: in-game screenshot of a cow-boy riding in wilderness
website: https://store.steampowered.com/app/3052500/ColdRidge/ website: https://store.steampowered.com/app/3052500/ColdRidge/
steam_widget_url: https://store.steampowered.com/widget/3052500/ steam_widget_url: https://store.steampowered.com/widget/3052500/
itch_io_url: https://frog-collective.itch.io/coldridge
itch_io_widget_url: https://itch.io/embed/3308356?link_color=ed1e1e
presskit_url: presskits/coldridge.html presskit_url: presskits/coldridge.html
discord_url: https://discord.gg/yBzZrQgG7K discord_url: https://discord.gg/yBzZrQgG7K
--- ---

View File

@ -4,6 +4,10 @@ picture: games/coldridge.png
picture_alt: Capture d'écran d'un prospecteur chevauchant les contrées sauvages de ColdRidge. picture_alt: Capture d'écran d'un prospecteur chevauchant les contrées sauvages de ColdRidge.
website: https://store.steampowered.com/app/3052500/ColdRidge/ website: https://store.steampowered.com/app/3052500/ColdRidge/
steam_widget_url: https://store.steampowered.com/widget/3052500/ steam_widget_url: https://store.steampowered.com/widget/3052500/
itch_io_url: https://frog-collective.itch.io/coldridge
itch_io_widget_url: https://itch.io/embed/3308356?link_color=ed1e1e
presskit_url: presskits/coldridge.html
discord_url: https://discord.gg/yBzZrQgG7K
--- ---
Enfilez les bottes d'un prospecteur et aventurez-vous dans les étendues sauvages de ColdRidge, une terre entourée de mystère et frappée par une sinistre malédiction. Enfilez les bottes d'un prospecteur et aventurez-vous dans les étendues sauvages de ColdRidge, une terre entourée de mystère et frappée par une sinistre malédiction.

View File

@ -21,9 +21,18 @@
</div> </div>
<div class="game--description"> <div class="game--description">
{{ game }} {{ game }}
<div class="game--steam-widget">
{% if game.meta.steam_widget_url %}
<div class="game--widget">
<iframe src="{{ game.meta.steam_widget_url }}" frameborder="0" width="646" height="190"></iframe> <iframe src="{{ game.meta.steam_widget_url }}" frameborder="0" width="646" height="190"></iframe>
</div> </div>
{% endif %}
{% if game.meta.itch_io_widget_url %}
<div class="game--widget">
<iframe frameborder="0" src="{{ game.meta.itch_io_widget_url }}" width="646" height="175"><a href="{{ game.meta.itch_io_url }}">{{ game.meta.title }} by Frog Collective</a></iframe>
</div>
{% endif %}
<div class="game--buttons"> <div class="game--buttons">
<a class="game--steam-button" href="{{ game.meta.website }}" target="_blank"> <a class="game--steam-button" href="{{ game.meta.website }}" target="_blank">

View File

@ -72,7 +72,7 @@
} }
} }
&--steam-widget { &--widget {
align-self: center; align-self: center;
padding: var(--space-small); padding: var(--space-small);