File tree Expand file tree Collapse file tree 3 files changed +26
-6
lines changed
packages/editor/src/app/main/components Expand file tree Collapse file tree 3 files changed +26
-6
lines changed Original file line number Diff line number Diff line change 1
1
.logo {
2
- padding : 15px 0 ;
2
+ padding : 11 px 0 15px 0 ;
3
3
height : 100% ;
4
4
max-width : 100% ;
5
5
}
Original file line number Diff line number Diff line change
1
+ .sub {
2
+ font-weight : bold;
3
+ margin : 3px 0 0 10px ;
4
+ font-size : 0.9em ;
5
+ -webkit-user-select : none;
6
+ -moz-user-select : none;
7
+ -ms-user-select : none;
8
+ user-select : none;
9
+ }
10
+
11
+ .separator {
12
+ height : 70% ;
13
+ width : 1px ;
14
+ background-color : # f3f3f3 ;
15
+ margin-left : 1.6em ;
16
+ margin-right : 1em ;
17
+ }
Original file line number Diff line number Diff line change @@ -9,15 +9,14 @@ import { VscSignIn } from "react-icons/vsc";
9
9
import { getStoreService } from "../../../store/local/stores" ;
10
10
import { ProfilePopup } from "./ProfilePopup" ;
11
11
import { Logo } from "./Logo" ;
12
+ import styles from "./Navigation.module.css" ;
12
13
13
14
const ProductHome = ( ) => {
14
15
return (
15
16
< >
16
17
< Logo > </ Logo >
17
- < span style = { { fontWeight : "bold" , marginTop : 3 , marginLeft : 10 } } >
18
- { " " }
19
- Alpha community preview
20
- </ span >
18
+ < span className = { styles . sub } > Alpha community preview</ span >
19
+ < div className = { styles . separator } > </ div >
21
20
</ >
22
21
) ;
23
22
} ;
@@ -31,7 +30,11 @@ export const Navigation = observer(() => {
31
30
return (
32
31
< AN
33
32
renderProductHome = { ProductHome }
34
- primaryItems = { [ ] }
33
+ primaryItems = { [
34
+ < PrimaryButton onClick = { navigationStore . navigateToDocs } >
35
+ Documentation
36
+ </ PrimaryButton > ,
37
+ ] }
35
38
renderProfile = { observer ( ( ) => (
36
39
< >
37
40
{ sessionStore . isLoggedIn && (
You can’t perform that action at this time.
0 commit comments