File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ export interface DeploymentConfig {
4444
4545 supportLink ?: string ;
4646 guideLink ?: string ;
47+ userGuideLink ?: string ;
48+ accessibilityLink ?: string ;
4749 termsOfUseLink ?: string ;
4850 privacyPolicyLink ?: string ;
4951 translationLink ?: string ;
Original file line number Diff line number Diff line change @@ -88,6 +88,28 @@ const HelpMenu = ({ size, ...props }: HelpMenuProps) => {
8888 < FormattedMessage id = "help-support" />
8989 </ MenuItem >
9090 ) }
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+ ) }
91113 < MenuItem
92114 as = "a"
93115 href = "https://microbit-micropython.readthedocs.io/en/v2-docs/"
You can’t perform that action at this time.
0 commit comments