Simplify menu to icons
This commit is contained in:
parent
bad09f54b4
commit
844a2c9158
|
@ -138,7 +138,7 @@ function App() {
|
||||||
<Menu>
|
<Menu>
|
||||||
<Container>
|
<Container>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
content='Home'
|
icon='home'
|
||||||
as={Link}
|
as={Link}
|
||||||
to='/'
|
to='/'
|
||||||
/>
|
/>
|
||||||
|
@ -212,9 +212,9 @@ function App() {
|
||||||
|
|
||||||
{user && <Menu.Menu position='right'>
|
{user && <Menu.Menu position='right'>
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
content={yousure ? 'You Sure?' : 'Log Out'}
|
content={yousure ? 'Sign out?' : ''}
|
||||||
onClick={logout}
|
onClick={logout}
|
||||||
icon='cancel'
|
icon='sign out'
|
||||||
/>
|
/>
|
||||||
<Menu.Item fitted content='' />
|
<Menu.Item fitted content='' />
|
||||||
</Menu.Menu>}
|
</Menu.Menu>}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user