]> git.openstreetmap.org Git - nominatim-ui.git/commit
Make page choice more svelty (#51)
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 2 Feb 2021 21:34:55 +0000 (22:34 +0100)
committerGitHub <noreply@github.com>
Tue, 2 Feb 2021 21:34:55 +0000 (22:34 +0100)
commit76e3136f32e35ded2caf989b0bf699de64798921
tree1e0c2d4478d816a4f88faf787bc313a949ef267e
parent1b0f9da9272b9ba840730bc73120e1147a7f7450
Make page choice more svelty (#51)

* make page choice more svelty

Instead of creating pages via javascript, have svelte do that
according to a store where the current page is saved. Also
moves the code for submitting a form from the main function
into a specialised form component.
dist/build/bundle.css
dist/build/bundle.js
dist/build/bundle.js.map
src/App.svelte
src/components/SearchBar.svelte
src/components/UrlSubmitForm.svelte [new file with mode: 0644]
src/lib/stores.js
src/main.js
src/pages/SearchPage.svelte