diff --git a/assets/countdown/script.js b/assets/countdown/script.js new file mode 100644 index 0000000..1854540 --- /dev/null +++ b/assets/countdown/script.js @@ -0,0 +1,40 @@ +/** + * Countdown + */ +function init() { + const second = 1000, + minute = second * 60, + hour = minute * 60, + day = hour * 24; + + const date = document.querySelector('[data-date]').dataset.date; + + + let countDown = new Date(date).getTime(), + x = setInterval(function () { + + let now = new Date().getTime(), + distance = countDown - now; + + if (document.querySelector('[data-days]') != null) { + document.querySelector('[data-days]').innerText = Math.floor(distance / (day)); + } + + if (document.querySelector('[data-hours]') != null) { + document.querySelector('[data-hours]').innerText = Math.floor((distance % (day)) / (hour)); + } + + if (document.querySelector('[data-minutes]') != null) { + document.querySelector('[data-minutes]').innerText = Math.floor((distance % (hour)) / (minute)); + } + + if (document.querySelector('[data-seconds]') != null) { + document.querySelector('[data-seconds]').innerText = Math.floor((distance % (minute)) / second); + } + + // if (distance < 0) { + // clearInterval(x); + // } + }, second) +} + diff --git a/assets/theme/css/style.css b/assets/theme/css/style.css index 3d48e04..c1c47ac 100644 --- a/assets/theme/css/style.css +++ b/assets/theme/css/style.css @@ -995,10 +995,6 @@ blockquote { display: none; } -.dropdown-item:hover + .dropdown-menu, -.dropdown-menu:hover { - display: block; -} @media (min-aspect-ratio: 16/9) { .mbr-video-foreground { diff --git a/index.html b/index.html index 5fea62a..43a681a 100644 --- a/index.html +++ b/index.html @@ -79,12 +79,14 @@ - + + -
+ + +At GoatHacks, the sky is the limit with what you can create. We support all projects, virtual or physical, and will the resources you need to help you build your project.
+At GoatHacks, the sky is the limit with what you can create. We support all projects, virtual or physical, and will the resources you need to help you build your project.
Find your people at GoatHacks. Come with a team, or find a new one at our event! (Or go solo, if that's your thing).
+Find your people at GoatHacks. Come with a team, or find a new one at our event! (Or go solo, if that's your thing).
Whether you're a seasoned hacker or starting for the first time, we've got you covered. We'll be hosting workshops and events from industry experts to help you learn new skills and reinforce existing ones.
+Whether you're a seasoned hacker or starting for the first time, we've got you covered. We'll be hosting workshops and events from industry experts to help you learn new skills and reinforce existing ones.
+
See our sponsor packet below and reach out to us here! @@ -382,7 +408,9 @@ class="btn btn-secondary display-4" href="https://drive.google.com/file/d/1L-CZgCxPZmOMpFBy67rTB6ED6lq8v3au/view?usp=sharing" target="_blank" - >Sponsorship Packet +
+
Yes, we will be providing food and refreshments for all attendants, more information to come!
@@ -461,7 +489,7 @@ aria-controls="collapse2" >+
Anyone who is attending a university! Hackers must be 18+
years old and must be attending a college or university to
participate.
@@ -499,7 +527,7 @@
aria-controls="collapse3"
>
+
You do NOT need to know how to code in order to participate! Hack@WPI 2023 is open to all kinds of STEAM disciplines, and we encourage both software and hardware @@ -543,7 +571,7 @@ aria-controls="collapse4" >
+
Tools, hardware and machines are available to WPI students in the Makerspace in the Innovation Studio; students should see @@ -587,7 +615,7 @@ aria-controls="collapse5" >
+
Teams can range anywhere from 1 to 5 people.
+
The venue will be open over night for all participants to stay and work!