This repository was archived by the owner on Apr 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import logo from "../../assets/images/logos/logo.png";
5
5
import { Nav , Navbar , NavbarBrand , NavDropdown } from "react-bootstrap" ;
6
6
import { SystemState } from "../../background/redux/actions/sytemState" ;
7
7
import { connect , ConnectedProps } from "react-redux" ;
8
+ import { logout } from "../../background/api/auth" ;
8
9
9
10
export interface navBarElement_Interface {
10
11
name : string ;
@@ -98,6 +99,13 @@ function Header(props: PropsFromRedux): ReactElement {
98
99
>
99
100
Profile
100
101
</ NavDropdown . Item >
102
+ < NavDropdown . Item
103
+ onClick = { ( event : any ) => {
104
+ logout ( )
105
+ } }
106
+ >
107
+ Logout
108
+ </ NavDropdown . Item >
101
109
</ NavDropdown >
102
110
</ Nav >
103
111
) }
Original file line number Diff line number Diff line change @@ -21,15 +21,16 @@ root {
21
21
background-color : $body-bg ;
22
22
border-radius : 15px ;
23
23
24
- @media ( min-width : 992 px ) {
24
+ @include media-breakpoint-up (lg ) {
25
25
width : 50% ;
26
26
left : 25% ;
27
27
}
28
28
29
- @media ( min-width : 1150 px ) {
29
+ @include media-breakpoint-up (xl ) {
30
30
width : 40% ;
31
31
left : 30% ;
32
32
}
33
+
33
34
@media (max-height : 659px ) {
34
35
margin-top : 15px ;
35
36
}
41
42
42
43
.login-input {
43
44
max-width : 450px ;
44
- }
45
+ }
You can’t perform that action at this time.
0 commit comments