From 44b0c0182b0ee30384e2551bd7bba48afa378c98 Mon Sep 17 00:00:00 2001 From: James Dinh Date: Fri, 17 Jun 2022 01:43:06 -0700 Subject: [PATCH] Added Responsiveness --- .DS_Store | Bin 0 -> 6148 bytes css/general.css | 49 +++++++++++++++++++++++++++--------------- img/.DS_Store | Bin 0 -> 6148 bytes index.html | 6 +++--- js/timer.js | 56 ++++++++++++++++++++++++------------------------ sitemap.xml | 22 +++++++++---------- 6 files changed, 74 insertions(+), 59 deletions(-) create mode 100644 .DS_Store create mode 100644 img/.DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..a708d0d88984359789ebbdcfbd2bd956e10d0fe4 GIT binary patch literal 6148 zcmeHK!EVz)5S>i|aatkeKm`{hOTAVlrGQ#-aYH$9#Z`MKD8zMW4eo9gI}K74$yeZG zIPxd_3nzH9yRDjpUV1>HnvrJT?(Dp^_SxF?5RvMR(hZ_E5e0C@S_{ozjOW=GtmY$4 zpyD;mQIeYkBVJDIe^7wmU7e1opyG9Y_5G<|m|6dA&2FSYAIOlVayE~4uFFft#hL#e zek5mkR+OF2PgSco?%Zt#&0slr7oV7MT=vUR(d`cpd9-Ito?P_%$$mB%_uBVg8eR4? zJs4U-mJX2e_8`-#8F$S{r-kLlZX##}tzP@VWU{%n7Czm0HeCxR+fO>^Z$6(+Tfxfe z;}>swpYl^}zSxbC!pCdvp2rLLiq7S>&*P!ajXp+<^Xrt+DIL#=@f|Z)MO#9arj!Qs znbzrqN^tU7j(Rl5snN%Um+@^b2SYJYKok%KZmxho_JZY`FCk1(Koq#83h?<5!Wkov zl|y@Ups^(Yuz|2O^zF|-FysI*@>n@U1g0Dn=%~t<7|PcU%F!_&`TWYEqm!~v#ybAV z%2z1LmmVs#>7*iu(uxA2z^npwH*E9$|LXesf0iU8Q9u;9RSKxaZoJ#Ymi*niusObK tL->0*8|PIHFDdBQs~EX_6+eVqLpY5Phpx1Z`4Uh-_&k_z#W{zd*1^VIhL~A_Pw(CPD1(pX-~QDU30&7KTJ- zj@h@F-TBye+-?>?Xw3(wKodZNDp>5X`9Wk{bV+v1B7-5tIKc~^F}kWI{iWG%a0Z-# zO=Cbm?jE{$#S~w@-(EH8vDoIvH=*qi7Z{_W#{}<)xTJRSo469BW8@=W&KmG zMBeO>{aJRt-1mEH`Eu8h%fG~xdVj;wrhQl2P*2bz8~fW(tk>uaI0I{CK=y}76)X*F z#k6&>Nml@3L30xJPl4CU{{Qw?zBgnR~pue>W*NSk6@XD-B3cx z&iFA+M<^A&bq1V)MFw{DXH(Aqv(@+iMJNB|3^)V-ih)qHJM9*iWM}Kr;^eH2)Ca1F n%&QfX3mZF*Q%8>C18NeEMd=Vr!&;FRivJNvGTeam @@ -419,7 +419,7 @@
-

Map

+

Location

@@ -448,7 +448,7 @@

Do not plagiarize

- - You are allowed to use existing libraries and packages with a valid license and give credit when credit is due (required, unless under Creative Commons or Open Source Licensing) + - You are allowed to use existing libraries and packages with a valid license and give credit when credit is due (required, unless under Creative Commons or Open Source Licensing)
- You may also use old projects as frameworks for your product, but you cannot work on any material that is related to the hackathon before the event

diff --git a/js/timer.js b/js/timer.js index 71c23d8..1b43910 100644 --- a/js/timer.js +++ b/js/timer.js @@ -1,29 +1,29 @@ -// SRC: W3Schools https://www.w3schools.com/howto/howto_js_countdown.asp -// Set the date we're counting down to -var countDownDate = new Date("Aug 12, 2022 16:00:00").getTime(); - -// Update the count down every 1 second -var x = setInterval(function() { - - // Get today's date and time - var now = new Date().getTime(); - - // Find the distance between now and the count down date - var distance = countDownDate - now; - - // Time calculations for days, hours, minutes and seconds - var days = Math.floor(distance / (1000 * 60 * 60 * 24)); - var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); - var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); - var seconds = Math.floor((distance % (1000 * 60)) / 1000); - - // Display the result in the element with id="demo" - document.getElementById("timer").innerHTML = days + "d " + hours + "h"; - // + minutes + "m " + seconds + "s "; - - // If the count down is finished, write some text - if (distance < 0) { - clearInterval(x); - document.getElementById("timer").innerHTML = "NOW"; - } +// SRC: W3Schools https://www.w3schools.com/howto/howto_js_countdown.asp +// Set the date we're counting down to +var countDownDate = new Date("Aug 12, 2022 16:00:00").getTime(); + +// Update the count down every 1 second +var x = setInterval(function() { + + // Get today's date and time + var now = new Date().getTime(); + + // Find the distance between now and the count down date + var distance = countDownDate - now; + + // Time calculations for days, hours, minutes and seconds + var days = Math.floor(distance / (1000 * 60 * 60 * 24)); + var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); + var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); + var seconds = Math.floor((distance % (1000 * 60)) / 1000); + + // Display the result in the element with id="demo" + document.getElementById("timer").innerHTML = days + "d " + hours + "h"; + // + minutes + "m " + seconds + "s "; + + // If the count down is finished, write some text + if (distance < 0) { + clearInterval(x); + document.getElementById("timer").innerHTML = "NOW"; + } }, 1000); \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index d1fdd83..9e99300 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1,16 +1,16 @@ - - - - + + + + https://gilroyhacks.com/ 2022-06-13T21:30:01+00:00 - - - + + + \ No newline at end of file