Favor font awesome to pure SVG

This commit is contained in:
Alessandro Pignotti 2024-10-16 16:44:47 +02:00
parent 43992f0864
commit 98ab63f72c
2 changed files with 2 additions and 4 deletions

View file

@ -14,6 +14,7 @@ export default {
case '.fa-compact-disc:before':
case '.fa-discord:before':
case '.fa-github:before':
case '.fa-circle:before':
return false;
}
return true;

View file

@ -5,10 +5,7 @@
<h1 class="text-lg font-bold">Discord</h1>
<PanelButton buttonIcon="assets/discord-mark-blue.svg" clickUrl="https://discord.gg/yTNZgySKGa" buttonText="Join our Discord">
<!-- This emulates the one used on labs -->
<svg class="inline ml-auto text-green-500" width="12" height="12">
<circle cx="6" cy="6" r="6" fill="currentColor" />
</svg>
<i class='fas fa-circle fa-xs ml-auto text-green-500'></i>
<span class="ml-1"><DiscordPresenceCount /></span>
</PanelButton>
<p>Do you have any question about WebVM or CheerpX?</p>