Skip to content

Commit

Permalink
changed assets to serve https
Browse files Browse the repository at this point in the history
  • Loading branch information
tsabend committed Jan 8, 2015
1 parent ba5ed50 commit 1efc9da
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 23 deletions.
Binary file added public/Egypt 22.ttf
Binary file not shown.
5 changes: 3 additions & 2 deletions public/css/zest.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/* purple: #9856c0*/
/*orange: #F6BE43*/

@import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300);
@import url(http://fonts.googleapis.com/css?family=Amatic+SC);
@import url(//fonts.googleapis.com/css?family=Open+Sans+Condensed:300);
@import url(//fonts.googleapis.com/css?family=Amatic+SC);
@import url(public/Egypt 22.ttf);

body {
background-color: #F4F4F4;
Expand Down
22 changes: 2 additions & 20 deletions routes/index.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,9 @@
module.exports = function(app) {
var route = {};
// index.html
route.index = function (req, res) {
/** Code to get the list of routes**/
var app_routes = app._router.stack;
var routes = [];
for (var i = 0; i < app_routes.length; i++) {
var appRoute = app_routes[i].route;
if((typeof appRoute != 'undefined')){
routes.push({
path : appRoute.path,
method : appRoute.stack[0].method.toUpperCase()
});
}
}

res.render('index', {locals: { routes: routes }});
};


route.zest = function (req, res) {
res.render('zest')
}

app.get('/zest', route.zest);
app.get('/', route.index);
app.get('/', route.zest);
};
2 changes: 1 addition & 1 deletion views/zest.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<DOCTYPE!HTML>
<html>
<head>
<link href="http://d2v52k3cl9vedd.cloudfront.net/basscss/4.1.4/basscss.min.css" rel="stylesheet">
<link href="bower_components/basscss/css/basscss.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="/css/zest.css">
<script src="bower_components/jquery/dist/jquery.js"></script>

Expand Down

0 comments on commit 1efc9da

Please sign in to comment.