2 import PageLink from './PageLink.svelte';
3 import ReverseLink from './ReverseLink.svelte';
4 import LastUpdated from './LastUpdated.svelte';
6 import { page } from '../lib/stores.js';
12 .navbar-brand :global(a:hover) {
13 text-decoration: none;
23 display: inline-block;
32 .dropdown-menu { /* need to be above map markers */
38 background-color: #f5f5f5;
39 border-top: 2px solid #ddd;
40 border-bottom: 2px solid #ddd;
44 <header class="container-fluid">
45 <nav class="navbar navbar-expand-sm navbar-light">
46 <div class="navbar-brand">
47 <PageLink page="search">
48 <img alt="logo" src="images/osm_logo.120px.png" width="30" height="30"/>
52 <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
53 <span class="navbar-toggler-icon"></span>
55 <div class="collapse navbar-collapse" id="navbarSupportedContent">
56 <ul class="navbar-nav mr-auto">
57 <li class="nav-item {view === 'search' ? 'active' : ''}">
58 <PageLink page="search" extra_classes="nav-link ">Search</PageLink>
60 <li class="nav-item {view === 'reverse' ? 'active' : ''}">
61 <ReverseLink extra_classes="nav-link ">Reverse</ReverseLink>
63 <li class="nav-item {view === 'details' ? 'active' : ''}">
64 <PageLink page="details" extra_classes="nav-link ">Search By ID</PageLink>
67 <ul class="navbar-nav">
68 <li class="nav-item dropdown">
69 <a class="nav-link dropdown-toggle" href="#open-about-dropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
72 <div class="dropdown-menu dropdown-menu-right">
73 <a class="dropdown-item" href="https://nominatim.org/release-docs/develop/api/Overview/" target="_blank">API Reference</a>
74 <a class="dropdown-item" href="https://nominatim.org/release-docs/develop/api/Faq/" target="_blank">FAQ</a>
75 <a class="dropdown-item" href="https://help.openstreetmap.org/tags/nominatim/">OpenStreetMap Help</a>
76 <a class="dropdown-item" href="https://github.com/osm-search/Nominatim">Nominatim on Github</a>
77 <a class="dropdown-item" href="https://github.com/osm-search/nominatim-ui">This frontend on Github</a>
78 <div class="dropdown-divider"></div>
79 <a class="dropdown-item" href="#report-issue" data-toggle="modal" data-target="#report-modal">Report problem with results</a>
86 <section class="search-section">