summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/button.js9
-rw-r--r--client/templates/login.html2
-rw-r--r--public/img/icons/1_1.gif (renamed from public/img/icons/01.gif)bin3835 -> 3835 bytes
-rw-r--r--public/img/icons/1_2.gifbin0 -> 2534 bytes
-rw-r--r--public/img/icons/1_3.gifbin0 -> 3136 bytes
-rw-r--r--public/img/icons/1_4.gifbin0 -> 3955 bytes
-rw-r--r--public/img/icons/1_5.gifbin0 -> 3537 bytes
7 files changed, 10 insertions, 1 deletions
diff --git a/client/button.js b/client/button.js
index adb83a0..542db24 100644
--- a/client/button.js
+++ b/client/button.js
@@ -1,3 +1,12 @@
+$(document).ready(function () {
+ if (window.location.pathname == '/') {
+ var i = 0;
+ setInterval(function() {
+ $('img.home-logo').attr('src', '/img/icons/1_' + ((++i%5)+1) + '.gif');
+ }, 2000);
+ }
+});
+
function prepareDates() {
var month = $('input[name=month]').val();
var year = $('input[name=year]').val();
diff --git a/client/templates/login.html b/client/templates/login.html
index 6826908..5a22eb3 100644
--- a/client/templates/login.html
+++ b/client/templates/login.html
@@ -1,7 +1,7 @@
<template name="login">
<div class="login-wrapper">
<div class="login">
- <h1>m<img src="/img/icons/01.gif">des</h1>
+ <h1>m<img class="home-logo" src="/img/icons/1_1.gif">des</h1>
<h2>Reflect Yourself</h2>
<button class="login">Login with Instagram</button>
</div>
diff --git a/public/img/icons/01.gif b/public/img/icons/1_1.gif
index 66b0aac..66b0aac 100644
--- a/public/img/icons/01.gif
+++ b/public/img/icons/1_1.gif
Binary files differ
diff --git a/public/img/icons/1_2.gif b/public/img/icons/1_2.gif
new file mode 100644
index 0000000..6bdd24b
--- /dev/null
+++ b/public/img/icons/1_2.gif
Binary files differ
diff --git a/public/img/icons/1_3.gif b/public/img/icons/1_3.gif
new file mode 100644
index 0000000..a802e5d
--- /dev/null
+++ b/public/img/icons/1_3.gif
Binary files differ
diff --git a/public/img/icons/1_4.gif b/public/img/icons/1_4.gif
new file mode 100644
index 0000000..8b1abbf
--- /dev/null
+++ b/public/img/icons/1_4.gif
Binary files differ
diff --git a/public/img/icons/1_5.gif b/public/img/icons/1_5.gif
new file mode 100644
index 0000000..d6f959e
--- /dev/null
+++ b/public/img/icons/1_5.gif
Binary files differ