Skip to content

Fix Issue #104 : change link of Topcoder Logo #92

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

nahidshahin
Copy link
Contributor

No description provided.

@luizrrodrigues luizrrodrigues changed the title issues-2700: change link of Topcoder Logo Fix Issue #104 : change link of Topcoder Logo Jan 14, 2020
@luizrrodrigues luizrrodrigues self-requested a review January 14, 2020 11:20
@luizrrodrigues luizrrodrigues self-assigned this Jan 14, 2020
Copy link
Collaborator

@luizrrodrigues luizrrodrigues left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't hardcoded the URL, put this inside config file.

Use URL.BASE to non logged user and add a new config to logged user.

You able to see the config files in community-app/config

@@ -15,7 +15,7 @@ const MobileNav = ({ showLeftMenu, onClickLeftMenu, logo, rightMenu }) => (
)}
</button>
</div>
<a href='/'>
<a href={loggedIn ? '/my-dashboard' : '/'}>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't hardcoded the URL, put this inside config file.

Use URL.BASE to non logged user and add a new config to logged user.

@@ -36,7 +37,7 @@ const PrimaryNav = ({
<a
className={cn(styles.tcLogo, collapsed && styles.tcLogoPush)}
onClick={onClickLogo}
href='/'
href={loggedIn ? '/my-dashboard' : '/'}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't hardcoded the URL, put this inside config file.

Use URL.BASE to non logged user and add a new config to logged user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants