Skip to content

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

Open
nahidshahin wants to merge 2 commits into
topcoder-archive:developfrom
nahidshahin:issues-2700
Open

Fix Issue #104 : change link of Topcoder Logo#92
nahidshahin wants to merge 2 commits into
topcoder-archive:developfrom
nahidshahin:issues-2700

Conversation

@nahidshahin

Copy link
Copy Markdown
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

@luizrrodrigues luizrrodrigues left a comment

Copy link
Copy Markdown
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.

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

Comment thread src/components/TopNav/MobileNav.js Outdated
</button>
</div>
<a href='/'>
<a href={loggedIn ? '/my-dashboard' : '/'}>

Copy link
Copy Markdown
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.

Comment thread src/components/TopNav/PrimaryNav.js Outdated
className={cn(styles.tcLogo, collapsed && styles.tcLogoPush)}
onClick={onClickLogo}
href='/'
href={loggedIn ? '/my-dashboard' : '/'}

Copy link
Copy Markdown
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