From 3a97d69b84fa762313c0af3779e031c2234afbaf Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 22 Apr 2021 19:52:03 +0200 Subject: replace the marquee --- frontend/site/app/revisions.js | 14 ++++++++++++++ frontend/site/app/roadblock.css | 20 ++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 frontend/site/app/revisions.js create mode 100644 frontend/site/app/roadblock.css (limited to 'frontend/site/app') 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; +} -- cgit v1.2.3-70-g09d2