diff --git a/404.html b/404.html index 4cad438..0031644 100644 --- a/404.html +++ b/404.html @@ -1,5 +1,6 @@ +
';
- a += 'Q: ' + question['q'] + '
';
- a += 'A: ' + question['a'];
+ a += 'Q: ' + question["q"] + '
';
+ a += 'A: ' + question["a"];
a += '
' + project['desc'] + '
'; - if (project['status']) - p += '' + project['status'] + ''; + p += '' + project["desc"] + '
'; + if (project["status"]) + p += '' + project["status"] + ''; - let links = project['links']; + let links = project["links"]; if (links) { for (let name in links) { - p += '' + name + ''; + p += '' + name + ''; } } diff --git a/scripts/quote.js b/scripts/quote.js index 4c1ba49..99e4a47 100644 --- a/scripts/quote.js +++ b/scripts/quote.js @@ -13,6 +13,9 @@ The Faint Coldplay dodie + blink-182 + Albert Hammond, Jr. + Lorde */ const quotes = [ @@ -99,6 +102,16 @@ const quotes = [ "We don't eat our words, they don't taste so good", "She smells like lemongrass and peach", "She tastes like apple juice and peach", - "You would find her in a polaroid picture" + "You would find her in a polaroid picture", + "I'm bored to death and fading fast", + "Life is too short to last long", + "It's not goodbye, I'm just losing touch", + "I'll take the last train home", + "Hey I'm sorry, I lost your memory", + "I do my make-up in somebody else's car", + "But I hear sounds in my mind", + "Brand-new sounds in my mind", + "That green light, I want it", + "The only time I feel alive is when I find something I would die for" ]; $('#quote-text').html('' + quotes[Math.floor(Math.random() * quotes.length)] + ''); \ No newline at end of file diff --git a/scripts/social.js b/scripts/social.js index d4a49d9..3ffedbe 100644 --- a/scripts/social.js +++ b/scripts/social.js @@ -1,52 +1,52 @@ const socials = [{ - 'name': 'Discord', - 'link': 'https://www.ellpeck.de/discord', + name: 'Discord', + link: 'https://www.ellpeck.de/discord', }, { - 'name': 'Twitter', - 'link': 'https://twitter.com/Ellpeck' + name: 'Twitter', + link: 'https://twitter.com/Ellpeck' }, { - 'name': 'GitHub', - 'link': 'https://github.com/Ellpeck/', - 'darkIcon': true + name: 'GitHub', + link: 'https://github.com/Ellpeck/', + darkIcon: true }, { - 'name': 'Twitch', - 'link': 'http://twitch.tv/ellpeck' + name: 'Twitch', + link: 'http://twitch.tv/ellpeck' }, { - 'name': 'YouTube', - 'link': 'https://www.youtube.com/c/ellpeck' + name: 'YouTube', + link: 'https://www.youtube.com/c/ellpeck' }, { - 'name': "itch.io", - "link": "https://ellpeck.itch.io/", - "darkIcon": true + name: "itch.io", + link: "https://ellpeck.itch.io/", + darkIcon: true }, { - 'name': 'Instagram', - 'link': 'https://instagram.com/Ellopecko' + name: 'Instagram', + link: 'https://instagram.com/Ellopecko' }, { - 'name': 'Patreon', - 'link': 'https://patreon.com/ellpeck' + name: 'Patreon', + link: 'https://patreon.com/ellpeck' }, { - 'name': 'Email', - 'link': 'mailto:me@ellpeck.de', - 'darkIcon': true + name: 'Email', + link: 'mailto:me@ellpeck.de', + darkIcon: true } ]; let s = ''; for (social of socials) { - s += ''; - let icon = social['name'].toLowerCase(); - if (dark && social['darkIcon']) + s += ''; + let icon = social["name"].toLowerCase(); + if (dark && social["darkIcon"]) icon += '_dark'; s += ''; - s += social['name']; + s += social["name"]; s += '' } $('#social-list').html(s); \ No newline at end of file