From 0e5091adba3089c0b8e35e473b0a19f8ee36982e Mon Sep 17 00:00:00 2001 From: Tudor-Ovidiu Avram Date: Mon, 29 Jun 2020 10:45:58 +0300 Subject: [PATCH] feat(prejoin) Expose prejoin app --- css/_premeeting-screens.scss | 24 ++-- index.html | 10 ++ react/features/base/app/components/BaseApp.js | 4 +- .../components/web/PreMeetingScreen.js | 36 ++++- .../base/premeeting/components/web/Preview.js | 37 ++++-- react/features/base/tracks/functions.js | 85 +++++++++++- react/features/base/tracks/middleware.js | 4 + react/features/prejoin/components/Prejoin.js | 123 +++++++++++------- .../features/prejoin/components/PrejoinApp.js | 93 +++++++++++++ react/index.web.js | 23 +++- static/prejoin.html | 41 ++++++ 11 files changed, 400 insertions(+), 80 deletions(-) create mode 100644 react/features/prejoin/components/PrejoinApp.js create mode 100644 static/prejoin.html diff --git a/css/_premeeting-screens.scss b/css/_premeeting-screens.scss index de1f76afa..7f490b867 100644 --- a/css/_premeeting-screens.scss +++ b/css/_premeeting-screens.scss @@ -1,17 +1,21 @@ /** * Shared style for full screen local track based dialogs/modals. */ -.premeeting-screen { + .premeeting-screen, + .preview-overlay { + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + } + + .premeeting-screen { align-items: stretch; - background: #1C2025; - bottom: 0; + background: radial-gradient(50% 50% at 50% 50%, #5D95C7 0%, #376288 100%), #FFFFFF; display: flex; flex-direction: column; font-size: 1.3em; - left: 0; - position: absolute; - right: 0; - top: 0; z-index: $toolbarZ + 1; .action-btn { @@ -74,9 +78,13 @@ } } + .preview-overlay { + background-image: linear-gradient(transparent, black); + z-index: $toolbarZ + 1; + } + .content { align-items: center; - background-image: linear-gradient(transparent, black); display: flex; flex: 1; flex-direction: column; diff --git a/index.html b/index.html index 30cea926e..2a222ae99 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,17 @@ + + + + + + + + +
+ +