Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

animated gif for modal, remove unused images, update modal styling

Jason Kent219ec5dc1d57
diff --git a/web/css/geostationary-modal.css b/web/css/geostationary-modal.css
new file mode 100644
index 000000000..387dfe660
--- /dev/null
+++ b/web/css/geostationary-modal.css
@@ -0,0 +1,19 @@
+.geostationary-modal {
+ & img {
+ display: block;
+ margin: 0 auto 10px;
+ }
+ & p {
+ margin-bottom: 10px;
+ }
+ & button {
+ background: #295f92;
+ margin-left: auto;
+ margin-right: auto;
+ width: 200px;
+ display: block;
+ &:hover {
+ background: #295f92;
+ }
+ }
+}
diff --git a/web/images/geostationary.gif b/web/images/geostationary.gif
new file mode 100644
index 000000000..7cc94849c
Binary files /dev/null and b/web/images/geostationary.gif differ
diff --git a/web/images/geostationary/animation.png b/web/images/geostationary/animation.png
deleted file mode 100644
index 0f5da667a..000000000
Binary files a/web/images/geostationary/animation.png and /dev/null differ
diff --git a/web/images/geostationary/featured.png b/web/images/geostationary/featured.png
deleted file mode 100644
index 3a352f47f..000000000
Binary files a/web/images/geostationary/featured.png and /dev/null differ
diff --git a/web/images/geostationary/timeline.png b/web/images/geostationary/timeline.png
deleted file mode 100644
index e7ad7e5c1..000000000
Binary files a/web/images/geostationary/timeline.png and /dev/null differ
diff --git a/web/js/app.js b/web/js/app.js
index b2f23bf16..b467238e2 100644
--- a/web/js/app.js
+++ b/web/js/app.js
@@ -77,6 +77,7 @@ import '../css/modal.css';
import '../css/measure.css';
import '../css/list.css';
import '../css/vectorMeta.css';
+import '../css/geostationary-modal.css';
import '../pages/css/document.css';
import { keyPress } from './modules/key-press/actions';
diff --git a/web/js/components/feature-alert/alert.js b/web/js/components/feature-alert/alert.js
index dd37cb3b8..1029a9e0b 100644
--- a/web/js/components/feature-alert/alert.js
+++ b/web/js/components/feature-alert/alert.js
@@ -45,7 +45,7 @@ const mapDispatchToProps = (dispatch) => ({
showModal: () => {
dispatch(
openCustomContent('geostationary_info', {
- headerText: 'New - Geostationary Layers',
+ headerText: 'New: Geostationary Layers',
backdrop: false,
size: 'md',
wrapClassName: 'clickable-behind-modal',
diff --git a/web/js/components/feature-alert/geostationary-modal.js b/web/js/components/feature-alert/geostationary-modal.js
index dc5503216..34be7aea8 100644
--- a/web/js/components/feature-alert/geostationary-modal.js
+++ b/web/js/components/feature-alert/geostationary-modal.js
@@ -15,7 +15,8 @@ class GeostationaryModalBody extends React.Component {
render() {
return (
- <div className="compare-dialog">
+ <div className="geostationary-modal">
+ <img src="images/geostationary.gif" className="mx-auto"/>
<p>
Our latest release includes new layers from geostationary satellites –
GOES East, GOES West and Himawari-8. Find these new layers in the new
@@ -42,7 +43,7 @@ class GeostationaryModalBody extends React.Component {
</p>
<Button
- className="btn-lg btn-primary mx-auto w-100"
+ className="btn btn-lg"
onClick={this.tryIt.bind(this)}>
Try it!
</Button>