temporary account menu

This commit is contained in:
insanity 2017-07-27 11:05:13 +09:00
parent a3d7e4ad26
commit d7264c4258

View File

@ -118,7 +118,25 @@ class LeftMenu extends React.Component<Props, State> {
<Menu.Item name='Settings' href='/' >
<Header inverted sub icon='setting' content='Settings' />
</Menu.Item>
<Menu.Item>
<Menu.Header name='Account' >
<Header inverted sub icon='user' content='Account' />
</Menu.Header>
<Menu.Menu>
<Menu.Item onClick={(e) => this.props.onChangeUrl('/account/signin')} style={{ 'marginLeft': '30px' }}>
Sign In
</Menu.Item>
<Menu.Item onClick={(e) => this.props.onChangeUrl('/account/signup')} style={{ 'marginLeft': '30px' }}>
Sign Up
</Menu.Item>
<Menu.Item onClick={(e) => this.props.onChangeUrl('/account/logout')} style={{ 'marginLeft': '30px' }}>
Log Out
</Menu.Item>
</Menu.Menu>
</Menu.Item>
</Menu>
);
}
}