Skip to content

Commit

Permalink
Disable signups
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleyleal committed Sep 2, 2024
1 parent a7957ac commit fa368e3
Showing 1 changed file with 26 additions and 25 deletions.
51 changes: 26 additions & 25 deletions client/src/pages/SignUp/SignUp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ const PageSignUp = () => {
) : (
<></>
)}
{/* <div
<div
style={{
color: 'var(--text-dynamic)',
textAlign: 'center',
Expand All @@ -208,26 +208,26 @@ const PageSignUp = () => {
margin: '20px',
}}
>
<h2>You can no longer signup and register for Frosh events.</h2>
</div> */}
{/* <div
<h2>F!rosh 2T4 is over! Check back next year.</h2>
</div>
<div
className="sign-up-button"
onMouseOver={() => {
checkErrors(true);
}}
> */}
<Button
label="Create Account"
style={{ margin: 15 }}
isDisabled={anyErrors}
onClick={async () => {
const anyErrors = checkErrors(true);
if (anyErrors === false) {
submitForm();
}
}}
/>
{/* </div> */}
>
<Button
label="Create Account"
style={{ margin: 15 }}
isDisabled={anyErrors}
onClick={async () => {
const anyErrors = checkErrors(true);
if (anyErrors === false) {
submitForm();
}
}}
/>
</div>
</div>
</div>
<div
Expand All @@ -242,24 +242,25 @@ const PageSignUp = () => {
className={`sign-up-success ${pageState === 'success' ? 'sign-up-success-appear' : ''}`}
>
<div style={{ margin: 'auto auto' }}>
<h2 class="proxima-nova-text">{`Thank you for creating an account, ${
<h2 className="proxima-nova-text">{`Thank you for creating an account, ${
accountObj['preferredName'] === null ||
accountObj['preferredName'] === undefined ||
accountObj['preferredName'] === ''
? accountObj['firstName']
: accountObj['preferredName']
}.`}</h2>
{accountObj['leadur'] === true ? (
<h3 class="proxima-nova-text">
Check your inbox for an email from tech@orientation.skule.ca for a link to verify your email. Your account will be reviewed and
shortly become an official Leedur account.
<h3 className="proxima-nova-text">
Check your inbox for an email from tech@orientation.skule.ca for a link to verify
your email. Your account will be reviewed and shortly become an official Leedur
account.
</h3>
) : (
<>
<h1 class="proxima-nova-text">You aren&apos;t done just yet!</h1>
<h3 class="proxima-nova-text">
Check your inbox for an email from tech@orientation.skule.cafor a link to verify your email. You still need to register and
pay for the F!rosh Week event.
<h1 className="proxima-nova-text">You aren&apos;t done just yet!</h1>
<h3 className="proxima-nova-text">
Check your inbox for an email from tech@orientation.skule.cafor a link to verify
your email. You still need to register and pay for the F!rosh Week event.
</h3>
</>
)}
Expand Down

0 comments on commit fa368e3

Please sign in to comment.