summaryrefslogtreecommitdiff
path: root/app/client/modules/pix2pix/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-06 00:59:39 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-06 00:59:39 +0200
commitd3fcd1212f7214b12b04a83d03dfb129c5fbb0a4 (patch)
treeb9cede8c8b245d5dc5d3ed23d8879e603af82809 /app/client/modules/pix2pix/index.js
parent8c8e2e08d2ae89ba18ca05bab446e4642798dce2 (diff)
pix2wav paths
Diffstat (limited to 'app/client/modules/pix2pix/index.js')
-rw-r--r--app/client/modules/pix2pix/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/client/modules/pix2pix/index.js b/app/client/modules/pix2pix/index.js
index ffe5f6b..9e3d466 100644
--- a/app/client/modules/pix2pix/index.js
+++ b/app/client/modules/pix2pix/index.js
@@ -1,11 +1,14 @@
import { h, Component } from 'preact'
import { Route, Link } from 'react-router-dom'
+import util from '../../util'
+
import Pix2PixNew from './views/pix2pix.new'
import Pix2PixShow from './views/pix2pix.show'
import Pix2PixLive from './views/pix2pix.live'
function router () {
+ document.body.style.backgroundImage = 'linear-gradient(' + (util.randint(40)+40) + 'deg, #fde, #ffe)'
return (
<section>
<Route exact path='/pix2pix/new/' component={Pix2PixNew} />