feat: add settings button to learn

pull/37392/head
Ahmad Abdolsaheb 2019-10-22 14:51:00 +03:00 committed by Mrugesh Mohapatra
parent 1606502784
commit d7ad40688a
2 changed files with 27 additions and 6 deletions

View File

@ -50,12 +50,22 @@ function Intro({
</Col>
<Col sm={10} smOffset={1} xs={12}>
<Spacer />
<button
className={'btn-primary btn center-block'}
onClick={() => gatsbyNavigate(`/${username}`)}
>
View your Portfolio and Settings
</button>
<div className='btn-group-wrap'>
<div className='btn-group' role='group'>
<button
className={'btn-primary btn'}
onClick={() => gatsbyNavigate(`/${username}`)}
>
View my Portfolio
</button>
<button
className={'btn-primary btn'}
onClick={() => gatsbyNavigate(`/settings`)}
>
Update my settings
</button>
</div>
</div>
</Col>
</Row>
<Spacer />

View File

@ -33,6 +33,17 @@
text-align: center;
}
#learn-app-wrapper div.btn-group {
display: flex;
justify-items: center;
}
#learn-app-wrapper .btn-group-wrap {
text-align: center;
display: flex;
justify-content: center;
}
.quote-partial .blockquote {
font-size: 1.3rem;
border: none;