fix: crispier display of discord pfp
All checks were successful
deploy to cloudflare pages / deploy (push) Successful in 33s
All checks were successful
deploy to cloudflare pages / deploy (push) Successful in 33s
This commit is contained in:
parent
d6576a5004
commit
e17a6b70ec
1 changed files with 3 additions and 1 deletions
|
@ -19,9 +19,11 @@
|
|||
<a href="/login">Se connecter</a>
|
||||
{:else}
|
||||
Connecté en tant que <img
|
||||
src={`https://cdn.discordapp.com/avatars/${props.data.user.id}/${props.data.user.avatarHash}.webp?size=32`}
|
||||
src={`https://cdn.discordapp.com/avatars/${props.data.user.id}/${props.data.user.avatarHash}.webp?size=64`}
|
||||
alt="avatar"
|
||||
class="pfp"
|
||||
width="32"
|
||||
height="32"
|
||||
/> <b>{props.data.user.name}</b> - <a href="logout">Se déconnecter</a>
|
||||
{/if}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue