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 Header from './components/Header.svelte';
8 import Footer from './components/Footer.svelte';
9 import ReportIssueModal from './components/ReportIssueModal.svelte';
10 import SearchPage from './pages/SearchPage.svelte';
11 import ReversePage from './pages/ReversePage.svelte';
12 import DetailsPage from './pages/DetailsPage.svelte';
13 import PolygonsPage from './pages/PolygonsPage.svelte';
14 import DeletablePage from './pages/DeletablePage.svelte';
21 // deal with back-button and other user action
22 <svelte:window on:popstate={refresh_page} />
25 {#if view === 'search'}
27 {:else if view === 'reverse'}
29 {:else if view === 'details'}
31 {:else if view === 'deletable'}
33 {:else if view === 'polygons'}