Use API for welcome modal
This commit is contained in:
parent
839d6f80ab
commit
6118231117
6 changed files with 91 additions and 14 deletions
|
@ -3,21 +3,18 @@
|
|||
<p>In order to participate in challenges, you must be a member of a participating Discord server.</p>
|
||||
<h2>Join a participating server</h2>
|
||||
<div class="servers">
|
||||
<div class="recommended">
|
||||
<img src="https://cdn.discordapp.com/icons/189571157446492161/a_5df28dc3a43bc6780cb084b2ad896a9f.webp?size=96" alt="Server icon">
|
||||
<div class="name">English-Japanese Language Exchange</div>
|
||||
{% for guild in settings.guilds %}
|
||||
{% if guild.hidden %}{% continue %}{% endif %}
|
||||
<div{% if guild.recommended %} class="recommended"{% endif %}>
|
||||
<img src="https://cdn.discordapp.com/icons/{{ guild.id }}/{{ guild.icon }}.webp?size=96" alt="Server icon">
|
||||
<div class="name">{{ guild.name }}</div>
|
||||
{% if guild.recommended %}
|
||||
<div class="label-wrapper">
|
||||
<div class="label">Recommended</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div>
|
||||
<img src="https://cdn.discordapp.com/icons/116379774825267202/a_425c9b6640fdc30deb5f97eddcf8e6a7.webp?size=96" alt="Server icon">
|
||||
<div class="name">日本語と英語 - JP & EN</div>
|
||||
</div>
|
||||
<div>
|
||||
<img src="https://cdn.discordapp.com/icons/582147335476346880/677049f139f08cf670e20e8c5f0a656e.webp?size=96" alt="Server icon">
|
||||
<div class="name">Yudai La Piñata</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</dialog>
|
||||
<script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue