Skip to content

Commit

Permalink
restore register now button and log in button
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleyleal committed Jun 28, 2024
1 parent b57cd12 commit 89de135
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions client/src/pages/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const HomeHeaderButton = () => {
>
<div className="home-page-header-register-button">
<div className="desktop-only">
{/* <Button
<Button
label={loggedIn ? 'View Profile' : 'Register Now!'}
isSecondary
style={{
Expand All @@ -85,14 +85,14 @@ const HomeHeaderButton = () => {
justifyContent: 'center',
alignItems: 'center',
}}
/> */}
/>
</div>
<div className="mobile-only">
{/* <Button
<Button
label={loggedIn ? 'View Profile' : 'Register Now!'}
isSecondary
style={{ margin: '0px' }}
/> */}
/>
</div>
</div>
</Link>
Expand Down
12 changes: 6 additions & 6 deletions client/src/util/profile-pages.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ function logoutFunction({ dispatch, navigate }) {

export const profilePages = {
notLogin: [
// {
// label: 'Log in',
// icon: LoginIcon,
// iconDark: LoginIconDarkMode,
// path: '/login',
// },
{
label: 'Log in',
icon: LoginIcon,
iconDark: LoginIconDarkMode,
path: '/login',
},
],
login: [
{
Expand Down

0 comments on commit 89de135

Please sign in to comment.