summaryrefslogtreecommitdiff
path: root/app/client/modules/pix2pix/index.js
blob: 87bbf0d1bd9cdfae0fc033303a66747440ac8125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { h, Component } from 'preact'
import { Route, Link } from 'react-router-dom'

import Pix2PixLive from './live.component'

function router () {
  return (
    <section>
      <Route exact path='/pix2pix/live/' component={Pix2PixLive} />
    </section>
  )
}

function links(){
  return (
    <span>
      <span><Link to="/pix2pix/datasets/">datasets</Link></span>
      <span><Link to="/pix2pix/graph/">graph</Link></span>
      <span><Link to="/pix2pix/live/">live</Link></span>
    </span>
  )
}

export default {
  name: 'pix2pix',
  router, links,
}