2 import 'bootstrap/dist/css/bootstrap.css';
3 import 'bootstrap/dist/js/bootstrap.bundle.js';
5 import { page, refresh_page } from './lib/stores.js';
7 import Footer from './components/Footer.svelte';
8 import ReportIssueModal from './components/ReportIssueModal.svelte';
9 import SearchPage from './pages/SearchPage.svelte';
10 import ReversePage from './pages/ReversePage.svelte';
11 import DetailsPage from './pages/DetailsPage.svelte';
12 import PolygonsPage from './pages/PolygonsPage.svelte';
13 import DeletablePage from './pages/DeletablePage.svelte';
20 <!-- deal with back-button and other user action -->
21 <svelte:window on:popstate={() => refresh_page()} />
23 {#if view === 'search'}
25 {:else if view === 'reverse'}
27 {:else if view === 'details'}
29 {:else if view === 'deletable'}
31 {:else if view === 'polygons'}