Update Flask support links and home footer (#13226)
* Update support links for Flask * Disable 'prefer-const' in code fence linting * Add bespoke home footer for Flask and update logic * fixup! Add bespoke home footer for Flask and update logic * Fix code fence lint failure * Fix support request link in account menu * Fix unit test failurefeature/default_network_editable
parent
df48c424a4
commit
dbfdf3b0eb
@ -1,21 +1,18 @@ |
||||
import React from 'react'; |
||||
import { useI18nContext } from '../../hooks/useI18nContext'; |
||||
import { SUPPORT_REQUEST_LINK } from '../../../helpers/constants/common'; |
||||
import { useI18nContext } from '../../../hooks/useI18nContext'; |
||||
|
||||
const BetaHomeFooter = () => { |
||||
const t = useI18nContext(); |
||||
|
||||
return ( |
||||
<> |
||||
<a |
||||
href="https://metamask.zendesk.com/hc/en-us/requests/new" |
||||
target="_blank" |
||||
rel="noopener noreferrer" |
||||
> |
||||
<a href={SUPPORT_REQUEST_LINK} target="_blank" rel="noopener noreferrer"> |
||||
{t('needHelpSubmitTicket')} |
||||
</a>{' '} |
||||
|{' '} |
||||
<a |
||||
href="https://community.metamask.io/c/metamask-beta/30" |
||||
href="https://community.metamask.io/c/metamask-beta" |
||||
target="_blank" |
||||
rel="noopener noreferrer" |
||||
> |
@ -0,0 +1,25 @@ |
||||
import React from 'react'; |
||||
import { SUPPORT_REQUEST_LINK } from '../../../helpers/constants/common'; |
||||
import { useI18nContext } from '../../../hooks/useI18nContext'; |
||||
|
||||
const FlaskHomeFooter = () => { |
||||
const t = useI18nContext(); |
||||
|
||||
return ( |
||||
<> |
||||
<a href={SUPPORT_REQUEST_LINK} target="_blank" rel="noopener noreferrer"> |
||||
{t('needHelpSubmitTicket')} |
||||
</a>{' '} |
||||
|{' '} |
||||
<a |
||||
href="https://community.metamask.io/c/metamask-flask" |
||||
target="_blank" |
||||
rel="noopener noreferrer" |
||||
> |
||||
{t('needHelpFeedback')} |
||||
</a> |
||||
</> |
||||
); |
||||
}; |
||||
|
||||
export default FlaskHomeFooter; |
Loading…
Reference in new issue