+
Here's an example cover.
+
Replace it with a more descriptive one:
+
+ - Create a new component in
components/presentational/covers.
+ - Import in in
components/Dashboard.jsx in the render function.
+
+
+
+
+
+
+)
diff --git a/src/js/utilities.js b/src/js/utilities.js
index b739bae..8d04788 100644
--- a/src/js/utilities.js
+++ b/src/js/utilities.js
@@ -132,7 +132,7 @@ export function toggleFlagAC (flag) {
...appState,
flags: {
...appState.flags,
- isCover: !appState.flags[flag]
+ [flag]: !appState.flags[flag]
}
})
}
diff --git a/src/scss/cover.scss b/src/scss/cover.scss
index ab1d94a..a033eb7 100644
--- a/src/scss/cover.scss
+++ b/src/scss/cover.scss
@@ -15,4 +15,12 @@
top: 0;
left: 0;
}
+}
+
+.default-cover-container {
+ display: flex;
+ justify-content: center;
+ flex-direction: column;
+ align-items: center;
+ height: 100%;
}
\ No newline at end of file