diff --git a/frontend/vanilla/content/stock_photo_3.png b/frontend/vanilla/content/stock_photo_3.png new file mode 100644 index 0000000..16cb2e5 Binary files /dev/null and b/frontend/vanilla/content/stock_photo_3.png differ diff --git a/frontend/vanilla/content/stock_photo_4.png b/frontend/vanilla/content/stock_photo_4.png new file mode 100644 index 0000000..0f1b5fb Binary files /dev/null and b/frontend/vanilla/content/stock_photo_4.png differ diff --git a/frontend/vanilla/html/login.html b/frontend/vanilla/html/login.html index 0a09f7c..4d8f4ae 100644 --- a/frontend/vanilla/html/login.html +++ b/frontend/vanilla/html/login.html @@ -111,17 +111,19 @@ //callbackErrors(data.errors, alert); } } - - function loadImage(){ - const random = Math.floor(Math.random() * 2); - if(random == 0){ + + function loadImage() { + const random = Math.floor(Math.random() * 4); + if (random == 0) { document.getElementById('image').src = '../content/stock_photo_1.png'; - } - else if(random == 1){ + } else if (random == 1) { document.getElementById('image').src = '../content/stock_photo_2.png'; + } else if (random == 2) { + document.getElementById('image').src = '../content/stock_photo_3.png'; + } else if (random == 3) { + document.getElementById('image').src = '../content/stock_photo_4.png'; } } -