|
@ -35,7 +35,7 @@ const MainLayoutMenu = () => { |
|
|
link |
|
|
link |
|
|
name="home" |
|
|
name="home" |
|
|
key="home" |
|
|
key="home" |
|
|
onClick={() => { history.push('/'); }} |
|
|
onClick={() => history.push('/')} |
|
|
> |
|
|
> |
|
|
<img src={appLogo} alt="app_logo" /> |
|
|
<img src={appLogo} alt="app_logo" /> |
|
|
</Menu.Item> |
|
|
</Menu.Item> |
|
@ -45,7 +45,7 @@ const MainLayoutMenu = () => { |
|
|
link |
|
|
link |
|
|
name="create-topic" |
|
|
name="create-topic" |
|
|
key="create-topic" |
|
|
key="create-topic" |
|
|
onClick={() => { history.push('/topics/new'); }} |
|
|
onClick={() => history.push('/topics/new')} |
|
|
position="right" |
|
|
position="right" |
|
|
> |
|
|
> |
|
|
{t('topbar.button.create.topic')} |
|
|
{t('topbar.button.create.topic')} |
|
@ -57,7 +57,7 @@ const MainLayoutMenu = () => { |
|
|
link |
|
|
link |
|
|
name="profile" |
|
|
name="profile" |
|
|
key="profile" |
|
|
key="profile" |
|
|
onClick={() => { history.push('/profile'); }} |
|
|
onClick={() => history.push('/profile')} |
|
|
> |
|
|
> |
|
|
{t('topbar.button.profile')} |
|
|
{t('topbar.button.profile')} |
|
|
</Menu.Item> |
|
|
</Menu.Item> |
|
@ -67,11 +67,19 @@ const MainLayoutMenu = () => { |
|
|
link |
|
|
link |
|
|
name="register" |
|
|
name="register" |
|
|
key="register" |
|
|
key="register" |
|
|
onClick={() => { history.push('/auth/register'); }} |
|
|
onClick={() => history.push('/auth/register')} |
|
|
> |
|
|
> |
|
|
{t('topbar.button.register')} |
|
|
{t('topbar.button.register')} |
|
|
</Menu.Item> |
|
|
</Menu.Item> |
|
|
)} |
|
|
)} |
|
|
|
|
|
<Menu.Item |
|
|
|
|
|
link |
|
|
|
|
|
name="about" |
|
|
|
|
|
key="about" |
|
|
|
|
|
onClick={() => history.push('/about')} |
|
|
|
|
|
> |
|
|
|
|
|
{t('topbar.button.about')} |
|
|
|
|
|
</Menu.Item> |
|
|
</Menu.Menu> |
|
|
</Menu.Menu> |
|
|
<Dropdown key="overflow" item direction="left"> |
|
|
<Dropdown key="overflow" item direction="left"> |
|
|
<Dropdown.Menu> |
|
|
<Dropdown.Menu> |
|
@ -82,13 +90,6 @@ const MainLayoutMenu = () => { |
|
|
> |
|
|
> |
|
|
{t('topbar.button.clear.databases')} |
|
|
{t('topbar.button.clear.databases')} |
|
|
</Dropdown.Item> |
|
|
</Dropdown.Item> |
|
|
<Dropdown.Item |
|
|
|
|
|
name="about" |
|
|
|
|
|
key="about" |
|
|
|
|
|
onClick={() => { history.push('/about'); }} |
|
|
|
|
|
> |
|
|
|
|
|
{t('topbar.button.about')} |
|
|
|
|
|
</Dropdown.Item> |
|
|
|
|
|
</Dropdown.Menu> |
|
|
</Dropdown.Menu> |
|
|
</Dropdown> |
|
|
</Dropdown> |
|
|
|
|
|
|
|
|