fix: re-order and update sign in CTA styles on completion modal (#37884)
This commit is contained in:
@@ -216,6 +216,16 @@ export class CompletionModalInner extends Component {
|
|||||||
/>
|
/>
|
||||||
</Modal.Body>
|
</Modal.Body>
|
||||||
<Modal.Footer>
|
<Modal.Footer>
|
||||||
|
{isSignedIn ? null : (
|
||||||
|
<Login
|
||||||
|
block={true}
|
||||||
|
bsSize='lg'
|
||||||
|
bsStyle='primary'
|
||||||
|
className='btn-cta'
|
||||||
|
>
|
||||||
|
Sign in to save your progress
|
||||||
|
</Login>
|
||||||
|
)}
|
||||||
<Button
|
<Button
|
||||||
block={true}
|
block={true}
|
||||||
bsSize='large'
|
bsSize='large'
|
||||||
@@ -225,16 +235,6 @@ export class CompletionModalInner extends Component {
|
|||||||
{isSignedIn ? 'Submit and g' : 'G'}o to next challenge{' '}
|
{isSignedIn ? 'Submit and g' : 'G'}o to next challenge{' '}
|
||||||
<span className='hidden-xs'>(Ctrl + Enter)</span>
|
<span className='hidden-xs'>(Ctrl + Enter)</span>
|
||||||
</Button>
|
</Button>
|
||||||
{isSignedIn ? null : (
|
|
||||||
<Login
|
|
||||||
block={true}
|
|
||||||
bsSize='lg'
|
|
||||||
bsStyle='primary'
|
|
||||||
className='btn-invert'
|
|
||||||
>
|
|
||||||
Sign in to save your progress
|
|
||||||
</Login>
|
|
||||||
)}
|
|
||||||
{this.state.downloadURL ? (
|
{this.state.downloadURL ? (
|
||||||
<Button
|
<Button
|
||||||
block={true}
|
block={true}
|
||||||
|
Reference in New Issue
Block a user