From c46a4d0c03b0363e742a33f8c2f41163ac138279 Mon Sep 17 00:00:00 2001 From: Dave R Date: Thu, 9 Aug 2018 15:02:06 +0100 Subject: [PATCH] Commit stuff I updated --- assets/css/index.css | 4 +++- assets/js/index.js | 7 +++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/assets/css/index.css b/assets/css/index.css index ef13992d..e7859528 100644 --- a/assets/css/index.css +++ b/assets/css/index.css @@ -99,6 +99,8 @@ time { .quote cite { font-size: 83.33%; } +/* Font */ + /* roboto-regular - latin */ @font-face { font-family: 'Roboto'; @@ -111,4 +113,4 @@ time { url('../fonts/roboto-v18-latin-regular.woff') format('woff'), /* Modern Browsers */ url('../fonts/roboto-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/roboto-v18-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */ - } \ No newline at end of file + } diff --git a/assets/js/index.js b/assets/js/index.js index 4e426a21..bfb86753 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -96,7 +96,11 @@ function setRandomQuote () { let quotes = [ - { text: 'Time goes on. So whatever you’re going to do, do it. Do it now. Don’t wait.', author: 'Robert De Niro' } + { text: 'Time goes on. So whatever you’re going to do, do it. Do it now. Don’t wait.', author: 'Robert De Niro' }, + { text: 'All our dreams can come true, if we have the courage to pursue them.', author: 'Walt Disney' }, + { text: 'It does not matter how slowly you go as long as you do not stop.', author: 'Confucius'}, + { text: 'Believe in yourself. You are braver than you think, more talented than you know, and capable of more than you imagine.', author: 'Roy T. Bennett'}, + { text: 'If you believe it will work out, you’ll see opportunities. If you believe it won’t, you will see obstacles', author: 'Wayne Dyer'} ], quote = pickFromArray(quotes); @@ -109,7 +113,6 @@ function setRandomQuote () { }; - function setTime () { // we need to save Date() here because we use...