Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update news feed #1840

Merged
merged 1 commit into from
Jun 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,26 @@

{% block content %}
<div class="row justify-content-center">
<div class="col col-sm-6 offset-sm-6 col-lg-3 offset-lg-7">
<div class="card mb-4">
<div class="card-body">
<b>{{ active_games_count }}</b> active games
<div class="col col-sm-12 col-lg-10">
<div class="row justify-content-between">
<div class="col col-auto">
<div class="card mb-4">
<div class="card-body d-flex align-items-center">
<span class="mr-2">Join us on</span>
<a href="https://discord.gg/wWgCdvM" target="_blank" class="d-flex align-items-center">
<h4 class="fab fa-discord m-0"></h4>
</a>
</div>
</div>
</div>
<div class="col col-auto">
<div class="card mb-4">
<div class="card-body">
<b>{{ active_games_count }}</b> active games
</div>
</div>
</div>
</div>
</div>
<div class="col col-sm-12 col-lg-10">
{% for post in posts %}
Expand Down
54 changes: 46 additions & 8 deletions agot-bg-website/agotboardgame_main/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,44 @@

def index(request):
posts = [
{
"title": "Victory Proclaimed: Triumphs in the Realm",
"content": """
<p>Lords and ladies,</p>

<p>Sorry for the radio silence since Longwelwind stepped back from development. I just couldn't find the muse to write until now.</p>

<p>I've got some exciting updates to share. I've been busy behind the scenes, and I&apos;m thrilled to announce that all three&nbsp;official&nbsp;expansions&nbsp;—&nbsp;<b>
Dance with Dragons</b>, <b>Feast for Crows</b> and <b>Mother of Dragons</b>&nbsp;—&nbsp;are now fully integrated into the platform!&nbsp;🎉 But that's not all;
I&apos;ve also added a bunch of custom variants to keep your games fresh and exciting.</p>

<p>One of the coolest new features is the <b>Dragon War</b> mode, where each house starts with their very own dragon.
This is sure to add a fiery twist to your strategies.</p>

<p>In addition to these expansions, we&apos;ve rolled out several fundamental features to enhance your gaming experience:</p>

<ul>
<li><b>Modular Integration of MoD Elements:</b> You can now enjoy elements from Mother of Dragons like the Iron Bank in any scenario, even
without the Essos side board.</li>
<li><b>Draft House Cards:</b> A fan-favorite that lets you draft house cards and influence positions before the game begins, adding
a strategic layer from the start.</li>
<li><b>Live Game Clock:</b> Keep the game moving with timed turns, just like in chess.</li>
<li><b>Ingame Replacement by Vote:</b> Seamlessly replace players during ongoing games.</li>
<li><b>Vassal System as a Player Elimination Mechanic:</b> Available in every game, this is the official solution for handling players
who leave or can be considered eliminated in live games.</li>
<li><b>Animations, Sound, and Ingame Music:</b> Special thanks to <b><a href="https://liliannecoeverden.com/" target="_blank" style="color: white">Lilianne Coeverden</a></b> for contributing the sounds for the 8 houses.</li>
<li><b>Many More Fun Variants:</b> Explore exciting options like House Card Evolution, Blind Draft, and more.</li>
</ul>

<p>Thanks for your patience and continued support. Enjoy crossing swords and mastering ravens!</p>

<p>Happy gaming,<br>
Gereon</p>

<img src="/static/ingame-screenshot.png" style="max-width: 100%; height: auto;">
""",
"created_at": date(day=15, month=6, year=2024)
},
{
"title": "An update on Swords and Ravens",
"content": """
Expand Down Expand Up @@ -71,14 +109,14 @@ def index(request):
The game also evolved a lot since launch: variants for games with less than 6 players have
appeared, a forum has been added to discuss everything about the game, a lot of UI improvements
were made and a ton of bugs have been squashed. Around 800 commits were made on the codebase,
available on <a href="https://github.com/Longwelwind/swords-and-ravens">GitHub</a>, some of
them done by <a href="https://github.com/Longwelwind/swords-and-ravens/graphs/contributors">external
available on <a href="https://github.com/Longwelwind/swords-and-ravens" target="_blank">GitHub</a>, some of
them done by <a href="https://github.com/Longwelwind/swords-and-ravens/graphs/contributors" target="_blank">external
contributors</a>. All the changes done can be found
in <a href="https://community.swordsandravens.net/viewtopic.php?f=4&t=7">the changelog</a>.
in <a href="https://community.swordsandravens.net/viewtopic.php?f=4&t=7" target="_blank">the changelog</a>.
</p>

<p>
The <a href="https://community.swordsandravens.net">forum</a> has been launched, to discuss
The <a href="https://community.swordsandravens.net" target="_blank">forum</a> has been launched, to discuss
everything related to the game and the development of Swords and Ravens, don't hesitate to check
it out!
</p>
Expand All @@ -101,18 +139,18 @@ def index(request):
"title": "Welcome to Swords and Ravens!",
"content": """
<p>
<strong>Swords and Ravens</strong> is a platform to play the board game "A Game of Thrones:
<b>Swords and Ravens</b> is a platform to play the board game "A Game of Thrones:
Board Game - Second Edition", edited by Fantasy Flight Games, online with players around the world!
</p>
<p>
At the moment, this website only features the base game. Extensions (with
<strong>Mother of Dragons</strong>) are currently planned to be implemented.
<b>Mother of Dragons</b>) are currently planned to be implemented.
</p>
<p>
Feedbacks, bug reports and other remarks can also be posted on
the <a href="https://discord.gg/wWgCdvM">Discord</a>!
the <a href="https://discord.gg/wWgCdvM" target="_blank">Discord</a>!
The source code can be found
on <a href="https://github.com/Longwelwind/swords-and-ravens">the Github of the project</a>.
on <a href="https://github.com/Longwelwind/swords-and-ravens" target="_blank">the Github of the project</a>.
</p>
""",
"created_at": date(day=14, month=3, year=2020)
Expand Down
Binary file added agot-bg-website/static/ingame-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.