Skip to content

Commit

Permalink
add config template & logo
Browse files Browse the repository at this point in the history
  • Loading branch information
morganherlocker committed Apr 17, 2019
1 parent ce03e43 commit e1e9ba8
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 1 deletion.
41 changes: 41 additions & 0 deletions config.template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"boundary": [
0.0,
0.0,
1.0,
1.0
],
"providers": {
"bird": {
"trips": "",
"status_changes": "",
"token": "",
"enabled": false
},
"jump": {
"trips": "",
"status_changes": "",
"token": "",
"enabled": false
},
"lime": {
"trips": "",
"status_changes": "",
"token": "",
"enabled": false
},
"scoot": {
"trips": "",
"status_changes": "",
"token": "",
"enabled": false
},
"spin": {
"name": "bird",
"trips": "",
"status_changes": "",
"token": "",
"enabled": false
},
}
}
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
padding-right: 25%;
padding-top: 10px;
}
.logo {
height: 45px;
margin: -12px;
padding-right: 10px;
}
.daily-summary {
background-color: #f7f7f7;
padding: 15px;
Expand Down Expand Up @@ -56,7 +61,7 @@
</style>
</head>
<body>
<h1 class="title is-3">SharedStreets Mobility Metrics</h1>
<h1 class="title is-3"><img class="logo" src="shst-logo.jpg">SharedStreets Mobility Metrics</h1>
<div class="daily-summary">
<h2 class="subtitle is-4">Daily Summary</h2>
<nav class="level">
Expand Down
7 changes: 7 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ function serve(done) {
return h.file(path.join(__dirname, "./index.html"));
}
});
server.route({
method: "GET",
path: "/shst-logo.jpg",
handler: (request, h) => {
return h.file(path.join(__dirname, "./shst-logo.jpg"));
}
});

// METRICS

Expand Down
Binary file added shst-logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e1e9ba8

Please sign in to comment.