Commit 92afd5fb authored by ganjingcun's avatar ganjingcun

add link

parent d397a82b
...@@ -18,6 +18,15 @@ function UserPanel({ dispatch, user }) { ...@@ -18,6 +18,15 @@ function UserPanel({ dispatch, user }) {
</Menu.Item> </Menu.Item>
<Menu.Divider/> <Menu.Divider/>
{
!user.active &&
<Menu.Item >
<Link to="/signup"><Format id="register"/></Link>
</Menu.Item>
}
{ {
user.active && user.active &&
<Menu.Item > <Menu.Item >
......
...@@ -69,8 +69,8 @@ class Login extends React.Component { ...@@ -69,8 +69,8 @@ class Login extends React.Component {
</FormItem> </FormItem>
<div> <div>
<Link to="/signup"><Format id={'sign-up'}/></Link> <Link to="/signup" className="fromFont"><Format id={'sign-up'}/></Link>
<Link to="/forgot" className="login-form-forgot"><Format id={'forgot-password'}/></Link> <Link to="/forgot" className="login-form-forgot fromFont"><Format id={'forgot-password'}/></Link>
</div> </div>
</Form> </Form>
</Spin> </Spin>
......
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
.login-form-forgot { .login-form-forgot {
float: right; float: right;
} }
.fromFont {
font-size: 20px;
}
.login-form-button { .login-form-button {
width: 100%; width: 100%;
} }
......
...@@ -159,7 +159,7 @@ class Register extends React.Component { ...@@ -159,7 +159,7 @@ class Register extends React.Component {
</FormItem> </FormItem>
<div> <div>
<Link to="/signin"><Format id={'sign-in'}/></Link> <Link to="/signin" className="fromFont"><Format id={'sign-in'}/></Link>
</div> </div>
</Form> </Form>
</Spin> </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