NonOrgApp.js
1.37 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import React, { Component } from 'react';
import { Grid } from 'react-bootstrap';
import { Link } from 'react-router';
import { Row, Col, FormGroup,
ControlLabel, FormControl,
InputGroup, Button,
Navbar,Modal, Nav, NavItem,
Glyphicon, Collapse,
NavbarToggler, NavbarBrand,
NavLink, DropdownItem, DropdownToggle, DropdownMenu,
NavDropdown, MenuItem } from 'react-bootstrap';
import { LinkContainer } from 'react-router-bootstrap';
import './NonOrgApp.css';
/**
* user based redirection will take place here
*/
export class NonOrgApp extends Component {
constructor(props) {
super(props);
this.state = {
};
};
render(){
return (
<div>
<Navbar>
<Navbar.Header>
<Navbar.Brand className='brand-style'>
<Link to="/">YOUNGDESK</Link>
</Navbar.Brand>
<Navbar.Toggle />
</Navbar.Header>
<Navbar.Collapse>
<Nav pullRight>
<LinkContainer to="login" >
<NavItem className='nav-item' eventKey={ 2 } href="/login">Log in</NavItem>
</LinkContainer>
</Nav>
</Navbar.Collapse>
</Navbar>
<Grid>
{ this.props.children }
</Grid>
</div>
)
}
}