Database implementation, migration, user rework, animated server icons
This commit is contained in:
parent
48ac5a44e2
commit
427b019a49
22 changed files with 530 additions and 46 deletions
|
@ -25,7 +25,7 @@
|
|||
{% if user %}
|
||||
<div class="dropdown right">
|
||||
<a href="/users/{{ user.id }}" class="link">
|
||||
<span>{{ user.username }}</span> <img src="https://cdn.discordapp.com/avatars/{{ user.id }}/{{ user.avatar }}.webp?size=1024">
|
||||
<span>{{ user.username }}</span> <img src="{{ user.avatar }}">
|
||||
</a>
|
||||
<nav class="dropdown-content">
|
||||
<span class="link" onclick="showServers()">
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
{% for guild in settings.guilds %}
|
||||
{% if guild.hidden or not guild.invite %}{% continue %}{% endif %}
|
||||
<div id="{{ guild.id }}" {% if guild.recommended %} class="recommended"{% endif %}>
|
||||
<img src="https://cdn.discordapp.com/icons/{{ guild.id }}/{{ guild.icon }}.webp?size=96" alt="Server icon">
|
||||
<img src="{{ guild.icon }}" alt="Server icon">
|
||||
<div class="name">{{ guild.name }}</div>
|
||||
<a href="https://discord.gg/{{ guild.invite }}" class="joinButton disabled">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="icon" style="height: 1em">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue