Skip to content

Commit

Permalink
declutter the sign-in/sign-up page further
Browse files Browse the repository at this point in the history
  • Loading branch information
williamstein committed Apr 23, 2019
1 parent 79db887 commit b78eb3f
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions src/smc-webapp/landing_page.cjsx
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ exports.LandingPage = rclass

# this is an info blob on the landing page, clarifying to the user that "free" is a perpetual trial
render_trial_info: ->
return # try disabling this -- it's clutter.
if not @props.is_commercial
return
<React.Fragment>
Expand All @@ -500,11 +501,13 @@ exports.LandingPage = rclass
for special options.
</div>
</Alert>
<div>
If you have any questions or comments, create a <ShowSupportLink />.
</div>
</React.Fragment>

render_support: ->
<div>
Questions? Create a <ShowSupportLink />.
</div>

render_main_page: ->
if @props.remember_me and not @props.get_api_key
# Just assume user will be signing in.
Expand Down Expand Up @@ -573,7 +576,7 @@ exports.LandingPage = rclass
<div style={ display : 'inline-block', \
backgroundImage : "url('#{topbar.img_icon}')", \
backgroundSize : 'contain', \
height : 55, width: 55, \
height : 75, width: 75, \
margin : 5,\
verticalAlign : 'center',\
backgroundRepeat : 'no-repeat'}>
Expand All @@ -584,8 +587,8 @@ exports.LandingPage = rclass
fontSize : "28px",\
top : UNIT,\
left : UNIT * 7,\
width : 250,\
height : 55,\
width : 300,\
height : 75,\
position : 'absolute',\
color : topbar.color,\
opacity : topbar.img_opacity,\
Expand Down Expand Up @@ -618,11 +621,13 @@ exports.LandingPage = rclass
/>
</Col>
<Col sm={6}>
<div style={color:"#333", fontSize:'12pt', marginTop:'5px'}>
<div style={color:"#666", fontSize:'16pt', marginTop:'5px'}>
Create a new account to the left or sign in with an existing account above.
<br/>
{@render_trial_info()}
<br/>
{@render_support()}
<br/>
{
if not @props.get_api_key
<div>
Expand Down

0 comments on commit b78eb3f

Please sign in to comment.