File tree 2 files changed +24
-0
lines changed
2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ export interface DeploymentConfig {
44
44
45
45
supportLink ?: string ;
46
46
guideLink ?: string ;
47
+ userGuideLink ?: string ;
48
+ accessibilityLink ?: string ;
47
49
termsOfUseLink ?: string ;
48
50
privacyPolicyLink ?: string ;
49
51
translationLink ?: string ;
Original file line number Diff line number Diff line change @@ -88,6 +88,28 @@ const HelpMenu = ({ size, ...props }: HelpMenuProps) => {
88
88
< FormattedMessage id = "help-support" />
89
89
</ MenuItem >
90
90
) }
91
+ { ( true || deployment . userGuideLink ) && (
92
+ < MenuItem
93
+ as = "a"
94
+ href = { deployment . userGuideLink }
95
+ target = "_blank"
96
+ rel = "noopener"
97
+ icon = { < RiExternalLinkLine /> }
98
+ >
99
+ < FormattedMessage id = "user-guide" />
100
+ </ MenuItem >
101
+ ) }
102
+ { ( true || deployment . accessibilityLink ) && (
103
+ < MenuItem
104
+ as = "a"
105
+ href = { deployment . accessibilityLink }
106
+ target = "_blank"
107
+ rel = "noopener"
108
+ icon = { < RiExternalLinkLine /> }
109
+ >
110
+ < FormattedMessage id = "accessibility" />
111
+ </ MenuItem >
112
+ ) }
91
113
< MenuItem
92
114
as = "a"
93
115
href = "https://microbit-micropython.readthedocs.io/en/v2-docs/"
You can’t perform that action at this time.
0 commit comments