]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/components/DetailsPostcodeHint.svelte
Rebundle latest version
[nominatim-ui.git] / src / components / DetailsPostcodeHint.svelte
index 23999572229a4926eb39197bef1007c6663e8d3c..33976042f98761f96f4b881afd97f71334ba6658 100644 (file)
 (<a href="#openHint" on:click|preventDefault|stopPropagation={openHint}>how?</a>)
 
 <div id="postcode-hint" class="my-2 p-2">
 (<a href="#openHint" on:click|preventDefault|stopPropagation={openHint}>how?</a>)
 
 <div id="postcode-hint" class="my-2 p-2">
-  <button type="button" class="close" aria-label="Close" on:click|stopPropagation={closeHint}>
-    <span aria-hidden="true">&times;</span>
-  </button>
-
-  Nightly calculated from nearby places having this postcode.
-  <a href="https://nominatim.org/release-docs/latest/develop/Postcodes/">Documentation</a>.
-  You can search for those with an <a href={url} target="_blank" rel="noreferrer">Overpass Turbo query</a>.
+  <button type="button"
+          class="btn-close float-end m-1"
+          aria-label="Close"
+          on:click|stopPropagation={closeHint}
+  ></button>
+  <p>
+    Nightly calculated from nearby places having this postcode.
+    <a href="https://nominatim.org/release-docs/latest/admin/Maintenance/#updating-postcodes">
+      Documentation
+    </a>.
+  </p>
+  <p>
+    You can search for those with an
+    <a href={url} target="_blank" rel="noreferrer">Overpass Turbo query</a>.
+  </p>
+  <p>
+    <a href="https://nominatim.org/2022/06/26/state-of-postcodes.html"
+       target="_blank" rel="noreferrer">How Nominatim uses postcodes</a>.
+  </p>
 </div>
 
 <style>
 </div>
 
 <style>
@@ -62,7 +74,4 @@
     background-color: #ededff;
     display: none;
   }
     background-color: #ededff;
     display: none;
   }
-  .close {
-    font-size: 1rem;
-  }
-</style>
\ No newline at end of file
+</style>