Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Temp landing page, just in case.

  • Loading branch information...
commit da4c66821dc549cac148d1230a0d69e62143e747 1 parent 19bc007
@calumhalcrow calumhalcrow authored
View
1  app.js
@@ -53,6 +53,7 @@ app.all('*', function (req, res, next) {
// Routes
app.get('/', routes.index);
+app.get('/landing', routes.landing);
app.get('/auth/facebook', passport.authenticate('facebook', { scope: [
'user_activities', 'user_interests', 'email'
View
6 public/css/index.css
@@ -6,4 +6,8 @@ body {
#header-profile-pic {
width : 30px;
height : 30px;
-}
+}
+
+h3 {
+ margin:2em 0;
+}
View
16 routes/index.js
@@ -16,10 +16,18 @@ exports.index = function(req, res) {
if (user) {
res.render('index', {
- title : 'WCKL Buddies',
- displayName : user.displayName,
- id : user.id
+ title : 'WCKL Buddies'
});
}
});
-};
+};
+
+
+exports.landing = function(req, res) {
+ res.render('landing', {
+ title : 'WCKL Buddies'
+ , displayName : ' '
+ , id : '860830423'
+ });
+
+}
View
5 views/landing.jade
@@ -0,0 +1,5 @@
+h1 WCKL Buddies.
+p
+h3 Webcamp KL would like to encourage the formation of smaller, self-organised user groups from within its established community.
+p
+h3 Webcamp Buddies is the platform that will make this happen.
Please sign in to comment.
Something went wrong with that request. Please try again.