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 SearchPage from './pages/SearchPage.svelte';
9 import ReversePage from './pages/ReversePage.svelte';
10 import DetailsPage from './pages/DetailsPage.svelte';
11 import PolygonsPage from './pages/PolygonsPage.svelte';
12 import DeletablePage from './pages/DeletablePage.svelte';
13 import AboutPage from './pages/AboutPage.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'}
33 {:else if view === 'about'}