more quotes

This commit is contained in:
Ellpeck 2018-08-15 01:11:45 +02:00
parent 717499ea04
commit e80e5cbedf
2 changed files with 14 additions and 2 deletions

View file

@ -127,7 +127,7 @@
<!-- Footer --> <!-- Footer -->
<div class="footer"> <div class="footer">
<span class="text-muted"><a href="https://github.com/Ellpeck/Web">&copy; 2018 Ellpeck</a> - <a id="impressum-button" href="#impressum">Impressum</a></span> <span class="text-muted"><a href="https://github.com/Ellpeck/Web">&copy; 2018 Ellpeck</a> &ndash; <a id="impressum-button" href="#impressum">Impressum</a></span>
<div class="quote"> <div class="quote">
<span id="quote-text"></span> <span id="quote-text"></span>
<script src="scripts/quote.js"></script> <script src="scripts/quote.js"></script>

View file

@ -4,6 +4,7 @@
The All-American Rejects The All-American Rejects
Yellowcard Yellowcard
Daniel Powter Daniel Powter
Marianas Trench
*/ */
const quotes = [ const quotes = [
@ -48,6 +49,17 @@ const quotes = [
"You're falling to pieces everytime", "You're falling to pieces everytime",
"You sing a sad song just to turn it around", "You sing a sad song just to turn it around",
"Too young, too smart, too much for this one town", "Too young, too smart, too much for this one town",
"We'd get so high, we got lost coming down" "We'd get so high, we got lost coming down",
"Move along, move along, like I know you do",
"Your hands are shaking cold",
"All you gotta keep is strong",
"These desperate times call for desperate measures",
"I been pushin for this for so long",
"Kiss me, just once, for luck",
"I'd like some desperate measures please",
"Fall out through the fallout",
"For ever after you will be my home",
"There's no place like home",
""
]; ];
$('#quote-text').html('<em>' + quotes[Math.floor(Math.random() * quotes.length)] + '</em>'); $('#quote-text').html('<em>' + quotes[Math.floor(Math.random() * quotes.length)] + '</em>');