Skip to content

Commit

Permalink
Merge pull request #427 from shreyash3087/feat/registrations-closed
Browse files Browse the repository at this point in the history
Added Registrations Closed Page for CA
  • Loading branch information
Hemu21 committed Sep 18, 2024
2 parents 457f8e3 + e5a5d96 commit 5233ecf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
3 changes: 0 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 19 additions & 1 deletion pages/registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ const Registration = () => {
<option value="" disabled>
Which role do you wish to apply for?
</option>
<option value="CA">Campus Ambassador</option>
<option value="Contributor">Contributor</option>
<option value="Mentor">Mentor</option>
<option value="ProjectAdmin">Project Admin</option>
Expand Down Expand Up @@ -629,6 +630,7 @@ const Registration = () => {
/>
</div>
</div>
{role != "CA" ? (
<div className="min-h-screen p-10 max-sm:p-2 max-sm:my-10 w-full flex flex-col items-center justify-center z-30">
<h1 className="text-2xl font-semibold text-center mb-6">
REGISTER FOR GSSOC&apos; EXTD.
Expand Down Expand Up @@ -822,7 +824,23 @@ const Registration = () => {
</div>
</div>
</div>
</div>
</div>) : (
<div className="min-h-screen p-10 max-sm:p-2 max-sm:my-10 w-full flex flex-col items-center justify-center z-30">
<img src="https://github.com/user-attachments/assets/6ba0f38c-a28d-4d22-835a-93779f126e46" alt="Closed" width={240}/>
<h1 className="text-2xl font-semibold text-center mb-6">
<span className="text-[#f57d33] font-bold">Registrations</span> for <span className="text-[#f57d33] font-bold">Campus Ambassadors</span> in GSSoC 2024 Extd are <span className="text-[#f57d33] font-bold">closed</span>.
</h1>
<p className="text-lg text-center mb-6 w-full max-w-2xl">
We warmly invite you to join us as a Contributor and be part of GSSoC 2024 Extended. We encourage you to register and make an impact!
</p>
<button
className="bg-[#f57d33] text-white font-bold py-2 px-4 rounded-lg shadow hover:bg-[#F26611]"
onClick={handleBack}
>
Go Back
</button>
</div>
)}
</>
);
case 3:
Expand Down

0 comments on commit 5233ecf

Please sign in to comment.