-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathVoteApp.js
34 lines (31 loc) · 989 Bytes
/
VoteApp.js
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
29
30
31
32
33
34
import React, { Component } from 'react';
import ProgrammingLanguage from './ProgrammingLanguage';
class VoteApp extends Component {
render () {
return (
<main role="main">
<div class="jumbotron">
<div class="container">
<h1 class="display-3">Language Vote App v2</h1>
© CloudAcademy ❤ DevOps 2019 v2.10.4
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-4">
<ProgrammingLanguage id="go" logo="go.png"/>
</div>
<div class="col-md-4">
<ProgrammingLanguage id="java" logo="java.png"/>
</div>
<div class="col-md-4">
<ProgrammingLanguage id="nodejs" logo="nodejs.png"/>
</div>
</div>
</div>
</main>
)
}
}
//Cexport the VoteApp class, allows the ReactDOM.render within the index.js file to use it
export default VoteApp;