X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/7318ebd2ec5a7230e45ba97b024fe021baef1572..be6a0daa34e44ab6ba65465769190a88b841e3d6:/src/App.svelte?ds=sidebyside diff --git a/src/App.svelte b/src/App.svelte index f295c69..98ba029 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1,14 +1,39 @@ + 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; + + refresh_page(); + + + + refresh_page()} /> -
-
+{#if view === 'search'} + +{:else if view === 'reverse'} + +{:else if view === 'details'} + +{:else if view === 'deletable'} + +{:else if view === 'polygons'} + +{:else if view === 'status'} + +{:else if view === 'about'} + +{/if}