fix
This commit is contained in:
parent
971b534177
commit
d38b912f5b
2 changed files with 11 additions and 9 deletions
|
@ -77,7 +77,13 @@ module.exports = (client) => {
|
||||||
item: [ { name: 'portfolio', source: '/portfolio' } ],
|
item: [ { name: 'portfolio', source: '/portfolio' } ],
|
||||||
social: [
|
social: [
|
||||||
{ name: 'Twitter', color: '1DA1F2', link: 'twitter.com/codepupper', icon: simpleIcons.Twitter },
|
{ 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: 'Twitter', color: '1DA1F2', link: 'twitter.com/floofydev', icon: simpleIcons.Twitter },
|
||||||
{ name: 'Discord', color: '7289da', link: 'thaldr.in/discord', icon: simpleIcons.Discord },
|
{ name: 'Discord', color: '7289da', link: 'thaldr.in/discord', icon: simpleIcons.Discord },
|
||||||
{ name: 'Twitch', color: '6441a4', link: 'twitch.tv/codepupper', icon: simpleIcons.Twitch },
|
{ name: 'Twitch', color: '6441a4', link: 'twitch.tv/codepupper', icon: simpleIcons.Twitch },
|
||||||
|
|
|
@ -9,19 +9,15 @@
|
||||||
|
|
||||||
<div class="socials">
|
<div class="socials">
|
||||||
{{#each social}}
|
{{#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}}">
|
<a href="https://{{link}}" class="{{name}}">
|
||||||
<svg width="40" height="40" role="img" viewBox="0 0 24 24">
|
<svg width="40" height="40" role="img" viewBox="0 0 24 24">
|
||||||
<title>{{name}} Icon</title>
|
<title>{{name}} Icon</title>
|
||||||
<path d="{{icon.path}}"></path>
|
<path d="{{icon.path}}"></path>
|
||||||
</svg></a>
|
</svg></a>
|
||||||
|
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue