From 913b69217b73789a2ffb54c322bbd855f1aee116 Mon Sep 17 00:00:00 2001 From: "Paulo F. Oliveira" Date: Tue, 24 Oct 2023 01:57:16 +0100 Subject: [PATCH] Fix countdown to start (#191) --- _config.yml | 4 ++-- _includes/about.html | 2 +- _includes/header.html | 2 -- _includes/registration.html | 2 +- js/countdown_element.js | 4 ++-- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/_config.yml b/_config.yml index 6198c95..a99ecd9 100644 --- a/_config.yml +++ b/_config.yml @@ -16,8 +16,8 @@ nav: ref: "ideas.html" # We move by flags, one phase at a time (these are ordered) -before_countdown_to_start: true # countdown to start of competition is in effect -before_registration_is_over: true # players and sponsor can no longer apply +before_countdown_to_start: false # countdown to start of competition is in effect +before_registration_is_over: false # players and sponsor can no longer apply before_countdown_to_end: true # after contest starts (the 2 days) before_votes_are_out: true # while judges are doing their thing diff --git a/_includes/about.html b/_includes/about.html index f4e3d0f..117f536 100644 --- a/_includes/about.html +++ b/_includes/about.html @@ -11,7 +11,7 @@

About

Participation in SpawnFest is 100% free of charge.

- {% if site.before_registration %} + {% if site.before_countdown_to_start %}

We'll be opening registration soon. Stay tuned!

{% endif %} All BEAM languages are welcome! diff --git a/_includes/header.html b/_includes/header.html index 61e276e..34bc826 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -3,7 +3,6 @@
{{ site.alt_for_logo }} - {% if site.before_countdown_to_end or site.before_votes_are_out %} {% if site.before_countdown_to_end %}
The judges are evaluating t
{% endif %} - {% endif %} {% if site.before_votes_are_out == false %}
diff --git a/_includes/registration.html b/_includes/registration.html index 7202133..c2bd50c 100644 --- a/_includes/registration.html +++ b/_includes/registration.html @@ -2,7 +2,7 @@

Register your team

- {% if site.before_countdown_to_start %} + {% if site.before_registration_is_over %}

Participation in SpawnFest is 100% free of charge.

Fill out this form to register your team.

Also check out the contest rules here.

diff --git a/js/countdown_element.js b/js/countdown_element.js index 6605f2e..b1b0d42 100644 --- a/js/countdown_element.js +++ b/js/countdown_element.js @@ -1,9 +1,9 @@ var Countdown = new Countdown({ year : 2023, month : 10, - day : 30, + day : 28, hour : 0, - minute : 0, + minute : 1, second : 0, timezone : 0, rangeHi : "day",