diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-28 13:06:54 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-28 13:06:54 +0200 |
| commit | 2664eb3e474f5d03d1782c15673b774d68fb2c58 (patch) | |
| tree | 1f1e58a6090f6befa75d8f6915388ddee30df04d /app/client/modules/pix2pix/index.js | |
| parent | 3a8d99c5e4f64a9426585943c40635eb183b47ae (diff) | |
textInput/fileUpload
Diffstat (limited to 'app/client/modules/pix2pix/index.js')
| -rw-r--r-- | app/client/modules/pix2pix/index.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app/client/modules/pix2pix/index.js b/app/client/modules/pix2pix/index.js new file mode 100644 index 0000000..6271dbf --- /dev/null +++ b/app/client/modules/pix2pix/index.js @@ -0,0 +1,28 @@ +import { h, Component } from 'preact' +import { Route, Link } from 'react-router-dom' + +import Pix2PixLive from './live.component' + +function router () { + return ( + <div> + <Route path='/pix2pix/live/' component={Pix2PixLive} /> + </div> + ) +} + +function links(){ + return ( + <span> + <span>datasets</span> + <span>checkpoints</span> + <span>results</span> + <span><Link to="/pix2pix/live/">live</Link></span> + </span> + ) +} + +export default { + name: 'pix2pix', + router, links, +}
\ No newline at end of file |
