Commit graph

16 commits

Author SHA1 Message Date
Snorre Magnus Davøen 068db211d5 Uses Fuse.js fuzzy search to filter municipalities
Instead of using naive string search to filter the muncipalities we
can use the fuzzy search library Fuse.js to filter them. This way
incorrect spelling of municipality names won't stop the user from
getting the results she is looking for.

Fuse.js http://fusejs.io/ contains no dependencies and is quite light
weight. This makes it a good library for such a simple site.

Signed-off-by: Snorre Magnus Davøen <snorremd@gmail.com>
2017-07-21 15:27:07 +02:00
Nils Norman Haukås ce3e972505 generate api.json into public/ folder instead 2017-07-13 22:24:44 +02:00
Nils Norman Haukås 2b57f3d14e bugfix npm run build:api command 2017-07-13 22:18:42 +02:00
Nils Norman Haukås 4ba9ac4a77 bake logo url generation into data folder. Add api setup 2017-07-13 22:08:06 +02:00
Nils Norman Haukås 5b4abecf5c Persist state to url 2017-07-13 21:13:09 +02:00
Nils Norman Haukås 42c9fec9d8 update links 2017-07-13 18:29:27 +02:00
Nils Norman Haukås 1b32f4e4ab update homepage url 2017-07-13 18:03:21 +02:00
Nils Norman Haukås 9fcae22ecc change homepage url 2017-07-13 17:54:45 +02:00
Nils Norman Haukås 68468c1bf1 update homepage reference 2017-07-13 17:47:43 +02:00
Nils Norman Haukås 15ab2c2269 add gh-page dependency. Add deploy script 2017-07-13 17:34:05 +02:00
Nils Norman Haukås d5e68777d4 use kommunelogo word everywhere 2017-07-13 17:31:48 +02:00
Nils Norman Haukås 16498379d6 add cabin and droidsans fonts into the mix 2017-07-13 16:50:27 +02:00
Nils Norman Haukås d66041d806 add responsivity 2017-07-13 02:07:45 +02:00
Nils Norman Haukås 1026ec08b3 refactor. Add municipality resource file. 2017-07-12 20:15:27 +02:00
Nils Norman Haukås 07fb03069d Add innuitcss. More refactor 2017-07-12 19:29:58 +02:00
Nils Norman Haukås 1b39668abb initial commit 2017-07-12 15:49:23 +02:00