From 1ed1236800a0e6345db95de12531ccf4db0d8968 Mon Sep 17 00:00:00 2001 From: James Dinh Date: Mon, 15 Aug 2022 21:47:11 -0700 Subject: [PATCH] Added banner --- contact.html | 2 +- css/general.css | 22 ++++++++++++++++++++-- css/second.css | 4 ++-- index.html | 9 +++++---- js/general.js | 4 ++-- js/licenses.js | 4 ++-- licenses.html | 2 +- rules.html | 2 +- 8 files changed, 34 insertions(+), 15 deletions(-) diff --git a/contact.html b/contact.html index 984a904..425b0ba 100644 --- a/contact.html +++ b/contact.html @@ -66,7 +66,7 @@ diff --git a/css/general.css b/css/general.css index d477bf2..d388e4f 100644 --- a/css/general.css +++ b/css/general.css @@ -172,12 +172,12 @@ nav ul li { } #timer::after { - content: 'Aug 14, 2pm'; + content: 'Spring 2023?'; position: absolute; text-align: center; align-items: center; top: 30px; - right: -25px; + right: -45px; padding: 2px 7px; width: max-content; opacity: 1; @@ -193,6 +193,24 @@ nav ul li { transform: scale(1); } +#winners { + text-align: center; + position: absolute; + top: 59px; + background-color: #2c9643; + width: 100%; + font-size: 20px; + padding: 3px 0; + animation: fadeInAnimation ease 2s; + animation-iteration-count: 1; + animation-fill-mode: forwards; +} + +#team-emphasis { + color:rgb(157, 201, 255); + font-weight: bold; +} + .tooltip-nav { text-decoration: none; margin: 0; diff --git a/css/second.css b/css/second.css index b33edb3..ad57bd1 100644 --- a/css/second.css +++ b/css/second.css @@ -173,12 +173,12 @@ nav ul li { } #timer::after { - content: 'Aug 12, 4pm'; + content: 'Spring 2023?'; position: absolute; text-align: center; align-items: center; top: 30px; - right: -23px; + right: -45px; padding: 2px 7px; width: max-content; opacity: 1; diff --git a/index.html b/index.html index f78db3e..b981c17 100644 --- a/index.html +++ b/index.html @@ -72,7 +72,7 @@ @@ -95,6 +95,7 @@
+
Congrats to the winners of the Gilroy Hacks 2022 Summer Hackathon: Team 7
-

Study Room A

+

Community Room

diff --git a/js/general.js b/js/general.js index b5d3902..bb3b6ab 100644 --- a/js/general.js +++ b/js/general.js @@ -198,10 +198,10 @@ document.addEventListener('DOMContentLoaded', function(){ // If the count down is finished, write some text if (distance < 0) { clearInterval(x); - document.getElementById("timer").innerHTML = "LIVE"; + document.getElementById("timer").innerHTML = "TBA"; } // Display the result in the element with id="timer" - if (days != 0) { + else if (days != 0) { document.getElementById("timer").innerHTML = days + "d " + hours + "h"; } else if (hours != 0) { diff --git a/js/licenses.js b/js/licenses.js index 0eab4aa..f574df4 100644 --- a/js/licenses.js +++ b/js/licenses.js @@ -67,10 +67,10 @@ var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); // If the count down is finished, write some text if (distance < 0) { clearInterval(x); - document.getElementById("timer").innerHTML = "LIVE"; + document.getElementById("timer").innerHTML = "TBA"; } // Display the result in the element with id="timer" -if (days != 0) { +else if (days != 0) { document.getElementById("timer").innerHTML = days + "d " + hours + "h"; } else if (hours != 0) { diff --git a/licenses.html b/licenses.html index 0e847ec..92dfdda 100644 --- a/licenses.html +++ b/licenses.html @@ -64,7 +64,7 @@ diff --git a/rules.html b/rules.html index 13a163f..673091a 100644 --- a/rules.html +++ b/rules.html @@ -64,7 +64,7 @@