mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 19:26:31 -05:00
Change element.io links to matrix.to links (#614)
* Change element.io links to matrix.to links Following to the discussion in codimd/server#496, this commit changes element.io links to matrix.to in the new react-client as well. * Updated cypress test for new link
This commit is contained in:
parent
9f58f93fc6
commit
01a68b1efe
5 changed files with 6 additions and 6 deletions
|
@ -148,8 +148,8 @@ describe('Links Intro', () => {
|
|||
})
|
||||
|
||||
it('Matrix', () => {
|
||||
cy.get('a[href="https://app.element.io/#/room/#hedgedoc:matrix.org"]')
|
||||
.checkExternalLink('https://app.element.io/#/room/#hedgedoc:matrix.org')
|
||||
cy.get('a[href="https://matrix.to/#/#hedgedoc:matrix.org"]')
|
||||
.checkExternalLink('https://matrix.to/#/#hedgedoc:matrix.org')
|
||||
})
|
||||
|
||||
it('Mastodon', () => {
|
||||
|
|
|
@ -29,7 +29,7 @@ export const Links: React.FC = () => {
|
|||
<TranslatedExternalLink
|
||||
i18nKey='editor.help.contacts.meetUsOn'
|
||||
i18nOption={{ service: 'Matrix' }}
|
||||
href={links.chatElement}
|
||||
href={links.chat}
|
||||
icon='hashtag'
|
||||
className='text-primary'
|
||||
/>
|
||||
|
|
|
@ -38,7 +38,7 @@ export class ErrorBoundary extends Component {
|
|||
<p>Don't worry, this happens sometimes. If this is the first time you see this page then try reloading the app.</p>
|
||||
If you can reproduce this error, then we would be glad if you 
|
||||
<ExternalLink text={'open an issue on github'} href={frontendVersion.issueTrackerUrl} className={'text-primary'}/> 
|
||||
or <ExternalLink text={'contact us on matrix.'} href={links.chatElement} className={'text-primary'}/>
|
||||
or <ExternalLink text={'contact us on matrix.'} href={links.chat} className={'text-primary'}/>
|
||||
<Button onClick={() => this.refreshPage()} title={'Reload App'} className={'mt-4'}>
|
||||
<ForkAwesomeIcon icon={'refresh'}/> Reload App
|
||||
</Button>
|
||||
|
|
|
@ -10,7 +10,7 @@ const SocialLink: React.FC = () => {
|
|||
<Trans i18nKey="landing.footer.followUs" components={[
|
||||
<ExternalLink href={links.githubOrg} icon='github' text="GitHub"/>,
|
||||
<ExternalLink href={links.community} icon='users' text="Discourse"/>,
|
||||
<ExternalLink href={links.chatElement} icon="comment" text="Element"/>,
|
||||
<ExternalLink href={links.chat} icon="comment" text="Matrix"/>,
|
||||
<ExternalLink href={links.mastodon} icon='mastodon' text="Mastodon"/>,
|
||||
<ExternalLink href={links.translate} icon="globe" text="POEditor"/>
|
||||
]}/>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"chatElement": "https://app.element.io/#/room/#hedgedoc:matrix.org",
|
||||
"chat": "https://matrix.to/#/#hedgedoc:matrix.org",
|
||||
"community": "https://community.codimd.org",
|
||||
"faq": "https://community.codimd.org/t/frequently-asked-questions/190",
|
||||
"githubOrg": "https://github.com/codimd/",
|
||||
|
|
Loading…
Reference in a new issue