From a5773f1d0b930515cd7b533164538e2addbea4db Mon Sep 17 00:00:00 2001 From: Lyubomir Marinov Date: Sun, 11 Dec 2016 17:41:14 -0600 Subject: [PATCH] [RN] Links to Send feedback and Privacy (policy) --- .../welcome/components/WelcomePage.native.js | 54 +++++++++++++++---- react/features/welcome/components/styles.js | 2 + 2 files changed, 46 insertions(+), 10 deletions(-) diff --git a/react/features/welcome/components/WelcomePage.native.js b/react/features/welcome/components/WelcomePage.native.js index e3be120f37..647c0a3e6b 100644 --- a/react/features/welcome/components/WelcomePage.native.js +++ b/react/features/welcome/components/WelcomePage.native.js @@ -9,10 +9,19 @@ import { AbstractWelcomePage, mapStateToProps } from './AbstractWelcomePage'; import { styles } from './styles'; /** - * The URL at which the terms and conditions (of service) are available to the - * user. + * The URL at which the privacy policy is available to the user. */ -const TERMS_AND_CONDITIONS_URL = 'https://jitsi.org/meet/terms'; +const PRIVACY_URL = 'https://jitsi.org/meet/privacy'; + +/** + * The URL at which the user may send feedback. + */ +const SEND_FEEDBACK_URL = 'mailto:support@jitsi.org'; + +/** + * The URL at which the terms (of service/use) are available to the user. + */ +const TERMS_URL = 'https://jitsi.org/meet/terms'; /** * The native container rendering the welcome page. @@ -45,6 +54,35 @@ class WelcomePage extends AbstractWelcomePage { ); } + /** + * Renders legal-related content such as Terms of service/use, Privacy + * policy, etc. + * + * @private + * @returns {ReactElement} + */ + _renderLegalese() { + return ( + + + Terms + + + Privacy + + + Send feedback + + + ); + } + /** * Renders a View over the local video. The latter is thought of as the * background (content) of this WelcomePage. The former is thought of as the @@ -75,13 +113,9 @@ class WelcomePage extends AbstractWelcomePage { JOIN - - - Terms and Conditions - - + { + this._renderLegalese() + } ); } diff --git a/react/features/welcome/components/styles.js b/react/features/welcome/components/styles.js index 3bf17f57b2..7bc808640c 100644 --- a/react/features/welcome/components/styles.js +++ b/react/features/welcome/components/styles.js @@ -46,6 +46,7 @@ export const styles = createStyleSheet({ * Policy and Terms of Service displayed on the WelcomePage. */ legaleseContainer: { + alignItems: 'center', flex: 0, flexDirection: 'row', justifyContent: 'center' @@ -57,6 +58,7 @@ export const styles = createStyleSheet({ */ legaleseItem: { color: TEXT_COLOR, + fontSize: 12, margin: BoxModel.margin },