Skip to content

Commit

Permalink
Splashpage - Use precise event time for countdown
Browse files Browse the repository at this point in the history
Use the exact time of the first session for the event countdown.
  • Loading branch information
jomey committed Jul 28, 2023
1 parent 806c8aa commit 1e62a03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cookiecutter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ banner:
title: Event Jupyter Book
new_window: false
image: https://geohackweek.github.io/assets/images/banner.jpg
# The opening session of the event with UTC offset
event_countdown: "2023-08-07T08:30:00-07:00"
about:
description: Hackweeks are participant-driven events that strive to create
welcoming spaces for participants to learn new things, build community and
Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.repo_directory }}/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h4 class="countdown-intro mb-2 text-center">
</h4>
<div id="countdown-box"
class="countdown-box"
data-start-date="{{ cookiecutter.banner.start_date }}/{{ cookiecutter.banner.year}}">
data-start-date="{{ cookiecutter.event_countdown }}">
{% for unit in ['days', 'hours', 'minutes', 'seconds'] %}
<span class="{{ unit }}">
<span class="number"></span>
Expand Down

0 comments on commit 1e62a03

Please sign in to comment.