2018-07-24 22:45:53 +02:00
|
|
|
const socials = [{
|
|
|
|
'name': 'Discord',
|
|
|
|
'link': 'https://www.ellpeck.de/discord',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'Patreon',
|
|
|
|
'link': 'http://www.patreon.com/Ellpeck'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'Twitter',
|
|
|
|
'link': 'https://twitter.com/Ellpeck'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'YouTube',
|
|
|
|
'link': 'https://www.youtube.com/c/ellpeck'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'Twitch',
|
|
|
|
'link': 'http://twitch.tv/ellpeck'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'GitHub',
|
|
|
|
'link': 'https://github.com/Ellpeck/'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'Reddit',
|
|
|
|
'link': 'https://www.reddit.com/user/Ellpeck/'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'Instagram',
|
|
|
|
'link': 'https://instagram.com/Ellopecko'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'Spotify',
|
|
|
|
'link': 'https://open.spotify.com/user/ellpeck'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'Last.fm',
|
|
|
|
'link': 'https://www.last.fm/user/Ellpeck'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'Steam',
|
|
|
|
'link': 'http://steamcommunity.com/id/ellpeck/'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'Facebook',
|
|
|
|
'link': 'https://www.facebook.com/Ellpeck'
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
let s = '';
|
|
|
|
for (social of socials) {
|
2018-07-25 18:28:43 +02:00
|
|
|
s += '<a class="btn btn-light social-button rounded-0" href="' + social['link'] + '"">';
|
2018-07-24 22:45:53 +02:00
|
|
|
s += '<img class="social-image" src="res/social/' + social['name'].toLowerCase() + '.png" alt="">';
|
|
|
|
s += ' ' + social['name'];
|
|
|
|
s += '</a>'
|
|
|
|
}
|
|
|
|
$('#social-list').html(s);
|