-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Taran Polavarapu
committed
Jan 26, 2025
1 parent
65a7a98
commit 822e59c
Showing
8 changed files
with
246 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
.screen { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
width: 100vw; | ||
min-height: 100vh; | ||
gap: 30px; | ||
|
||
background-size: cover; | ||
background-repeat: no-repeat; | ||
background-position: center; | ||
} | ||
|
||
.logo { | ||
height: fit-content; | ||
width: 55vw; | ||
max-width: 1000px; | ||
|
||
@media screen and (max-width: 640px) { | ||
width: 90vw; | ||
} | ||
} | ||
|
||
.container { | ||
flex: 3; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
gap: 10px; | ||
|
||
background-size: contain; | ||
background-repeat: no-repeat; | ||
background-position: bottom; | ||
|
||
width: 100vw; | ||
max-width: 1000px; | ||
padding: 50px; | ||
|
||
@media screen and (max-width: 640px) { | ||
flex: 2; | ||
// background-size: cover; | ||
padding: 0; | ||
} | ||
} | ||
|
||
.container .content { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
gap: 20px; | ||
flex: 0.9; | ||
@media screen and (max-width: 640px) { | ||
flex: 1; | ||
} | ||
} | ||
|
||
.container .topSpacer { | ||
display: none; | ||
@media screen and (max-width: 640px) { | ||
flex: 0.6; | ||
display: flex; | ||
} | ||
} | ||
|
||
.container .spacer { | ||
flex: 0.6; | ||
} | ||
|
||
.container h2 { | ||
position: relative; | ||
z-index: 4; | ||
text-align: center; | ||
color: #34274a; | ||
} | ||
|
||
.container .link { | ||
color: #34274a; | ||
position: relative; | ||
text-align: center; | ||
text-decoration: underline; | ||
text-decoration-color: #34274a; | ||
padding-top: 14px; | ||
} | ||
|
||
.container .signUpAsButtons { | ||
flex: 1; | ||
} | ||
|
||
.topSpacer { | ||
flex: 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import Image from "next/image"; | ||
import Link from "next/link"; | ||
|
||
import SNOWGLOBE from "@/public/registration/track_selection/snowglobe.svg"; | ||
import LOGO_TEXTONLY from "@/public/registration/track_selection/logo_textonly.svg"; | ||
import BACKGROUND from "@/public/registration/track_selection/background.svg"; | ||
|
||
import OlympianButton from "@/components/OlympianButton/OlympianButton"; | ||
|
||
import styles from "@/app/closed/closed.module.scss" | ||
|
||
const closed: React.FC = () => { | ||
|
||
return ( | ||
<main | ||
style={{ | ||
backgroundImage: `url(${BACKGROUND?.src})` | ||
}} | ||
className={styles.screen} | ||
> | ||
<div className={styles.topSpacer}></div> | ||
<Image | ||
alt="HackOlympus Logo" | ||
src={LOGO_TEXTONLY} | ||
className={styles.logo} | ||
/> | ||
<div | ||
style={{ | ||
backgroundImage: `url(${SNOWGLOBE?.src})` | ||
}} | ||
className={styles.container} | ||
> | ||
<div className={styles.topSpacer}></div> | ||
<div className={styles.content}> | ||
<h2>Sorry, registration is closed.</h2> | ||
<h2>Check back next year!</h2> | ||
<OlympianButton | ||
text="Back" | ||
link="/" | ||
blue | ||
/> | ||
|
||
</div> | ||
<div className={styles.spacer}></div> | ||
</div> | ||
</main> | ||
); | ||
}; | ||
|
||
export default closed; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.