diff --git a/src/images/backgrounds/photo-1441155472722-d17942a2b76a.jpg b/src/images/backgrounds/photo-1441155472722-d17942a2b76a.jpg new file mode 100644 index 0000000..ff8abfa Binary files /dev/null and b/src/images/backgrounds/photo-1441155472722-d17942a2b76a.jpg differ diff --git a/src/images/backgrounds/photo-1441906363162-903afd0d3d52.jpg b/src/images/backgrounds/photo-1441906363162-903afd0d3d52.jpg new file mode 100644 index 0000000..34c7e0e Binary files /dev/null and b/src/images/backgrounds/photo-1441906363162-903afd0d3d52.jpg differ diff --git a/src/images/backgrounds/photo-1444090542259-0af8fa96557e.jpg b/src/images/backgrounds/photo-1444090542259-0af8fa96557e.jpg new file mode 100644 index 0000000..0dcb915 Binary files /dev/null and b/src/images/backgrounds/photo-1444090542259-0af8fa96557e.jpg differ diff --git a/src/images/backgrounds/photo-1446080501695-8e929f879f2b.jpg b/src/images/backgrounds/photo-1446080501695-8e929f879f2b.jpg new file mode 100644 index 0000000..df10a1b Binary files /dev/null and b/src/images/backgrounds/photo-1446080501695-8e929f879f2b.jpg differ diff --git a/src/images/backgrounds/wdXqHcTwSTmLuKOGz92L_Landscape.jpg b/src/images/backgrounds/wdXqHcTwSTmLuKOGz92L_Landscape.jpg new file mode 100644 index 0000000..c336199 Binary files /dev/null and b/src/images/backgrounds/wdXqHcTwSTmLuKOGz92L_Landscape.jpg differ diff --git a/src/js/guest.js b/src/js/guest.js index 8726214..2e14798 100644 --- a/src/js/guest.js +++ b/src/js/guest.js @@ -65,12 +65,11 @@ window.addEventListener('message', function(event){ // choose a random background image document.getElementById('guest').style.backgroundImage = "url('" + _.sample([ - 'https://images.unsplash.com/photo-1446080501695-8e929f879f2b?fit=crop&fm=jpg&h=1000&ixlib=rb-0.3.5&q=80&w=1600', - 'https://images.unsplash.com/photo-1440073961997-d4282536a8e5?dpr=2&fit=crop&fm=jpg&h=1000&ixlib=rb-0.3.5&q=50&w=1600', - 'https://images.unsplash.com/photo-1441906363162-903afd0d3d52?dpr=2&fit=crop&fm=jpg&h=1000&ixlib=rb-0.3.5&q=50&w=1600', - 'https://images.unsplash.com/39/wdXqHcTwSTmLuKOGz92L_Landscape.jpg?ixlib=rb-0.3.5&q=80&fm=jpg&w=1080&fit=max&s=68f7fe685547e5f740c71f8ca6985d9a', - 'https://images.unsplash.com/photo-1444090542259-0af8fa96557e?ixlib=rb-0.3.5&q=80&fm=jpg&w=1080&fit=max&s=6d1a04e483a2ec9389ce14114b45e3cb', - 'https://images.unsplash.com/photo-1441155472722-d17942a2b76a?ixlib=rb-0.3.5&q=80&fm=jpg&w=1080&fit=max&s=0fdad65d07729dde465aa8bdf62ddbec' + '/images/backgrounds/photo-1446080501695-8e929f879f2b.jpg', + '/images/backgrounds/photo-1441906363162-903afd0d3d52.jpg', + '/images/backgrounds/wdXqHcTwSTmLuKOGz92L_Landscape.jpg', + '/images/backgrounds/photo-1444090542259-0af8fa96557e.jpg', + '/images/backgrounds/photo-1441155472722-d17942a2b76a.jpg' ]) + "')"; // allow homepage signin @@ -86,4 +85,4 @@ $(function() { $('#floating-modal input[name=first_name]').val(name).get(0).dispatchEvent(change); $('#floating-modal input[type=submit]').click(); }); -}); \ No newline at end of file +});