fix: re-order and update sign in CTA styles on completion modal (#37884)

This commit is contained in:
Parth Parth
2019-12-16 17:10:55 +05:30
committed by mrugesh
parent 616d96f612
commit 9ad5a95197

View File

@@ -216,6 +216,16 @@ export class CompletionModalInner extends Component {
/>
</Modal.Body>
<Modal.Footer>
{isSignedIn ? null : (
<Login
block={true}
bsSize='lg'
bsStyle='primary'
className='btn-cta'
>
Sign in to save your progress
</Login>
)}
<Button
block={true}
bsSize='large'
@@ -225,16 +235,6 @@ export class CompletionModalInner extends Component {
{isSignedIn ? 'Submit and g' : 'G'}o to next challenge{' '}
<span className='hidden-xs'>(Ctrl + Enter)</span>
</Button>
{isSignedIn ? null : (
<Login
block={true}
bsSize='lg'
bsStyle='primary'
className='btn-invert'
>
Sign in to save your progress
</Login>
)}
{this.state.downloadURL ? (
<Button
block={true}