1
- import React from 'react' ;
2
1
import Button from '@mui/material/Button' ;
3
2
import { Insights , LibraryBooks , KeyboardArrowRight , AutoAwesome } from '@mui/icons-material' ;
4
3
import { createDockerDesktopClient } from '@docker/extension-api-client' ;
@@ -18,63 +17,59 @@ export function App() {
18
17
< >
19
18
20
19
< AppBar position = "relative" elevation = { 0 } >
21
- < Toolbar >
20
+ < Toolbar style = { { minHeight : '36px' } } >
22
21
< Box display = "flex" flexGrow = { 1 } alignItems = "center" flexWrap = "wrap" >
23
- < img src = "https://user-images.githubusercontent.com/1651790/213339618-107d0e59-1b8b-4c89-bbae-5529aa4e2666.svg" alt = "NebulaGraph" height = "35 " />
22
+ < img src = "https://user-images.githubusercontent.com/1651790/213339618-107d0e59-1b8b-4c89-bbae-5529aa4e2666.svg" alt = "NebulaGraph" height = "19 " />
24
23
< span style = { { marginRight : 10 } } > </ span >
25
24
< Typography variant = "h4" color = { ( theme ) => theme . palette . text . primary } sx = { { my : 2 , mr : 6 } } >
26
25
< b > Nebula</ b > Graph
27
26
</ Typography >
28
- < Box >
27
+ < Box sx = { { height : '32px' } } >
29
28
< Button
30
29
variant = "outlined"
31
30
onClick = { ( ) =>
32
31
ddClient . host . openExternal ( 'http://127.0.0.1:17001' )
33
32
}
34
- endIcon = { < Insights /> }
33
+ endIcon = { < Insights style = { { fontSize : 'small' } } /> }
34
+ style = { { fontSize : '0.75rem' , lineHeight : '1rem' } }
35
35
>
36
36
Studio
37
37
</ Button >
38
38
</ Box >
39
39
40
40
< span style = { { marginRight : 10 } } > </ span >
41
-
42
- < Box >
41
+ < Box sx = { { height : '32px' } } >
43
42
< Button
44
43
variant = "outlined"
45
- onClick = { ( ) =>
46
- ddClient . host . openExternal ( 'http://127.0.0.1:17005' )
47
- }
48
- endIcon = { < AutoAwesome /> }
44
+ onClick = { ( ) => ddClient . host . openExternal ( 'http://127.0.0.1:17005' ) }
45
+ endIcon = { < AutoAwesome style = { { fontSize : 'small' } } /> }
46
+ style = { { fontSize : '0.75rem' , lineHeight : '1rem' } }
49
47
>
50
48
Gephi-Lite
51
49
</ Button >
52
50
</ Box >
53
51
54
52
< span style = { { marginRight : 10 } } > </ span >
55
53
56
- < Box >
54
+ < Box sx = { { height : '32px' } } >
57
55
< Button
58
56
variant = "outlined"
59
- onClick = { ( ) =>
60
- ddClient . host . openExternal ( 'http://127.0.0.1:28888?token=nebula' )
61
- }
62
- endIcon = { < LibraryBooks /> }
57
+ onClick = { ( ) => ddClient . host . openExternal ( 'http://127.0.0.1:28888?token=nebula' ) }
58
+ endIcon = { < LibraryBooks style = { { fontSize : 'small' } } /> }
59
+ style = { { fontSize : '0.75rem' , lineHeight : '1rem' } }
63
60
>
64
61
Jupyter
65
62
</ Button >
66
63
</ Box >
67
64
68
-
69
65
< span style = { { marginRight : 10 } } > </ span >
70
66
71
- < Box >
67
+ < Box sx = { { height : '32px' } } >
72
68
< Button
73
69
variant = "outlined"
74
- onClick = { ( ) =>
75
- ddClient . host . openExternal ( 'http://127.0.0.1:8376' )
76
- }
77
- endIcon = { < KeyboardArrowRight /> }
70
+ onClick = { ( ) => ddClient . host . openExternal ( 'http://127.0.0.1:8376' ) }
71
+ endIcon = { < KeyboardArrowRight style = { { fontSize : 'small' } } /> }
72
+ style = { { fontSize : '0.75rem' , lineHeight : '1rem' } }
78
73
>
79
74
Console
80
75
</ Button >
@@ -84,9 +79,7 @@ export function App() {
84
79
< Box >
85
80
< a
86
81
href = "#"
87
- onClick = { ( ) =>
88
- ddClient . host . openExternal ( 'https://github.com/vesoft-inc/nebula' )
89
- }
82
+ onClick = { ( ) => ddClient . host . openExternal ( 'https://github.com/vesoft-inc/nebula' ) }
90
83
>
91
84
< img src = "https://shields.io/github/stars/vesoft-inc/nebula?style=social" alt = "" />
92
85
</ a >
@@ -102,7 +95,7 @@ export function App() {
102
95
< Box sx = { { alignItems : 'left' , flexDirection : 'column' , height : 20 , fontSize : 10 , justifyContent : 'center' } } >
103
96
< Typography variant = "body2" color = { ( theme ) => theme . palette . text . primary } sx = { { my : 2 , mr : 6 } } >
104
97
< span style = { { marginRight : 10 } } > </ span >
105
- NebulaGraph for Docker Desktop Extension 0.4.18 , NebulaGraph: v3.6.0, NebulaGraph Studio: v3.7 .0
98
+ NebulaGraph for Docker Desktop Extension 0.4.19 , NebulaGraph: v3.6.0, NebulaGraph Studio: v3.9 .0
106
99
</ Typography >
107
100
</ Box >
108
101
0 commit comments