summaryrefslogtreecommitdiffstats
path: root/webapp/components/not_logged_in.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-03-24 11:05:13 -0400
committerChristopher Speller <crspeller@gmail.com>2016-03-24 11:05:13 -0400
commitb62e29ba9cd6183551266da05b9b602a4415d738 (patch)
treeea759d6d46cc49386bcd66a8b9b8542f75b1c77e /webapp/components/not_logged_in.jsx
parent68dad8c7345b12c7d0b10709ddc1873d4b40163e (diff)
downloadchat-b62e29ba9cd6183551266da05b9b602a4415d738.tar.gz
chat-b62e29ba9cd6183551266da05b9b602a4415d738.tar.bz2
chat-b62e29ba9cd6183551266da05b9b602a4415d738.zip
Moving all links and redirects to react-router
Diffstat (limited to 'webapp/components/not_logged_in.jsx')
-rw-r--r--webapp/components/not_logged_in.jsx25
1 files changed, 13 insertions, 12 deletions
diff --git a/webapp/components/not_logged_in.jsx b/webapp/components/not_logged_in.jsx
index ac359056a..4beee6259 100644
--- a/webapp/components/not_logged_in.jsx
+++ b/webapp/components/not_logged_in.jsx
@@ -5,6 +5,7 @@ import $ from 'jquery';
import {FormattedMessage} from 'react-intl';
import React from 'react';
+import {Link} from 'react-router';
export default class NotLoggedIn extends React.Component {
componentDidMount() {
@@ -29,34 +30,34 @@ export default class NotLoggedIn extends React.Component {
</div>
<div className='col-xs-12'>
<span className='pull-right footer-link copyright'>{'© 2015 Mattermost, Inc.'}</span>
- <a
+ <Link
id='help_link'
className='pull-right footer-link'
- href={global.window.mm_config.HelpLink}
+ to={global.window.mm_config.HelpLink}
>
<FormattedMessage id='web.footer.help'/>
- </a>
- <a
+ </Link>
+ <Link
id='terms_link'
className='pull-right footer-link'
- href={global.window.mm_config.TermsOfServiceLink}
+ to={global.window.mm_config.TermsOfServiceLink}
>
<FormattedMessage id='web.footer.terms'/>
- </a>
- <a
+ </Link>
+ <Link
id='privacy_link'
className='pull-right footer-link'
- href={global.window.mm_config.PrivacyPolicyLink}
+ to={global.window.mm_config.PrivacyPolicyLink}
>
<FormattedMessage id='web.footer.privacy'/>
- </a>
- <a
+ </Link>
+ <Link
id='about_link'
className='pull-right footer-link'
- href={global.window.mm_config.AboutLink}
+ to={global.window.mm_config.AboutLink}
>
<FormattedMessage id='web.footer.about'/>
- </a>
+ </Link>
</div>
</div>
</div>