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-compact-disc:before':
case '.fa-discord:before': case '.fa-discord:before':
case '.fa-github:before': case '.fa-github:before':
case '.fa-circle:before':
return false; return false;
} }
return true; return true;

View File

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