Commit 92afd5fb authored by ganjingcun's avatar ganjingcun

add link

parent d397a82b
......@@ -18,6 +18,15 @@ function UserPanel({ dispatch, user }) {
</Menu.Item>
<Menu.Divider/>
{
!user.active &&
<Menu.Item >
<Link to="/signup"><Format id="register"/></Link>
</Menu.Item>
}
{
user.active &&
<Menu.Item >
......
......@@ -69,8 +69,8 @@ class Login extends React.Component {
</FormItem>
<div>
<Link to="/signup"><Format id={'sign-up'}/></Link>
<Link to="/forgot" className="login-form-forgot"><Format id={'forgot-password'}/></Link>
<Link to="/signup" className="fromFont"><Format id={'sign-up'}/></Link>
<Link to="/forgot" className="login-form-forgot fromFont"><Format id={'forgot-password'}/></Link>
</div>
</Form>
</Spin>
......
......@@ -7,6 +7,9 @@
.login-form-forgot {
float: right;
}
.fromFont {
font-size: 20px;
}
.login-form-button {
width: 100%;
}
......
......@@ -159,7 +159,7 @@ class Register extends React.Component {
</FormItem>
<div>
<Link to="/signin"><Format id={'sign-in'}/></Link>
<Link to="/signin" className="fromFont"><Format id={'sign-in'}/></Link>
</div>
</Form>
</Spin>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment