import { Component } from "react";
import { Logo } from "../Logo/Logo";

export class Navbar extends Component {
    render() {
        return (
            <nav className="navbar navbar-expand-lg navbar-light bg-light fixed-top border-bottom shadow">
                <div className="container">
                    <Logo />
                    <button className="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarTogglerDemo02" aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation">
                        <span className="navbar-toggler-icon"></span>
                    </button>
                    <div className="collapse navbar-collapse" id="navbarTogglerDemo02">
                        <ul className="navbar-nav me-auto mb-2 mb-lg-0">
                            <li className="nav-item">
                                <a className="nav-link" aria-current="page" href="/">Home</a>
                            </li>
                            <li className="nav-item">
                                <a className="nav-link" href="/setup">New Game</a>
                            </li>
                            <li className="nav-item">
                                <a className="nav-link" href="/leaderboard">Leaderboard</a>
                            </li>
                        </ul>
                    </div>
                </div>
            </nav>
        )
    }
}