This commit is contained in:
Ellpeck 2019-10-20 14:15:54 +02:00
parent 3bc3239212
commit c10f81a2ea
2 changed files with 15 additions and 1 deletions

View file

@ -67,6 +67,10 @@ const questions = [{
q: 'How did you make this site?',
a: 'I made this page using <a href="https://getbootstrap.com/">Bootstrap</a>. The content is dynamically generated using JavaScript based on a bunch of JSON data. If you\'re curious about the (probably pretty messy) code, then you can check out the <a href="https://github.com/Ellpeck/Web">GitHub repository</a>.'
},
{
q: "What kind of music do you like?",
a: 'Mostly Rock and Pop. Sometimes I enjoy some good lofi hip hop music - beats to relax/study to, though. You can check out my <a href="https://www.last.fm/user/Ellpeck">Last.fm</a> if you\'re curious about specifics.'
},
{
q: 'What\'s a random fact about you?',
a: facts[Math.floor(Math.random() * facts.length)]

View file

@ -18,6 +18,8 @@
Lorde
Michael Patrick Kelly
Madsen
Wir Sind Helden
Juli
*/
const quotes = [
@ -125,6 +127,14 @@ const quotes = [
"Herzrasen; Wohnungstür; Menschenmassen neben mir",
"Fliegen summen laut wie Presslufthammer, und der Himmel wird zur Schreckenskammer",
"Wenn es einfach passiert, wird mich die Angst nicht kontrolliern",
"Wenn es einfach passiert, lass ich mein Herz über mich regiern"
"Wenn es einfach passiert, lass ich mein Herz über mich regiern",
"Vielleicht wärst du Seetang, ich wäre Krill",
"Wir wär'n der Seegang, und dann wär'n wir still",
"Lass uns verschwinden, wir lösen uns auf",
"Ja, ich weiß, es war 'ne geile Zeit",
"Uns war kein Weg zu weit",
"Ich fahr, bis es in den Beinen sticht",
"Mit dem Fahrrad durch die Nacht",
"Rote Ampeln, leere Stadt"
];
$('#quote-text').html('<em>' + quotes[Math.floor(Math.random() * quotes.length)] + '</em>');