Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
homePage -> landingPage
Browse files Browse the repository at this point in the history
  • Loading branch information
laurengarcia committed Aug 4, 2016
1 parent d7daac9 commit bd1473a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const app = choo()
// TODO: server-side choo logger

app.router((route) => [
route('/', require('./pages/home')),
route('/', require('./pages/landing')),
route('/:archiveId', require('./pages/archive'))
])

Expand Down
4 changes: 2 additions & 2 deletions server/pages/home/index.js → server/pages/landing/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const html = require('choo/html')
const header = require('./../../components/header')

const homePage = (state, prev) => {
const landingPage = (state, prev) => {
return html`<html>
<head>
<link rel="icon" type="image/png" href="public/img/dat-data-blank.png" />
Expand Down Expand Up @@ -33,4 +33,4 @@ const homePage = (state, prev) => {
</body></html>`
}

module.exports = homePage
module.exports = landingPage

0 comments on commit bd1473a

Please sign in to comment.