This commit is contained in:
monty 2019-12-10 22:02:28 +01:00
parent 971b534177
commit d38b912f5b
2 changed files with 11 additions and 9 deletions

View file

@ -77,7 +77,13 @@ module.exports = (client) => {
item: [ { name: 'portfolio', source: '/portfolio' } ],
social: [
{ name: 'Twitter', color: '1DA1F2', link: 'twitter.com/codepupper', icon: simpleIcons.Twitter },
{ name: 'Mastodon', color: '3088d4', link: 'pounced-on.me/@code', icon: simpleIcons.Mastodon },
{
name: 'Mastodon',
color: '3088d4',
link: 'pounced-on.me/@code',
icon: simpleIcons.Mastodon,
verify: true
},
{ name: 'Twitter', color: '1DA1F2', link: 'twitter.com/floofydev', icon: simpleIcons.Twitter },
{ name: 'Discord', color: '7289da', link: 'thaldr.in/discord', icon: simpleIcons.Discord },
{ name: 'Twitch', color: '6441a4', link: 'twitch.tv/codepupper', icon: simpleIcons.Twitch },

View file

@ -9,19 +9,15 @@
<div class="socials">
{{#each social}}
{{#ifeq name 'Mastodon'}}
<a rel="me" href="https://{{link}}" class="{{name}}">
<svg width="40" height="40" role="img" viewBox="0 0 24 24">
<title>{{name}} Icon</title>
<path d="{{icon.path}}"></path>
</svg></a>
{{/ifeq}}
<a href="https://{{link}}" class="{{name}}">
<svg width="40" height="40" role="img" viewBox="0 0 24 24">
<title>{{name}} Icon</title>
<path d="{{icon.path}}"></path>
</svg></a>
{{/each}}
</div>