diff --git a/src/Gargantext/Components/Nodes/Frame.purs b/src/Gargantext/Components/Nodes/Frame.purs index ba454555d8f11ce39632329fecb1d76f2da02b92..e9a67eae84c192952584bfc6f05fbc56467f9af7 100644 --- a/src/Gargantext/Components/Nodes/Frame.purs +++ b/src/Gargantext/Components/Nodes/Frame.purs @@ -102,7 +102,17 @@ frameLayoutViewCpt = here.component "frameLayoutView" cpt NodeFrameVisio -> case WURL.fromAbsolute base of Nothing -> pure $ H.div {} [ H.text $ "Wrong base url: " <> base ] - Just url -> pure $ nodeFrameVisio { frame_id, reload, url } + Just url -> pure $ H.div {} [ H.h1 {} [ H.text "Visio Room"] + , H.a { className : "fa fa-video-camera fa-5x" + , href : hframeUrl nodeType base frame_id + , target: "_blank" + } + [] + , H.p {} [H.text "Click on the Camera logo to access to your room"] + , H.p {} [H.text "This a unique room dedicated to your team"] + , H.p {} [H.text "Works with Chromium/Chrome only for now."] + ] + -- pure $ nodeFrameVisio' { frame_id, reload, url } _ -> pure $ H.div{} [ FV.backButton {} [] @@ -145,6 +155,8 @@ nodeFrameVisioCpt = here.component "nodeFrameVisio" cpt pure $ H.div { ref, className: "jitsi-iframe" } [ ] + + type LoadProps = ( nodeId :: Int , session :: Session )