summaryrefslogtreecommitdiff
path: root/frontend/site/app
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-04-22 19:52:03 +0200
committerJules Laplace <julescarbon@gmail.com>2021-04-22 19:52:03 +0200
commit3a97d69b84fa762313c0af3779e031c2234afbaf (patch)
treebb02c6a8e7d1316cebfb90edf7d8b914c2cfe26d /frontend/site/app
parent17ba8604b903e5f87a960ab88d34d884ff6d84d8 (diff)
replace the marquee
Diffstat (limited to 'frontend/site/app')
-rw-r--r--frontend/site/app/revisions.js14
-rw-r--r--frontend/site/app/roadblock.css20
2 files changed, 34 insertions, 0 deletions
diff --git a/frontend/site/app/revisions.js b/frontend/site/app/revisions.js
new file mode 100644
index 0000000..8d3b16e
--- /dev/null
+++ b/frontend/site/app/revisions.js
@@ -0,0 +1,14 @@
+/**
+ * In case you need to, you can make last-minute modifications to the
+ * graph before it's loaded. This might be preferable in case there
+ * are certain edits that need to be applied conditionally.
+ */
+
+import { isMobile } from "app/utils"
+
+export default function reviseGraph (graph) {
+ if (isMobile) {
+ //
+ }
+ return graph
+}
diff --git a/frontend/site/app/roadblock.css b/frontend/site/app/roadblock.css
new file mode 100644
index 0000000..0597514
--- /dev/null
+++ b/frontend/site/app/roadblock.css
@@ -0,0 +1,20 @@
+.roadblock {
+ position: fixed;
+ top: 0; left: 0;
+ display: flex;
+ width: 100vw;
+ height: 100vh;
+ justify-content: center;
+ align-items: center;
+ cursor: pointer;
+}
+.roadblock div {
+ display: inline-block;
+ text-align: center;
+}
+.roadblock h2 {
+ font-style: italic;
+}
+.roadblock button {
+ padding: 0.5rem;
+}