diff --git a/server/app.js b/server/app.js index b84cc44d..f393fa29 100644 --- a/server/app.js +++ b/server/app.js @@ -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')) ]) diff --git a/server/pages/home/index.js b/server/pages/landing/index.js similarity index 93% rename from server/pages/home/index.js rename to server/pages/landing/index.js index 269b6fe7..1b0654f2 100644 --- a/server/pages/home/index.js +++ b/server/pages/landing/index.js @@ -1,7 +1,7 @@ const html = require('choo/html') const header = require('./../../components/header') -const homePage = (state, prev) => { +const landingPage = (state, prev) => { return html`
@@ -33,4 +33,4 @@ const homePage = (state, prev) => { ` } -module.exports = homePage +module.exports = landingPage