{"size": 697, "ext": "js", "max_stars_repo_path": "src/components/Navbars/AdminNavbar.js", "max_stars_repo_name": "HaaZaa/bsw-dashboard", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/Navbars/AdminNavbar.js", "max_issues_repo_name": "HaaZaa/bsw-dashboard", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/Navbars/AdminNavbar.js", "max_forks_repo_name": "HaaZaa/bsw-dashboard", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 27.88, "max_line_length": 84, "alphanum_fraction": 0.5968436155}
// reactstrap components
import { Navbar, Container, Label, Badge } from "reactstrap";
import { Store } from "StoreContext.js";

const AdminNavbar = (props) => {
  const store = new Store();
  return (
    <>
      <Navbar className="navbar-top navbar-dark" expand="md" id="navbar-main">
        <Container fluid>
          <p className="h1 mb-0 text-white text-uppercase d-none d-lg-inline-block">
            {props.brandText}
          </p>

          <Badge color="danger" pill className="d-none d-lg-inline-block">
            <Label className="h4 mb-0 text-white">{store.user.name}</Label>
          </Badge>
        </Container>
      </Navbar>
    </>
  );
};

export default AdminNavbar;
