X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/bb8dd3ac61b84f7aaf492be006528974938168bf..e678691b909996b245bdd17e7345467634703d6b:/src/App.svelte?ds=inline

diff --git a/src/App.svelte b/src/App.svelte
index e543afd..05533e9 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -4,21 +4,22 @@
 
   import { page, refresh_page } from './lib/stores.js';
 
-  import Header from './components/Header.svelte';
   import Footer from './components/Footer.svelte';
-  import ReportIssueModal from './components/ReportIssueModal.svelte';
   import SearchPage from './pages/SearchPage.svelte';
   import ReversePage from './pages/ReversePage.svelte';
   import DetailsPage from './pages/DetailsPage.svelte';
   import PolygonsPage from './pages/PolygonsPage.svelte';
   import DeletablePage from './pages/DeletablePage.svelte';
+  import AboutPage from './pages/AboutPage.svelte';
 
   $: view = $page.tab;
 
   refresh_page();
 </script>
 
-<Header/>
+<!-- deal with back-button and other user action -->
+<svelte:window on:popstate={() => refresh_page()} />
+
 {#if view === 'search'}
 <SearchPage />
 {:else if view === 'reverse'}
@@ -29,6 +30,7 @@
 <DeletablePage />
 {:else if view === 'polygons'}
 <PolygonsPage />
+{:else if view === 'about'}
+<AboutPage />
 {/if}
 <Footer/>
-<ReportIssueModal/>
