chore: use constants for other welcome link

This commit is contained in:
David Ralph
2021-08-22 22:15:13 +01:00
parent c687b2fb67
commit 37464acf85
2 changed files with 2 additions and 1 deletions

View File

@@ -121,7 +121,7 @@ export default class WelcomeSections extends PureComponent {
const chooseLanguage = (
<>
<h1>{language.sections.language.title}</h1>
<p>{language.sections.language.description} <a href='https://docs.muetab.com/translations/' className='resetLink' target='_blank' rel='noopener noreferrer'>GitHub</a>!</p>
<p>{language.sections.language.description} <a href={window.constants.TRANSLATIONS_URL} className='resetLink' target='_blank' rel='noopener noreferrer'>GitHub</a>!</p>
<Radio name='language' options={languages} category='welcomeLanguage'/>
</>
);

View File

@@ -11,6 +11,7 @@ export const WEBSITE_URL = 'https://muetab.com';
export const PRIVACY_URL = 'https://muetab.com/privacy';
export const BLOG_POST = 'https://blog.muetab.com/posts/version-5-3';
export const FEEDBACK_FORM = 'https://api.formcake.com/api/form/349b56cb-7e2b-4004-b32b-e8964d217dd1/submission';
export const TRANSLATIONS_URL = 'https://docs.muetab.com/translations/';
// Mue Info
export const ORG_NAME = 'mue';