feat: render nav conditionally

This commit is contained in:
Ahmad Abdolsaheb
2020-09-03 14:21:16 +03:00
committed by Mrugesh Mohapatra
parent 422bacd15d
commit 1a66eac990
29 changed files with 640 additions and 180 deletions

View File

@@ -15,7 +15,7 @@ import {
import { submitNewAbout, updateUserFlag, verifyCert } from '../redux/settings';
import { createFlashMessage } from '../components/Flash/redux';
import { FullWidthRow, Link, Loader, Spacer } from '../components/helpers';
import { FullWidthRow, Loader, Spacer } from '../components/helpers';
import About from '../components/settings/About';
import Privacy from '../components/settings/Privacy';
import Email from '../components/settings/Email';
@@ -177,13 +177,7 @@ export function ShowSettings(props) {
<Grid>
<main>
<Spacer size={2} />
<FullWidthRow className='button-group'>
<Link
className='btn-invert btn btn-lg btn-primary btn-block'
to={`/${username}`}
>
Show me my public portfolio
</Link>
<FullWidthRow>
<Button
block={true}
bsSize='lg'