import React from "react"
import {Link, NavLink} from "react-router-dom";

export default function Navbar() {
    return (
        <nav className="navbar bg-body sticky-top">
            <div className="container-fluid">
                <Link className="navbar-brand" to="/"><b>Nexus</b></Link>
                <button className="navbar-toggler" type="button" data-bs-toggle="collapse"
                        data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
                        aria-expanded="false" aria-label="Toggle navigation">
                    <span className="navbar-toggler-icon"></span>
                </button>
                <div className="collapse navbar-collapse" id="navbarSupportedContent">
                    <ul className="navbar-nav me-auto mb-2 mb-lg-0">
                        <li className="nav-item">
                            <NavLink className="nav-link" to="/">Home</NavLink>
                        </li>
                        <li className="nav-item">
                            <NavLink className="nav-link" to="/accounts">Accounts</NavLink>
                        </li>
                        <li className="nav-item">
                            <NavLink className="nav-link" to="/projects">Projects</NavLink>
                        </li>
                        <li className="nav-item">
                            <NavLink className="nav-link" to="/visits">Service Visits</NavLink>
                        </li>
                        <li className="nav-item">
                            <NavLink className="nav-link" to="/reports">Reports</NavLink>
                        </li>
                        <li className="nav-item">
                            <NavLink className="nav-link" to="/user">User</NavLink>
                        </li>
                    </ul>
                </div>
            </div>
        </nav>
    )
}
