diff --git a/README.md b/README.md
index 32a6eb0..6c5e2e1 100644
--- a/README.md
+++ b/README.md
@@ -41,4 +41,4 @@ Thank you to [Mapbox](https://www.mapbox.com/) for sponsoring this project!
## Updates
* **January 2022**: The [global version](https://river-runner-global.samlearner.com/) of this tool is now released and in beta! While some lingering issues are resolved and it remains in beta, it can be found on this branch, while the original, US-only version is preserved [here](https://github.com/sdl60660/river-runner/tree/us-only) in Github, and at its original URL: https://river-runner.samlearner.com/. This is to avoid any breaking changes to existing share links/paths due to any discrepancies and because minor US issues persist on the global version, mainly when paths involve dams, canals, or conduits.
-If you'd like to be notified about major updates to the tool, you can sign up for an email list [here](https://tinyletter.com/samlearner)
+If you'd like to be notified about major updates to the tool, you can sign up for an email list [here](https://tinyletter.com/samlearner).
diff --git a/package.json b/package.json
index ea86bd1..ba6e091 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "river-runner",
- "version": "2.2.2",
+ "version": "2.3.0",
"private": true,
"author": "Sam Learner",
"repository": {
@@ -21,12 +21,14 @@
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-svelte3": "^3.2.0",
+ "node-sass": "^7.0.1",
"rollup": "^2.3.4",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-svelte": "^7.0.0",
"rollup-plugin-terser": "^7.0.0",
- "svelte": "^3.0.0"
+ "svelte": "^3.0.0",
+ "svelte-preprocess": "^4.10.7"
},
"dependencies": {
"@rollup/plugin-json": "^4.1.0",
@@ -53,7 +55,7 @@
"d3-fetch": "^2.0.0",
"dateformat": "^4.5.1",
"fast-xml-parser": "^3.19.0",
- "mapbox-gl": "2.3",
+ "mapbox-gl": "^2.9.1",
"node-html-parser": "^3.3.5",
"scrollama": "^2.2.2",
"sirv-cli": "^1.0.0",
diff --git a/rollup.config.js b/rollup.config.js
index b0caf07..ee32619 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -6,6 +6,9 @@ import { terser } from 'rollup-plugin-terser';
import css from 'rollup-plugin-css-only';
import json from '@rollup/plugin-json';
+import autoPreprocess from 'svelte-preprocess';
+
+
const production = !process.env.ROLLUP_WATCH;
function serve() {
@@ -42,7 +45,8 @@ export default {
compilerOptions: {
// enable run-time checks when not in production
// dev: !production
- }
+ },
+ preprocess: autoPreprocess()
}),
// we'll extract any component CSS out into
// a separate file - better for performance
diff --git a/src/components/CloseButton.svelte b/src/components/CloseButton.svelte
index c9beb46..2ebb84e 100644
--- a/src/components/CloseButton.svelte
+++ b/src/components/CloseButton.svelte
@@ -1,96 +1,101 @@
+
+
+
-
-
-
-
\ No newline at end of file
diff --git a/src/components/ContactBox.svelte b/src/components/ContactBox.svelte
index 73220fc..43c2d48 100644
--- a/src/components/ContactBox.svelte
+++ b/src/components/ContactBox.svelte
@@ -40,19 +40,33 @@
Sources: The data used in this project comes from the
River Runner API, which is based on several open source projects and
- datasets and developed by
- Dave Blodgett,
- Kyle Onda, and
- Ben Webb.
- Learn about it
+ datasets and developed by
+ Dave Blodgett,
+ Kyle Onda, and
+ Ben Webb. Learn about it
here.
-
-
Code and data for this project lives
- here. Thank you to Mapbox for sponsoring.
+ >.
+
+
+
+ Code and data for this project lives
+ here. Thank you to
+ Mapbox for
+ sponsoring.