MainContent.jsx 1.16 KB
Newer Older
Andreas Åkre Solberg's avatar
Andreas Åkre Solberg committed
1 2
import React from 'react'
import {Navbar, Nav, NavItem, NavDropdown, MenuItem, Glyphicon, Jumbotron, Button} from 'react-bootstrap'
3
import {Row, Col, Collapse, FormControl, FormGroup, ControlLabel, HelpBlock, PanelGroup, Panel} from 'react-bootstrap'
Andreas Åkre Solberg's avatar
Andreas Åkre Solberg committed
4

5
import HostnameController from '../containers/HostnameController'
6
import ServerConfigController from '../containers/ServerConfigController'
7 8
import TokenViewContainer from '../containers/TokenViewContainer'
import HTTPFetchContainer from '../containers/HTTPFetchContainer'
Andreas Åkre Solberg's avatar
Andreas Åkre Solberg committed
9
import HTTPResponseContainer from '../containers/HTTPResponseContainer'
10 11 12
import WhiteBox from './WhiteBox'


Andreas Åkre Solberg's avatar
Andreas Åkre Solberg committed
13 14 15 16 17 18

const MainContent = () => (
  <div>
    <div className="container">
      <Jumbotron className="uninett-color-lightBlue">

19
        <h1>Play with OAuth 2.0</h1>
Andreas Åkre Solberg's avatar
Andreas Åkre Solberg committed
20 21 22 23 24
        <p>Learn more about how OAuth 2.0 works, and explore OAuth protected APIs without entering any code.</p>



      </Jumbotron>
25 26 27 28 29 30


      <WhiteBox>

        <HostnameController />
        <ServerConfigController />
31 32
        <TokenViewContainer />
        <HTTPFetchContainer />
Andreas Åkre Solberg's avatar
Andreas Åkre Solberg committed
33
        <HTTPResponseContainer />
34 35 36 37

      </WhiteBox>


Andreas Åkre Solberg's avatar
Andreas Åkre Solberg committed
38 39 40 41 42 43 44
    </div>

  </div>

)

export default MainContent