add icons to top bar navigation

This commit is contained in:
Iuri Matias 2018-10-17 14:34:20 -04:00 committed by Pascal Precht
parent 6fd6988b0f
commit c2eaa80923
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 4 additions and 2 deletions

View File

@ -54,7 +54,10 @@ const Layout = ({children, logout, credentials, location, toggleTheme, currentTh
{sidebarNavItems.items.map((item) => {
return (
<NavItem className="px-3">
<NavLink href={item.url}>{item.name}</NavLink>
<NavLink href={item.url}>
<i className={item.icon}>&nbsp;</i>
{item.name}
</NavLink>
</NavItem>
)
})}
@ -91,7 +94,6 @@ const Layout = ({children, logout, credentials, location, toggleTheme, currentTh
</AppAside>
</div>
<AppFooter>
<span className="ml-auto">
Embark&nbsp;
<a href="https://embark.status.im" title="Documentation" rel="noopener noreferrer" target="_blank">Documentation</a>