From bb511abc03bb66848947e37a999502b813c77269 Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Thu, 23 Jul 2020 23:24:17 -0700 Subject: goodbye old uwufier :cry: --- client/src/components/navigation/NavigationBar.js | 50 +++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 client/src/components/navigation/NavigationBar.js (limited to 'client/src/components/navigation') diff --git a/client/src/components/navigation/NavigationBar.js b/client/src/components/navigation/NavigationBar.js new file mode 100644 index 0000000..3962aae --- /dev/null +++ b/client/src/components/navigation/NavigationBar.js @@ -0,0 +1,50 @@ +import React, { Component } from 'react'; +import { + MDBNavbar, MDBNavbarBrand, MDBNavbarNav, MDBNavItem, MDBNavLink, MDBNavbarToggler, MDBCollapse, MDBIcon, + MDBDropdown, MDBDropdownToggle, MDBDropdownMenu, MDBDropdownItem, MDBCol +} from 'mdbreact' +import PropTypes from 'prop-types'; + +export default class NavigationBar extends Component { + state = { + isOpen: false + }; + + toggleCollapse() { + this.setState({ isOpen: !this.state.isOpen }); + } + + render() { + return( + + + Bot Dashboard + + + + + + Server Selection + + + + + + + + + + {`Logout (${this.props.user.username})`} + + + + + + + ); + } +} + +NavigationBar.propTypes = { + user: PropTypes.object +} \ No newline at end of file -- cgit v1.2.3