From b62e29ba9cd6183551266da05b9b602a4415d738 Mon Sep 17 00:00:00 2001
From: Christopher Speller <crspeller@gmail.com>
Date: Thu, 24 Mar 2016 11:05:13 -0400
Subject: Moving all links and redirects to react-router

---
 webapp/components/not_logged_in.jsx | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

(limited to 'webapp/components/not_logged_in.jsx')

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>
-- 
cgit v1.2.3-1-g7c22

