Upgraded quality of images

This commit is contained in:
CorwinDev committed 2022-08-20 09:52:50 +02:00
1 parent 636cbf8c02
commit a5eba4636f
6 files changed
+24 -22

No files matched your search

+2 -2
View File
@@ -19,7 +19,7 @@
<% var getBot = global.bsl.guilds.cache.get(bot.id); %>
<% if(getBot) {%>
<div class="transition-shadow ease-in-out duration-300 hover:shadow-blue-900 shadow-2xl rounded-lg max-w-sm bg-blue-color " onclick="location.href='/server/<%=bot.id%> ';" style="cursor: pointer;">
<img class="w-full rounded-full" src="https://cdn.discordapp.com/icons/<%= bot.id %>/<%= getBot.icon %>.webp" onerror="this.src='/img/logo.webp'" alt="<%= bot.name %>">
<img class="w-full rounded-full" src="<%= getBot.icon ? 'https://cdn.discordapp.com/icons/'+bot.id+'/'+getBot.icon+'.webp?size=1024' : '/img/logo.webp' %>" onerror="this.src='/img/logo.webp'" alt="<%= bot.name %>">
<div class="px-6 text-white text-base">
<p><i class="fa-solid fa-check-to-slot"></i>: <%= bot.votes || 0 %> <i class="fa fa-user"></i>: <%= getBot.memberCount.toLocaleString().replace(',', '.' ) %><span class="float-right"><i class="fa fa-bomb"></i>: <%=bot.bumps %></span>
</p>
@@ -65,7 +65,7 @@
<% var getBot = global.bsl.guilds.cache.get(bot.id); %>
<% if(getBot) { %>
<div class="transition-shadow ease-in-out duration-300 hover:shadow-blue-900 shadow-2xl rounded-lg max-w-sm bg-blue-color " onclick="location.href='/server/<%=bot.id%> ';" style="cursor: pointer;">
<img class="w-full rounded-full" src="https://cdn.discordapp.com/icons/<%= bot.id %>/<%= getBot.icon %>.webp" onerror="this.src='/img/logo.webp'" alt="<%= bot.name %>">
<img class="w-full rounded-full" src="<%= getBot.icon ? 'https://cdn.discordapp.com/icons/'+bot.id+'/'+getBot.icon+'.webp?size=1024' : '/img/logo.webp' %>" onerror="this.src='/img/logo.webp'" alt="<%= bot.name %>">
<div class="px-6 text-white text-base">
<p><i class="fa-solid fa-check-to-slot"></i>: <%= bot.votes || 0 %> <i class="fa fa-user"></i>: <%= getBot.memberCount.toLocaleString().replace(',', '.' ) %><span class="float-right"><i class="fa fa-bomb"></i>: <%=bot.bumps %></span>
</p>