Skip to content

Commit 66ab3c8

Browse files
authored
Merge pull request #29 from gitcomteam/feature/28-change-login-flow
Feature/28 change login flow
2 parents 876708a + 9771a29 commit 66ab3c8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/layouts/app/AppLayout.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { Link } from 'react-router-dom';
33
import styles from './styles.module.css';
4-
import {Icon, Layout, Menu, notification} from 'antd';
4+
import {Button, Icon, Layout, Menu, notification} from 'antd';
55

66
const { Header, Footer } = Layout;
77

@@ -15,7 +15,11 @@ class AppLayout extends React.Component {
1515
}
1616

1717
render() {
18-
let loginOrHomeLink = <Menu.Item key="3"><Link to={"/login"}>Log in</Link></Menu.Item>;
18+
let loginOrHomeLink = <Menu.Item key="3">
19+
<Button type="primary">
20+
<Link to={"/login"}>Sign in</Link>
21+
</Button>
22+
</Menu.Item>;
1923

2024
if (window.App.isAuthorized()) {
2125
loginOrHomeLink = <Menu.Item key="3"><Link to={"/account/library"}><Icon type={"home"}/>Home</Link></Menu.Item>

0 commit comments

Comments
 (0)