diff --git a/hackstoga/embed/countdown/index.html b/hackstoga/embed/countdown/index.html index 353505a..f2fd569 100644 --- a/hackstoga/embed/countdown/index.html +++ b/hackstoga/embed/countdown/index.html @@ -5,7 +5,7 @@ Embeddable Component | Conestoga Computer Science Club - + diff --git a/hackstoga/embed/schedule/index.html b/hackstoga/embed/schedule/index.html index 7922056..6e3e864 100644 --- a/hackstoga/embed/schedule/index.html +++ b/hackstoga/embed/schedule/index.html @@ -5,7 +5,7 @@ Embeddable Component | Conestoga Computer Science Club - + diff --git a/hackstoga/index.html b/hackstoga/index.html index 0325698..4a47f0b 100644 --- a/hackstoga/index.html +++ b/hackstoga/index.html @@ -74,21 +74,26 @@

hackStoga


March 16, 2024 (9am-6pm) | In-Person Event @ Conestoga High School

-
- Sign Up - Volunteer +
+
+ Sign Up +
+
+ Volunteer +

NHS hours available

+
diff --git a/hackstoga/schedule/index.html b/hackstoga/schedule/index.html index 674fb4c..a3895ab 100644 --- a/hackstoga/schedule/index.html +++ b/hackstoga/schedule/index.html @@ -5,10 +5,7 @@ hackStoga Schedule | Conestoga Computer Science Club - + @@ -38,6 +35,13 @@
  • Back
  • + + +
    Schedule -
    +
    -

    Schedule is not currently final!

    - + + diff --git a/hackstoga/submit/index.html b/hackstoga/submit/index.html index 6b70e28..4b20321 100644 --- a/hackstoga/submit/index.html +++ b/hackstoga/submit/index.html @@ -10,36 +10,21 @@

    Redirecting to - https://hackstoga24.devpost.com/

    https://hackstoga24.devpost.com/

    diff --git a/media/banners/judging.JPG b/media/banners/judging.JPG new file mode 100644 index 0000000..fcab75c Binary files /dev/null and b/media/banners/judging.JPG differ diff --git a/media/banners/smash.jpg b/media/banners/smash.jpg new file mode 100644 index 0000000..cb1ed01 Binary files /dev/null and b/media/banners/smash.jpg differ diff --git a/media/misc/nhs.png b/media/misc/nhs.png new file mode 100644 index 0000000..ea56b60 Binary files /dev/null and b/media/misc/nhs.png differ diff --git a/scripts/hackstoga/schedule-viewer.js b/scripts/hackstoga/schedule-viewer.js new file mode 100644 index 0000000..b8a2edb --- /dev/null +++ b/scripts/hackstoga/schedule-viewer.js @@ -0,0 +1,31 @@ +const Times = { + breakfastOver: 11, + smashStart: 12, + lunchStart: 13, + lunchOver: 14, + judgeStart: 17, +}; + +const now = new Date(); +const hours = now.getHours(); +const bg = document.getElementById('splash'); + +switch (true) { + case hours < Times.breakfastOver: + bg.style.backgroundImage = 'url(/media/banners/donut-boxes.jpg)'; + break; + case hours < Times.smashStart: + bg.style.backgroundImage = 'url(/media/banners/smash.jpg)'; + break; + case hours < Times.lunchStart: + bg.style.backgroundImage = 'url(/media/banners/sponsor24.png)'; + console.log('Lunch is ongoing'); + break; + case hours < Times.judgeStart: + bg.style.backgroundImage = 'url(/media/banners/sponsor24.png)'; + break; + default: + console.log('Judging in progress'); + bg.style.backgroundImage = 'url(/media/banners/judging.jpg)'; + break; +} diff --git a/style/hackstoga/hackstoga.css b/style/hackstoga/hackstoga.css index 5d56dd4..03089b8 100644 --- a/style/hackstoga/hackstoga.css +++ b/style/hackstoga/hackstoga.css @@ -224,6 +224,26 @@ ul.brands li.brand img { color: var(white); } +#vol-container { + display: inline-flex; + flex-direction: column; + align-items: flex-start; +} + +.button-container { + margin-top: 15px; + display: flex; + flex-direction: row; +} + +.translucent-bg { + margin-top: 2px; + font-size: 1.25em; + background-color: rgba(0, 0, 0, 0.796); + padding: 0.3em; + border-radius: 0.5em; +} + @media screen and (max-width: 522px) { .clean-button { margin: 0px 0px 0px 0px; diff --git a/style/theme.css b/style/theme.css index 1c77269..90419d7 100644 --- a/style/theme.css +++ b/style/theme.css @@ -308,6 +308,11 @@ a:hover { background-color: #12121230; } +.button-subtext { + font-size: 0.5em; + margin-top: 0.5em; +} + .clean-button:hover { transform: scale(1.05); transform: scale(1.1);