Skip to content

Commit 4d6690d

Browse files
authored
Merge pull request #4065 from appirio-tech/feature/remove_footer_links
Removed footer links which are not part of Connect FAQs git#issue4061
2 parents 1ff77cc + 14a6a89 commit 4d6690d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/components/Footer/Footer.jsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
import React from 'react'
2-
import MenuBar from 'appirio-tech-react-components/components/MenuBar/MenuBar'
2+
//import MenuBar from 'appirio-tech-react-components/components/MenuBar/MenuBar'
33
import moment from 'moment'
44
import MediaQuery from 'react-responsive'
5-
import FooterV2 from '../FooterV2/FooterV2'
5+
//import FooterV2 from '../FooterV2/FooterV2'
66
import { NEW_PROJECT_PATH, SCREEN_BREAKPOINT_MD } from '../../config/constants'
77

88
require('./Footer.scss')
99

1010
const Footer = () => {
1111
const currentYear = moment().format('YYYY')
12-
const otherNavigationItems = [
13-
{img: '', text: 'About', link: 'https://www.topcoder.com/company/', target: '_blank'},
12+
/*const otherNavigationItems = [
13+
{img: '', text: 'Aboutss', link: 'https://www.topcoder.com/company/', target: '_blank'},
1414
{img: '', text: 'Contact us', link: 'https://www.topcoder.com/contact-us/', target: '_blank'},
1515
{img: '', text: 'Privacy', link: 'https://www.topcoder.com/privacy-policy/', target: '_blank'},
1616
{img: '', text: 'Terms', link: 'https://connect.topcoder.com/terms', target: '_blank'},
1717
{img: '', text: 'Our Process', link: 'https://www.topcoder.com/solutions/how-it-works/', target: '_blank'}
18-
]
18+
]*/
1919
const isProjectDetails = /projects\/\d+/.test(window.location.pathname)
2020
const isCreateProject = window.location.pathname.startsWith(NEW_PROJECT_PATH)
2121
const isNotificationsPage = window.location.pathname.startsWith('/notifications')
@@ -33,14 +33,14 @@ const Footer = () => {
3333
return (shouldHideOnDesktop ? null :
3434
<div className="Footer">
3535
<p className="copyright-notice">© Topcoder { currentYear }</p>
36-
<div className="footer-menu">
36+
{/*<div className="footer-menu">
3737
<MenuBar items={otherNavigationItems} orientation="horizontal" mobileBreakPoint={SCREEN_BREAKPOINT_MD - 1} />
38-
</div>
38+
</div>*/}
3939
</div>
4040
)
4141
} else {
4242
return (shouldHideOnMobile ? null :
43-
<FooterV2 />
43+
{/*<FooterV2 />*/}
4444
)
4545
}
4646
}}

0 commit comments

Comments
 (0)