- </div>
- <div class="col-4">
- <LastUpdated/>
- </div>
- <div class="col-4 text-right">
- <div class="dropdown">
- <button class="dropdown-toggle btn btn-sm btn-outline-secondary" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
- About & Help
- </button>
- <div class="dropdown-menu dropdown-menu-right">
- <a class="dropdown-item" href="https://nominatim.org/release-docs/develop/api/Overview/" target="_blank">API Reference</a>
- <a class="dropdown-item" href="https://nominatim.org/release-docs/develop/api/Faq/" target="_blank">FAQ</a>
- <a class="dropdown-item" href="https://help.openstreetmap.org/tags/nominatim/">OpenStreetMap Help</a>
- <a class="dropdown-item" href="https://github.com/osm-search/Nominatim">Nominatim on Github</a>
- <a class="dropdown-item" href="https://github.com/osm-search/nominatim-ui">This frontend on Github</a>
- <div class="dropdown-divider"></div>
- <a class="dropdown-item" href="#report-issue" data-toggle="modal" data-target="#report-modal">Report problem with results</a>
- </div>
+ <!-- Toggler (hamburger button) -->
+ <button class="navbar-toggler"
+ type="button"
+ data-bs-toggle="collapse"
+ data-bs-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">
+ <!-- Left-aligned links -->
+ <ul class="navbar-nav me-auto">
+ {#if !reverse_only}
+ <li class="nav-item">
+ <PageLink page="search"
+ extra_classes="nav-link {view === 'search' ? 'active' : ''}">
+ Search
+ </PageLink>
+ </li>
+ {/if}
+ <li class="nav-item">
+ <ReverseLink lat={map_lat}
+ lon={map_lon}
+ extra_classes="nav-link {view === 'reverse' ? 'active' : ''}">
+ Reverse
+ </ReverseLink>
+ </li>
+ <li class="nav-item">
+ <PageLink page="details"
+ extra_classes="nav-link {view === 'details' ? 'active' : ''}">
+ Search By ID
+ </PageLink>
+ </li>
+ </ul>