feat(PromotionalFooter): Implement
This commit is contained in:
parent
c354e46846
commit
ae30d39b4d
|
@ -0,0 +1 @@
|
||||||
|
/** Insert custom CSS for any additional content in the promotional footer **/
|
|
@ -220,4 +220,39 @@ $welcomePageButtonLineHeight: 35px;
|
||||||
* Deep-linking page variables.
|
* Deep-linking page variables.
|
||||||
*/
|
*/
|
||||||
$deepLinkingMobileLogoHeight: 40px;
|
$deepLinkingMobileLogoHeight: 40px;
|
||||||
|
|
||||||
$deepLinkingMobileHeaderBackground: #f1f2f5;
|
$deepLinkingMobileHeaderBackground: #f1f2f5;
|
||||||
|
|
||||||
|
$deepLinkingMobileLinkColor: inherit;
|
||||||
|
$deepLinkingMobileTextFontSize: inherit;
|
||||||
|
$deepLinkingMobileTextLineHeight: inherit;
|
||||||
|
|
||||||
|
$deepLinkingDialInConferenceIdMargin: 10px 0 10px 0;
|
||||||
|
$deepLinkingDialInConferenceIdPadding: inherit;
|
||||||
|
$deepLinkingDialInConferenceIdBackgroundColor: inherit;
|
||||||
|
$deepLinkingDialInConferenceIdBorderRadius: inherit;
|
||||||
|
|
||||||
|
$deepLinkingDialInConferenceNameFontSize: inherit;
|
||||||
|
$deepLinkingDialInConferenceNameLineHeight: inherit;
|
||||||
|
$deepLinkingDialInConferenceNameMarginBottom: none;
|
||||||
|
$deepLinkingDialInConferenceNameFontWeight: inherit;
|
||||||
|
|
||||||
|
$deepLinkingDialInConferenceDescriptionFontSize: 0.8em;
|
||||||
|
$deepLinkingDialInConferenceDescriptionLineHeight: inherit;
|
||||||
|
$deepLinkingDialInConferenceDescriptionMarginBottom: none;
|
||||||
|
|
||||||
|
$deepLinkingDialInConferencePinFontSize: inherit;
|
||||||
|
$deepLinkingDialInConferencePinLineHeight: inherit;
|
||||||
|
|
||||||
|
$depLinkingMobileHrefLineHeight: 2.2857142857142856em;
|
||||||
|
$deepLinkingMobileHrefFontWeight: bolder;
|
||||||
|
$deepLinkingMobileHrefFontSize: inherit;
|
||||||
|
|
||||||
|
$deepLinkingMobileButtonHeight: 2.2857142857142856em;
|
||||||
|
$deepLinkingMobileButtonLineHeight: 2.2857142857142856em;
|
||||||
|
$deepLinkingMobileButtonMargin: 18px auto 10px;
|
||||||
|
$deepLinkingMobileButtonWidth: auto;
|
||||||
|
$deepLinkingMobileButtonFontWeight: bold;
|
||||||
|
$deepLinkingMobileButtonFontSize: inherit;
|
||||||
|
|
||||||
|
$primaryDeepLinkingMobileButtonBorderRadius: inherit;
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none
|
text-decoration: none;
|
||||||
|
color: $deepLinkingMobileLinkColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__body {
|
&__body {
|
||||||
|
@ -41,6 +42,8 @@
|
||||||
|
|
||||||
&__text {
|
&__text {
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
|
font-size: $deepLinkingMobileTextFontSize;
|
||||||
|
line-height: $deepLinkingMobileTextLineHeight;
|
||||||
padding: 10px 10px 0px 10px;
|
padding: 10px 10px 0px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,11 +68,28 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.dial-in-conference-id {
|
.dial-in-conference-id {
|
||||||
margin: 10px 0 10px 0;
|
margin: $deepLinkingDialInConferenceIdMargin;
|
||||||
|
padding: $deepLinkingDialInConferenceIdPadding;
|
||||||
|
background-color: $deepLinkingDialInConferenceIdBackgroundColor;
|
||||||
|
border-radius: $deepLinkingDialInConferenceIdBorderRadius;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dial-in-conference-name {
|
||||||
|
font-size: $deepLinkingDialInConferenceNameFontSize;
|
||||||
|
line-height: $deepLinkingDialInConferenceNameLineHeight;
|
||||||
|
margin-bottom: $deepLinkingDialInConferenceNameMarginBottom;
|
||||||
|
font-weight: $deepLinkingDialInConferenceNameFontWeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dial-in-conference-description {
|
.dial-in-conference-description {
|
||||||
font-size: 0.8em;
|
font-size: $deepLinkingDialInConferenceDescriptionFontSize;
|
||||||
|
line-height: $deepLinkingDialInConferenceDescriptionLineHeight;
|
||||||
|
margin-bottom: $deepLinkingDialInConferenceDescriptionMarginBottom;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dial-in-conference-pin {
|
||||||
|
font-size: $deepLinkingDialInConferencePinFontSize;
|
||||||
|
line-height: $deepLinkingDialInConferencePinLineHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toll-free-list {
|
.toll-free-list {
|
||||||
|
@ -88,25 +108,27 @@
|
||||||
|
|
||||||
&__href {
|
&__href {
|
||||||
height: 2.2857142857142856em;
|
height: 2.2857142857142856em;
|
||||||
line-height: 2.2857142857142856em;
|
line-height: $depLinkingMobileHrefLineHeight;
|
||||||
margin: 18px auto 20px;
|
margin: 18px auto 20px;
|
||||||
max-width: 300px;
|
max-width: 300px;
|
||||||
width: auto;
|
width: auto;
|
||||||
font-weight: bolder;
|
font-weight: $deepLinkingMobileHrefFontWeight;
|
||||||
|
font-size: $deepLinkingMobileHrefFontSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__button {
|
&__button {
|
||||||
border: 0;
|
border: 0;
|
||||||
height: 2.2857142857142856em;
|
height: $deepLinkingMobileButtonHeight;
|
||||||
line-height: 2.2857142857142856em;
|
line-height: $deepLinkingMobileButtonLineHeight;
|
||||||
margin: 18px auto 10px;
|
margin: $deepLinkingMobileButtonMargin;
|
||||||
padding: 0px 10px 0px 10px;
|
padding: 0px 10px 0px 10px;
|
||||||
max-width: 300px;
|
max-width: 300px;
|
||||||
width: auto;
|
width: $deepLinkingMobileButtonWidth;
|
||||||
@include border-radius(3px);
|
@include border-radius(3px);
|
||||||
background-color: $unsupportedBrowserButtonBgColor;
|
background-color: $unsupportedBrowserButtonBgColor;
|
||||||
color: #505F79;
|
color: #505F79;
|
||||||
font-weight: bold;
|
font-weight: $deepLinkingMobileButtonFontWeight;
|
||||||
|
font-size: $deepLinkingMobileButtonFontSize;
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
background-color: $unsupportedBrowserButtonBgColor;
|
background-color: $unsupportedBrowserButtonBgColor;
|
||||||
|
@ -115,7 +137,7 @@
|
||||||
&_primary {
|
&_primary {
|
||||||
background-color: $primaryUnsupportedBrowserButtonBgColor;
|
background-color: $primaryUnsupportedBrowserButtonBgColor;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
|
border-radius: $primaryDeepLinkingMobileButtonBorderRadius;
|
||||||
&:active {
|
&:active {
|
||||||
background-color: $primaryUnsupportedBrowserButtonBgColor;
|
background-color: $primaryUnsupportedBrowserButtonBgColor;
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,5 +84,6 @@ $flagsImagePath: "../images/";
|
||||||
@import 'third-party-branding/google';
|
@import 'third-party-branding/google';
|
||||||
@import 'third-party-branding/microsoft';
|
@import 'third-party-branding/microsoft';
|
||||||
@import 'avatar';
|
@import 'avatar';
|
||||||
|
@import 'promotional-footer';
|
||||||
|
|
||||||
/* Modules END */
|
/* Modules END */
|
||||||
|
|
|
@ -10,6 +10,7 @@ import { DialInSummary } from '../../invite';
|
||||||
|
|
||||||
import { _TNS } from '../constants';
|
import { _TNS } from '../constants';
|
||||||
import { generateDeepLinkingURL } from '../functions';
|
import { generateDeepLinkingURL } from '../functions';
|
||||||
|
import { renderPromotionalFooter } from '../renderPromotionalFooter';
|
||||||
|
|
||||||
declare var interfaceConfig: Object;
|
declare var interfaceConfig: Object;
|
||||||
|
|
||||||
|
@ -130,6 +131,7 @@ class DeepLinkingMobilePage extends Component<Props> {
|
||||||
{ t(`${_TNS}.openApp`) }
|
{ t(`${_TNS}.openApp`) }
|
||||||
{/* </button> */}
|
{/* </button> */}
|
||||||
</a>
|
</a>
|
||||||
|
{ renderPromotionalFooter() }
|
||||||
<DialInSummary
|
<DialInSummary
|
||||||
className = 'deep-linking-dial-in'
|
className = 'deep-linking-dial-in'
|
||||||
clickableNumbers = { true }
|
clickableNumbers = { true }
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
// @flow
|
||||||
|
/**
|
||||||
|
* Method used in order to render a custom promotional footer.
|
||||||
|
*
|
||||||
|
* @returns {HTMLElement}
|
||||||
|
*/
|
||||||
|
export function renderPromotionalFooter() {
|
||||||
|
return null;
|
||||||
|
}
|
Loading…
Reference in New Issue