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 */
41 @media (max-width: 600px) {
49 background-color: #f5f5f5;
50 border-top: 2px solid #ddd;
51 border-bottom: 2px solid #ddd;
55 <header class="container-fluid">
56 <nav class="navbar navbar-expand-sm navbar-light">
57 <div class="navbar-brand">
58 <PageLink page="search">
59 <img alt="logo" src="images/osm_logo.120px.png" width="30" height="30"/>
63 <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
64 <span class="navbar-toggler-icon"></span>
66 <div class="collapse navbar-collapse" id="navbarSupportedContent">
67 <ul class="navbar-nav mr-auto">
68 <li class="nav-item {view === 'search' ? 'active' : ''}">
69 <PageLink page="search" extra_classes="nav-link ">Search</PageLink>
71 <li class="nav-item {view === 'reverse' ? 'active' : ''}">
72 <ReverseLink extra_classes="nav-link ">Reverse</ReverseLink>
74 <li class="nav-item {view === 'details' ? 'active' : ''}">
75 <PageLink page="details" extra_classes="nav-link ">Search By ID</PageLink>
78 <ul class="navbar-nav">
79 <li class="nav-item dropdown">
80 <a class="nav-link dropdown-toggle" href="#open-about-dropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
83 <div class="dropdown-menu dropdown-menu-right">
84 <a class="dropdown-item" href="https://nominatim.org/release-docs/develop/api/Overview/" target="_blank">API Reference</a>
85 <a class="dropdown-item" href="https://nominatim.org/release-docs/develop/api/Faq/" target="_blank">FAQ</a>
86 <a class="dropdown-item" href="https://help.openstreetmap.org/tags/nominatim/">OpenStreetMap Help</a>
87 <a class="dropdown-item" href="https://github.com/osm-search/Nominatim">Nominatim on Github</a>
88 <a class="dropdown-item" href="https://github.com/osm-search/nominatim-ui">This frontend on Github</a>
89 <div class="dropdown-divider"></div>
90 <a class="dropdown-item" href="#report-issue" data-toggle="modal" data-target="#report-modal">Report problem with results</a>
97 <section class="page-title-section">
100 <section class="search-section">