From f6bc505597463cc8f593e00d74b421175a69f7f3 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 28 Jul 2020 00:20:51 +0200 Subject: some fullscreen elements fading in... --- .../player/components.fullscreen/fullscreen.utility.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js (limited to 'animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js') diff --git a/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js b/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js new file mode 100644 index 0000000..c86236d --- /dev/null +++ b/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.utility.js @@ -0,0 +1,18 @@ +import React from 'react' + +export const Curtain = ({ element, transitionDuration }) => { + // console.log(element, isEntering) + const { color } = element + const style = { + backgroundColor: color.backgroundColor, + color: color.textColor, + transitionDuration, + } + return ( +
+
+ ) +} -- cgit v1.2.3-70-g09d2