@@ -28,7 +28,7 @@ const HelpMenu = () => {
28
28
} ,
29
29
{
30
30
key : 'language' ,
31
- label : < Icon className = { styles . navIcon } type = "icon-studio-nav-language" /> ,
31
+ label : < Icon className = { styles . navIcon } type = "icon-studio-nav-language" /> ,
32
32
popupClassName : styles . langMenu ,
33
33
popupOffset : [ - 35 , 20 ] ,
34
34
children : Object . keys ( INTL_LOCALE_SELECT ) . map ( locale => ( {
@@ -43,6 +43,74 @@ const HelpMenu = () => {
43
43
< Icon className = { styles . navIcon } type = "icon-studio-nav-help" />
44
44
</ Link >
45
45
} ,
46
+ {
47
+ key : 'feedback' ,
48
+ popupClassName : styles . accountMenu ,
49
+ popupOffset : [ - 35 , 20 ] ,
50
+ label : < Icon className = { styles . navIcon } type = "icon-navbar-feedback" /> ,
51
+ children : [
52
+ {
53
+ key : 'feedback' ,
54
+ label : < a
55
+ className = { styles . nebulaLink }
56
+ href = { intl . get ( 'link.feedback' ) }
57
+ target = "_blank"
58
+ rel = "noreferrer"
59
+ data-track-category = "navigation"
60
+ data-track-action = "feedback"
61
+ data-track-label = "from_navigation"
62
+ >
63
+ < Icon className = { styles . menuIcon } type = "icon-navbar-troubleFeedback" />
64
+ { intl . get ( 'menu.feedback' ) }
65
+ </ a >
66
+ } ,
67
+ {
68
+ key : 'repo' ,
69
+ label : < a
70
+ className = { styles . nebulaLink }
71
+ href = "https://github.com/vesoft-inc/nebula-studio"
72
+ target = "_blank"
73
+ rel = "noreferrer"
74
+ data-track-category = "navigation"
75
+ data-track-action = "repo"
76
+ data-track-label = "from_navigation"
77
+ >
78
+ < Icon className = { styles . menuIcon } type = "icon-studio-nav-github" />
79
+ { intl . get ( 'menu.repo' ) }
80
+ </ a >
81
+ } ,
82
+ {
83
+ key : 'trial' ,
84
+ label : < a
85
+ className = { styles . nebulaLink }
86
+ href = { intl . get ( 'link.trial' ) }
87
+ target = "_blank"
88
+ rel = "noreferrer"
89
+ data-track-category = "navigation"
90
+ data-track-action = "trial"
91
+ data-track-label = "from_navigation"
92
+ >
93
+ < Icon className = { styles . menuIcon } type = "icon-navbar-enterprise" />
94
+ { intl . get ( 'menu.trial' ) }
95
+ </ a >
96
+ } ,
97
+ {
98
+ key : 'contact' ,
99
+ label : < a
100
+ className = { styles . nebulaLink }
101
+ href = { intl . get ( 'link.contact' ) }
102
+ target = "_blank"
103
+ rel = "noreferrer"
104
+ data-track-category = "navigation"
105
+ data-track-action = "contact"
106
+ data-track-label = "from_navigation"
107
+ >
108
+ < Icon className = { styles . menuIcon } type = "icon-navbar-contactUs" />
109
+ { intl . get ( 'menu.contact' ) }
110
+ </ a >
111
+ }
112
+ ]
113
+ } ,
46
114
{
47
115
key : 'user' ,
48
116
popupClassName : styles . accountMenu ,
0 commit comments