Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import React from 'react'
import MenuBar from 'appirio-tech-react-components/components/MenuBar/MenuBar'
//import MenuBar from 'appirio-tech-react-components/components/MenuBar/MenuBar'
import moment from 'moment'
import MediaQuery from 'react-responsive'
import FooterV2 from '../FooterV2/FooterV2'
//import FooterV2 from '../FooterV2/FooterV2'
import { NEW_PROJECT_PATH, SCREEN_BREAKPOINT_MD } from '../../config/constants'

require('./Footer.scss')

const Footer = () => {
const currentYear = moment().format('YYYY')
const otherNavigationItems = [
{img: '', text: 'About', link: 'https://www.topcoder.com/company/', target: '_blank'},
/*const otherNavigationItems = [
{img: '', text: 'Aboutss', link: 'https://www.topcoder.com/company/', target: '_blank'},
{img: '', text: 'Contact us', link: 'https://www.topcoder.com/contact-us/', target: '_blank'},
{img: '', text: 'Privacy', link: 'https://www.topcoder.com/privacy-policy/', target: '_blank'},
{img: '', text: 'Terms', link: 'https://connect.topcoder.com/terms', target: '_blank'},
{img: '', text: 'Our Process', link: 'https://www.topcoder.com/solutions/how-it-works/', target: '_blank'}
]
]*/
const isProjectDetails = /projects\/\d+/.test(window.location.pathname)
const isCreateProject = window.location.pathname.startsWith(NEW_PROJECT_PATH)
const isNotificationsPage = window.location.pathname.startsWith('/notifications')
Expand All @@ -33,14 +33,14 @@ const Footer = () => {
return (shouldHideOnDesktop ? null :
<div className="Footer">
<p className="copyright-notice">© Topcoder { currentYear }</p>
<div className="footer-menu">
{/*<div className="footer-menu">
<MenuBar items={otherNavigationItems} orientation="horizontal" mobileBreakPoint={SCREEN_BREAKPOINT_MD - 1} />
</div>
</div>*/}
</div>
)
} else {
return (shouldHideOnMobile ? null :
<FooterV2 />
{/*<FooterV2 />*/}
)
}
}}
Expand Down