<nav class="navbar navbar-expand-lg navbar-dark navbar-light" style="background-color: #474A8A;">
    <div class="container-fluid">
        <a class="navbar-brand" href="?page=start">BIBLIOTEKA <i class="bi bi-book"></i></a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                <li class="nav-item">
                    <a class="nav-link {if $page == "books" || $page == "search"}active{/if}" href="?page=books">Książki</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link {if $page == "register"}active{/if}" href="?page=register">Wypożyczenia</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link {if $page == "about"}active{/if}" href="?page=about">O mnie</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link {if $page == "contact"}active{/if}" href="?page=contact">Kontakt</a>
                </li>
            </ul>
            <form id="form" method="post" class="d-flex">
                <input class="form-control me-2" type="search" name="search" placeholder="Szukaj" aria-label="Szukaj">
                    <button class="btn btn-outline-light" type="submit" disabled>Szukaj</button>
                <input type="hidden" name="page" value="books">
            </form>
        </div>
    </div>
</nav>