Updated invite-only styles

This commit is contained in:
Peter Zimon 2021-04-28 12:40:52 +02:00
parent a1506b824f
commit 4a0f3c2403
3 changed files with 11 additions and 2 deletions

View File

@ -16,7 +16,7 @@ const DEV_MODE_DATA = {
showPopup: true,
site: Fixtures.site,
member: Fixtures.member.paid,
page: 'accountHome'
page: 'signup'
};
export default class App extends React.Component {
constructor(props) {

View File

@ -76,6 +76,10 @@ export const SignupPageStyles = `
background-attachment: local,local,scroll,scroll;
}
.gh-portal-content.signup.invite-only {
background: none;
}
footer.gh-portal-signup-footer,
footer.gh-portal-signin-footer {
padding-top: 24px;
@ -123,6 +127,10 @@ export const SignupPageStyles = `
height: unset;
}
footer.gh-portal-signup-footer.invite-only .gh-portal-signup-message {
margin-top: 0;
}
.gh-portal-invite-only-notification {
margin: 8px 32px;
padding: 0;
@ -474,6 +482,7 @@ class SignupPage extends React.Component {
}
if (plansData.length === 0) {
footerClass = 'invite-only';
sectionClass = 'invite-only';
}
} else {
sectionClass = 'singleplan';

View File

@ -15,7 +15,7 @@ export const site = {
is_stripe_configured: true,
portal_button: true,
portal_name: true,
portal_plans: ['monthly', 'yearly'],
portal_plans: [''],
portal_button_icon: 'icon-1',
portal_button_signup_text: 'Subscribe now',
portal_button_style: 'icon-and-text',