From 5b939d2c956344cd76e7eb16c01c70dc61dd3135 Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Mon, 1 Oct 2018 14:20:26 -0700 Subject: [PATCH] reorged routes/index.js (broken) --- app/pages/welcome/index.js | 25 ++++++++++++++++++++++++- app/routes/index.js | 31 +++---------------------------- app/templates/header/index.js | 4 +++- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/app/pages/welcome/index.js b/app/pages/welcome/index.js index 6f547375..f56f5bc9 100644 --- a/app/pages/welcome/index.js +++ b/app/pages/welcome/index.js @@ -1,6 +1,8 @@ const html = require('choo/html'); const assets = require('../../../common/assets'); const title = require('../../templates/title'); +const signupPromo = require('../../templates/signupPromo'); +const fileList = require('../../templates/fileList'); const setPasswordSection = require('../../templates/setPasswordSection'); const uploadBox = require('../../templates/uploadedFileList'); const expireInfo = require('../../templates/expireInfo'); @@ -30,9 +32,30 @@ module.exports = function(state, emit) { } return html` -
+
${title(state)} +
+
+
+ +
+ ${fileList(state)} +
+ +
+