Add Mastodon social icon

This commit is contained in:
Nico Hoffmann
2022-12-09 16:59:32 +01:00
parent c232b329fe
commit bd34df8301
2 changed files with 7 additions and 3 deletions

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="icon icon-mastodon" viewBox="0 0 16 16"><path d="M14.943 3.935c-.215-1.591-1.612-2.845-3.268-3.088-.28-.041-1.338-.19-3.79-.19h-.019c-2.453 0-2.979.148-3.258.19-1.61.236-3.08 1.363-3.437 2.973-.172.793-.19 1.672-.158 2.478.045 1.157.054 2.311.16 3.463.073.765.2 1.524.382 2.27.339 1.38 1.711 2.53 3.056 2.998 1.44.488 2.988.57 4.472.234.163-.038.325-.081.484-.131.36-.114.783-.241 1.093-.465a.036.036 0 0 0 .015-.027v-1.116a.033.033 0 0 0-.041-.031c-.951.225-1.925.338-2.902.336-1.682 0-2.134-.792-2.264-1.122a3.463 3.463 0 0 1-.196-.884.032.032 0 0 1 .04-.033c.935.224 1.893.337 2.855.336.231 0 .461 0 .693-.006.967-.027 1.986-.076 2.938-.26l.067-.015c1.501-.286 2.93-1.184 3.075-3.458.005-.09.018-.938.018-1.03.001-.316.103-2.24-.015-3.422Zm-2.31 5.674h-1.578V5.772c0-.808-.339-1.22-1.028-1.22-.758 0-1.138.488-1.138 1.45v2.1H7.32v-2.1c0-.962-.38-1.45-1.138-1.45-.686 0-1.029.412-1.03 1.22v3.837H3.577V5.656c0-.808.208-1.45.623-1.926.429-.474.991-.718 1.689-.718.808 0 1.418.308 1.825.924l.393.655.393-.655c.407-.616 1.017-.924 1.823-.924.698 0 1.26.244 1.69.718.415.475.623 1.117.623 1.926l-.002 3.953Z"/></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -12,13 +12,16 @@
*/
?>
<span class="social">
<a href="https://instagram.com/getkirby">
<a href="https://mastodon.social/@getkirby" aria-label="Follow us on Mastodon">
<?= svg('assets/icons/mastodon.svg') ?>
</a>
<a href="https://instagram.com/getkirby" aria-label="Follow us on Instagram">
<?= svg('assets/icons/instagram.svg') ?>
</a>
<a href="https://youtube.com/kirbycasts">
<a href="https://youtube.com/kirbycasts" aria-label="Watch our videos on YouTube">
<?= svg('assets/icons/youtube.svg') ?>
</a>
<a href="https://chat.getkirby.com">
<a href="https://chat.getkirby.com" aria-label="Chat with us on Discord">
<?= svg('assets/icons/discord.svg') ?>
</a>
</span>