Skip to content

Commit

Permalink
Registration buttons visible
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleyleal committed Jul 5, 2024
1 parent 89b6a3e commit 9da04ab
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
26 changes: 13 additions & 13 deletions client/src/pages/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,21 @@ const HomeHeaderButton = () => {
<Button
label={loggedIn ? 'View Profile' : 'Register Now!'}
isSecondary
// style={{
// margin: '0px',
// height: '100%',
// fontSize: 'unset',
// display: 'flex',
// justifyContent: 'center',
// alignItems: 'center',
// }}
// hidden button xD
style={{
width: '0.px',
height: '0.px',
fontSize: '0px',
opacity: '0',
margin: '0px',
height: '100%',
fontSize: 'unset',
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
}}
// hidden button xD
// style={{
// width: '0.px',
// height: '0.px',
// fontSize: '0px',
// opacity: '0',
// }}
/>
</div>
<div className="mobile-only">
Expand Down
6 changes: 3 additions & 3 deletions client/src/pages/Profile/PageProfileFrosh.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,15 +240,15 @@ const ProfilePageFroshHeader = ({ editButton }) => {
{!isRegistered ? (
<div className={'profile-not-registered'}>
<h1>YOU ARE NOT REGISTERED!</h1>
{/* <h2>YOU WILL NOT BE ABLE TO PARTICIPATE IN F!ROSH WEEK EVENTS UNTIL YOU REGISTER.</h2> */}
<h2>REGISTRATION OPENS SOON. STAY TUNED!</h2>
<h2>YOU WILL NOT BE ABLE TO PARTICIPATE IN F!ROSH WEEK EVENTS UNTIL YOU REGISTER.</h2>
{/* <h2>REGISTRATION OPENS SOON. STAY TUNED!</h2> */}
<Link
key={'/registration'}
to={'/registration'}
style={{ textDecoration: 'none' }}
className={'no-link-style'}
>
{/* <Button label="Register" style={{}} /> */}
<Button label="Register" style={{}} />
</Link>
</div>
) : null}
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 @@ -25,12 +25,12 @@ export const profilePages = {
},
],
login: [
// {
// label: 'Register',
// icon: RegisterIcon,
// iconDark: RegisterIconDarkMode,
// path: '/registration',
// },
{
label: 'Register',
icon: RegisterIcon,
iconDark: RegisterIconDarkMode,
path: '/registration',
},
{
label: 'Profile',
icon: ProfileIcon,
Expand Down

0 comments on commit 9da04ab

Please sign in to comment.