diff --git a/client/src/index.js b/client/src/index.js
index 9d4fb252a..69eae2f26 100644
--- a/client/src/index.js
+++ b/client/src/index.js
@@ -8,14 +8,40 @@ import {
AcceptTeamInvite,
Dashboard,
Teams,
+ TeamBar,
globalStyles
} from './views'
+import { getItem } from './utils/local-storage'
+
class App extends Component {
+ constructor (props) {
+ super(props)
+ this.state = {
+ user: null
+ }
+ }
+
+ async componentDidMount () {
+ let user = await getItem('user')
+
+ if (user !== null && user !== undefined && user !== 'undefined') {
+ user = JSON.parse(user)
+ this.setState({ user: user })
+ }
+ }
+
render () {
+ let loggedIn
+ if (this.state.user !== null) {
+ loggedIn = ()
+ } else {
+ loggedIn = ''
+ }
return (
+ {loggedIn}
diff --git a/client/src/views/common/components/TeamBar.js b/client/src/views/common/components/TeamBar.js
new file mode 100644
index 000000000..ba3b0dce9
--- /dev/null
+++ b/client/src/views/common/components/TeamBar.js
@@ -0,0 +1,96 @@
+import React, { Component } from 'react'
+import PropTypes from 'prop-types'
+import { withStyles } from '@material-ui/core/styles'
+import AppBar from '@material-ui/core/AppBar'
+import Toolbar from '@material-ui/core/Toolbar'
+import Typography from '@material-ui/core/Typography'
+import IconButton from '@material-ui/core/IconButton'
+
+// icons
+import UsersIcon from '@material-ui/icons/People'
+import BrowseIcon from '@material-ui/icons/ImportContacts'
+import SearchIcon from '@material-ui/icons/Search'
+import ContactIcon from '@material-ui/icons/ContactMail'
+import AboutIcon from '@material-ui/icons/FormatShapes'
+
+import { Link } from 'react-router-dom'
+
+const AboutLink = props =>
+const ContactLink = props =>
+const SearchLink = props =>
+const BrowseLink = props =>
+const HomeLink = props =>
+
+const styles = {
+ root: {
+ flexGrow: 1
+ },
+ flex: {
+ flexGrow: 1,
+ marginLeft: 30
+ },
+ menuButton: {
+ marginLeft: -12,
+ marginRight: 20
+ }
+}
+
+class TeamBar extends Component {
+ render () {
+ const { classes, user } = this.props
+ console.log('TeamBar: ', user)
+ return (
+
+
+
+
+ Manage Teams
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ )
+ }
+}
+
+TeamBar.propTypes = {
+ classes: PropTypes.object.isRequired,
+ user: PropTypes.object
+}
+
+export default withStyles(styles)(TeamBar)
diff --git a/client/src/views/common/index.js b/client/src/views/common/index.js
new file mode 100644
index 000000000..5c526115f
--- /dev/null
+++ b/client/src/views/common/index.js
@@ -0,0 +1,3 @@
+import TeamBar from './components/TeamBar'
+
+export { TeamBar }
diff --git a/client/src/views/index.js b/client/src/views/index.js
index 07632c230..c4b272406 100644
--- a/client/src/views/index.js
+++ b/client/src/views/index.js
@@ -2,12 +2,15 @@ import Dashboard from './dashboard'
import Teams from './teams'
import AcceptTeamInvite from './teams/AcceptTeamInvite'
+import { TeamBar } from './common'
+
import { theme, globalStyles } from './theme'
export {
AcceptTeamInvite,
Dashboard,
Teams,
+ TeamBar,
theme,
globalStyles
}