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 StatusPage from './pages/StatusPage.svelte';
14 import AboutPage from './pages/AboutPage.svelte';
21 <!-- deal with back-button and other user action -->
22 <svelte:window on:popstate={() => refresh_page()} />
24 {#if view === 'search'}
26 {:else if view === 'reverse'}
28 {:else if view === 'details'}
30 {:else if view === 'deletable'}
32 {:else if view === 'polygons'}
34 {:else if view === 'status'}
36 {:else if view === 'about'}