Skip to content

Commit

Permalink
remove(non_auth_user,auth_user): register,help button
Browse files Browse the repository at this point in the history
  • Loading branch information
lokeshk-18 committed Aug 16, 2023
1 parent c5f5fa9 commit feb2daf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Header from './Header';
import LearningHeader from './learning-header/LearningHeader';
import messages from './i18n/index';
import StudioHeader from './StudioHeader';

console.log("HEader")
export { LearningHeader, messages, StudioHeader };

export default Header;
4 changes: 2 additions & 2 deletions src/learning-header/AnonymousUserMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import genericMessages from '../generic/messages';

const AnonymousUserMenu = ({ intl }) => (
<div>
<Button
{/* <Button
className="mr-3"
variant="outline-primary"
href={`${getConfig().LMS_BASE_URL}/register?next=${encodeURIComponent(global.location.href)}`}
>
{intl.formatMessage(genericMessages.registerSentenceCase)}
</Button>
</Button> */}
<Button
variant="primary"
href={`${getLoginRedirectUrl(global.location.href)}`}
Expand Down
2 changes: 1 addition & 1 deletion src/learning-header/AuthenticatedUserDropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const AuthenticatedUserDropdown = ({ intl, username }) => {

return (
<>
<a className="text-gray-700 mr-3" href={`${getConfig().SUPPORT_URL}`}>{intl.formatMessage(messages.help)}</a>
{/* <a className="text-gray-700 mr-3" href={`${getConfig().SUPPORT_URL}`}>{intl.formatMessage(messages.help)}</a> */}
<Dropdown className="user-dropdown">
<Dropdown.Toggle variant="outline-primary">
<FontAwesomeIcon icon={faUserCircle} className="d-md-none" size="lg" />
Expand Down

0 comments on commit feb2daf

Please sign in to comment.