From 460fe570302ca7f53ddf62f08f887fd733df14c2 Mon Sep 17 00:00:00 2001 From: Ryder Ripps Date: Wed, 23 Jan 2013 18:42:53 -0500 Subject: v1 design --- public/images/okfocus_logo.png | Bin 0 -> 4103 bytes routes/index.js | 2 +- views/index.ejs | 407 +++++++++++++++++++++++++++++++++++++++-- 3 files changed, 391 insertions(+), 18 deletions(-) create mode 100644 public/images/okfocus_logo.png diff --git a/public/images/okfocus_logo.png b/public/images/okfocus_logo.png new file mode 100644 index 0000000..1373582 Binary files /dev/null and b/public/images/okfocus_logo.png differ diff --git a/routes/index.js b/routes/index.js index 0bf1fed..ac696e9 100644 --- a/routes/index.js +++ b/routes/index.js @@ -4,5 +4,5 @@ */ exports.index = function(req, res){ - res.render('index', { title: 'How Long Can You Wait?', currentUser: req.user }); + res.render('index', { title: 'Wait Site', currentUser: req.user }); }; diff --git a/views/index.ejs b/views/index.ejs index 6467aa4..0a46120 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -135,9 +135,305 @@ socket.emit('mouse', { x: x, y: y, id: _id }); }); } - + -

<%= title %>

- <% if (!currentUser) { %> - Login with Facebook - <% } %> +

WAIT SITE

+

The Longest Game Ever

-
You've been waiting for 0 seconds
+ <% if (currentUser) { %> + + <% } %> + +

high scores

+
    + <% if (!currentUser) { %> +
    + <% } %>
    + OKFocus -- cgit v1.2.3-70-g09d2