summaryrefslogtreecommitdiff
path: root/app/client/modules/pix2pix/index.js
blob: 6271dbfee87356c763380e0879da0f000cd41176 (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
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,
}