added background image

This commit is contained in:
Danny Coates 2018-06-19 12:58:42 -07:00
parent fdef37287d
commit 211b1a8576
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
8 changed files with 47 additions and 8 deletions

View file

@ -5,6 +5,7 @@ const download = require('./download');
const header = require('../templates/header');
const footer = require('../templates/footer');
const fxPromo = require('../templates/fxPromo');
const activeBackground = require('../templates/activeBackground');
nanotiming.disabled = true;
const app = choo();
@ -18,6 +19,7 @@ function banner(state, emit) {
function body(template) {
return function(state, emit) {
const b = html`<body>
${activeBackground(state, emit)}
${banner(state, emit)}
${header(state)}
<main class="main">