Skip to content

Commit

Permalink
Add link to open division competition
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <[email protected]>
  • Loading branch information
sumnerevans committed Apr 11, 2024
1 parent c8e14c2 commit 5b2e773
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion website/static/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ footer.footer a:hover {
}

/* Text & Utilities */
#registration-info {
.registration-info {
font-size: 20px;
}

Expand Down
17 changes: 12 additions & 5 deletions website/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,30 @@

<h1 class="display-5">High School Programming Competition</h1>
<h2 class="mb-2">The 2024 competition will be held April 20th, 2024.</h2>
<p id="registration-info" class="mb-4">
<p class="registration-info mb-4">
Engage in exciting problems at the Mines HSPC!
{{ if .RegistrationEnabled }}
Registration is now open for the Spring 2024 competition.
{{ end }}
</p>
{{ if .RegistrationEnabled }}
<p id="registration-info" class="mb-4">
<p class="registration-info mb-4">
<!-- <span class="badge text-bg-danger py-2 px-4 me-4 fs-5"><b>Registration Deadline</b></span> -->
The registration deadline is <b>April 13th</b>
</p>
<a href="/register" class="btn btn-success btn-lg px-6 fs-3"><b>Register Now</b></a>
{{ else }}
<small class="text-secondary">
Registration for this year's competition has closed.
</small>
<p>
<small class="registration-info text-secondary mb-4">
Registration for this year's competition has closed.
</small>
</p>
{{ end }}
<p class="registration-info mb-4">
Open Division registration available
<a href="https://mines-hspc.kattis.com/contests/mines-hspc24-open" target="_blank">on
Kattis</a>. Click on "Join the Contest" to register your team.
</p>
</div>

<div class="container page-content home">
Expand Down

0 comments on commit 5b2e773

Please sign in to comment.