X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/d6452c758bd00519efc390b5971d8c4e5aaa4267..dbcfea8d6f79d07de57e153bc28a4c3afb6e8448:/src/App.svelte

diff --git a/src/App.svelte b/src/App.svelte
index 54cad5d..98ba029 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -4,14 +4,14 @@
 
   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 StatusPage from './pages/StatusPage.svelte';
+  import AboutPage from './pages/AboutPage.svelte';
 
   $: view = $page.tab;
 
@@ -19,9 +19,8 @@
 </script>
 
 <!-- deal with back-button and other user action -->
-<svelte:window on:popstate={refresh_page} />
+<svelte:window on:popstate={() => refresh_page()} />
 
-<Header/>
 {#if view === 'search'}
 <SearchPage />
 {:else if view === 'reverse'}
@@ -32,6 +31,9 @@
 <DeletablePage />
 {:else if view === 'polygons'}
 <PolygonsPage />
+{:else if view === 'status'}
+<StatusPage />
+{:else if view === 'about'}
+<AboutPage />
 {/if}
 <Footer/>
-<ReportIssueModal/>
