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