MainContent.jsx 1.05 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'
9 10 11
import WhiteBox from './WhiteBox'


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

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

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



      </Jumbotron>
24 25 26 27 28 29


      <WhiteBox>

        <HostnameController />
        <ServerConfigController />
30 31
        <TokenViewContainer />
        <HTTPFetchContainer />
32 33 34 35

      </WhiteBox>


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

  </div>

)

export default MainContent