11import React , { Component } from 'react' ;
22import Frameworks from './frameworks/Frameworks.js'
33import Nav from './nav/Nav.js'
4+ import Footer from './footer/Footer.js'
45import './App.css' ;
56
67class App extends Component {
78 constructor ( ) {
89 super ( ) ;
910
10- this . state = { frameworks :
11- [ {
12- name :'TensorFlow' ,
13- details : "Ubuntu 16.04 - Python 3.5 - Jupyter Notebook" ,
14- img : "https://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/Tensorflow_logo.svg/115px-Tensorflow_logo.svg.png" ,
15- image : "acmuiuc/tensorflow"
16- } ,
17- {
18- name :'Caffe2' ,
19- details : "Ubuntu 16.04 - Python 3.5 - Jupyter Notebook" ,
20- img : "https://caffe2.ai/static/logo.svg" ,
21- image : "registry.gitlab.com/acm-uiuc/gpu-cluster-images:caffe2"
22- } ,
23- {
24- name :'PyTorch' ,
25- details : "Ubuntu 16.04 - Python 3.5 - Jupyter Notebook" ,
26- img : "http://pytorch.org/static/img/pytorch-logo-dark.svg" ,
27- image : "acmuiuc/pytorch"
28- } ,
29- {
30- name :'Keras' ,
31- details : "Ubuntu 16.04 - Python 3.5 - Jupyter Notebook" ,
32- img : "https://upload.wikimedia.org/wikipedia/commons/c/c9/Keras_Logo.jpg" ,
33- image : "acmuiuc/keras"
34- } ,
35- {
36- name :'NVIDIA Digits' ,
37- details : "Ubuntu 16.04 - In Browser GUI" ,
38- img : "https://www.scan.co.uk/images/3xs/infopages/nvidia-digits.png" ,
39- image : "nvidia/digits"
40- } ,
41- {
42- name :'Caffe' ,
43- details : "Ubuntu 16.04 - C++ - SSH" ,
44- img : "http://antmicro.com/images/logos/products-tk-caffe.svg" ,
45- image : "nvidia/caffe"
46- } ,
47- {
48- name :'Dockerfile' ,
49- details : null ,
50- img : "https://cdn.worldvectorlogo.com/logos/docker.svg" ,
51- image : null
52- } ] ,
53- disableButton : false
54- } ;
11+ this . state = { frameworks : [ {
12+ name :'TensorFlow' ,
13+ details : "Ubuntu 16.04 - Python 3.5 - Jupyter Notebook" ,
14+ img : "https://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/Tensorflow_logo.svg/115px-Tensorflow_logo.svg.png" ,
15+ image : "acmuiuc/tensorflow"
16+ } , {
17+ name :'Caffe2' ,
18+ details : "Ubuntu 16.04 - Python 3.5 - Jupyter Notebook" ,
19+ img : "https://caffe2.ai/static/logo.svg" ,
20+ image : "registry.gitlab.com/acm-uiuc/gpu-cluster-images:caffe2"
21+ } , {
22+ name :'PyTorch' ,
23+ details : "Ubuntu 16.04 - Python 3.5 - Jupyter Notebook" ,
24+ img : "http://pytorch.org/static/img/pytorch-logo-dark.svg" ,
25+ image : "acmuiuc/pytorch"
26+ } , {
27+ name :'Keras' ,
28+ details : "Ubuntu 16.04 - Python 3.5 - Jupyter Notebook" ,
29+ img : "https://upload.wikimedia.org/wikipedia/commons/c/c9/Keras_Logo.jpg" ,
30+ image : "acmuiuc/keras"
31+ } , {
32+ name :'NVIDIA Digits' ,
33+ details : "Ubuntu 16.04 - In Browser GUI" ,
34+ img : "https://www.scan.co.uk/images/3xs/infopages/nvidia-digits.png" ,
35+ image : "nvidia/digits"
36+ } , {
37+ name :'Caffe' ,
38+ details : "Ubuntu 16.04 - C++ - SSH" ,
39+ img : "http://antmicro.com/images/logos/products-tk-caffe.svg" ,
40+ image : "nvidia/caffe"
41+ } , {
42+ name :'Dockerfile' ,
43+ details : null ,
44+ img : "https://cdn.worldvectorlogo.com/logos/docker.svg" ,
45+ image : null
46+ } ] ,
47+ disableButton : false } ;
5548
5649 this . click = this . click . bind ( this ) ;
5750 }
@@ -75,10 +68,11 @@ class App extends Component {
7568 render ( ) {
7669 console . log ( this . state . disableButton ) ;
7770 return (
78- < div className = "GPU-CLUSTER-FRONTEND" >
79- < Nav />
71+ < div className = "GPU-CLUSTER-FRONTEND" >
72+ < Nav />
8073 < Frameworks disabled = { this . state . disableButton } frameworks = { this . state . frameworks } handler = { this . click } />
81- </ div >
74+ < Footer />
75+ </ div >
8276 ) ;
8377 }
8478}
0 commit comments