Changed event timer
This commit is contained in:
parent
3ce7ac6d54
commit
dab8f222c2
@ -45,7 +45,7 @@ nav * {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#nav-logo:hover {
|
#nav-logo:hover {
|
||||||
transform: scale(1.05);
|
transform: scale(1.03);
|
||||||
transition: 0.5s;
|
transition: 0.5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -66,7 +66,7 @@ nav ul {
|
|||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav li {
|
nav ul li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
margin: 10px 7px;
|
margin: 10px 7px;
|
||||||
@ -74,19 +74,19 @@ nav li {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav li a {
|
.navlink {
|
||||||
color:rgb(233, 203, 104);
|
color:rgb(233, 203, 104);
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav li a.active,a:hover {
|
.navlink.active,a:hover {
|
||||||
color: rgba(233, 203, 104, 0.774);
|
color: rgba(233, 203, 104, 0.774);
|
||||||
transition: .5s;
|
transition: .5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav li a::after {
|
.navlink::after {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
@ -100,8 +100,8 @@ nav li a::after {
|
|||||||
transform-origin: center;
|
transform-origin: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav li a:hover::after,
|
.navlink:hover::after,
|
||||||
nav li a:focus::after{
|
.navlink:focus::after{
|
||||||
transform: scale(1);
|
transform: scale(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -181,6 +181,29 @@ nav li a:focus::after{
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#timer-link {
|
||||||
|
color:rgb(252, 188, 93);
|
||||||
|
text-decoration: none;
|
||||||
|
cursor: pointer;
|
||||||
|
background: unset;
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
@keyframes flash {
|
||||||
|
0% {
|
||||||
|
background-color: #0d1117;
|
||||||
|
}
|
||||||
|
70% {
|
||||||
|
background-color: #2d2d2d;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
background-color: #0d1117;
|
||||||
|
}
|
||||||
|
} */
|
||||||
|
|
||||||
|
.link:hover {
|
||||||
|
color:rgba(252, 188, 93, 0.719);
|
||||||
|
}
|
||||||
|
|
||||||
@keyframes blinking {
|
@keyframes blinking {
|
||||||
0% {
|
0% {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
BIN
img/.DS_Store
vendored
Normal file
BIN
img/.DS_Store
vendored
Normal file
Binary file not shown.
11
index.html
11
index.html
@ -56,13 +56,13 @@
|
|||||||
</label>
|
</label>
|
||||||
<a onclick="check('01'); save();" target="_blank" href="https://forms.gle/coK7q43RwBV2f15i7"><div id="sign-up">SIGN UP</div></a>
|
<a onclick="check('01'); save();" target="_blank" href="https://forms.gle/coK7q43RwBV2f15i7"><div id="sign-up">SIGN UP</div></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a onclick="uncheck('check')" href="#event">Event</a></li>
|
<li><a class="navlink" onclick="uncheck('check')" href="#event">Event</a></li>
|
||||||
<li><a onclick="uncheck('check')" href="#rules">Rules</a></li>
|
<li><a class="navlink" onclick="uncheck('check')" href="#rules">Rules</a></li>
|
||||||
<li><a onclick="uncheck('check')" href="#prizes">Prizes</a></li>
|
<li><a class="navlink" onclick="uncheck('check')" href="#prizes">Prizes</a></li>
|
||||||
<li><a onclick="uncheck('check')" href="#team">Team</a></li>
|
<li><a class="navlink" onclick="uncheck('check')" href="#team">Team</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div id="banner">
|
<div id="banner">
|
||||||
<p id="banner-text">Next event:<br>Opening Ceremony <abbr class="tooltip-nav" title="Aug 12, 4pm"><span id="timer"></span></abbr></p>
|
<p id="banner-text"><a class="navlink" id="timer-link" href="#timeline" title="Click for more info">Opening Ceremony</a> in<abbr class="tooltip-nav" title="Aug 12, 4pm"><span id="timer"></span></abbr></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
@ -681,6 +681,7 @@
|
|||||||
All Rights Reserved
|
All Rights Reserved
|
||||||
</footer>
|
</footer>
|
||||||
<!-- JavaScript Refs -->
|
<!-- JavaScript Refs -->
|
||||||
|
<script src="js/jquery-3.6.0.min.js"></script>
|
||||||
<script src="js/scroll_nav.js"></script>
|
<script src="js/scroll_nav.js"></script>
|
||||||
<script src="js/scroll_element.js"></script>
|
<script src="js/scroll_element.js"></script>
|
||||||
<script src="js/timer.js"></script>
|
<script src="js/timer.js"></script>
|
||||||
|
@ -22,7 +22,7 @@ function check(id) {
|
|||||||
function uncheck(id) {
|
function uncheck(id) {
|
||||||
document.getElementById(id).checked = false;
|
document.getElementById(id).checked = false;
|
||||||
}
|
}
|
||||||
function notifitcation_popup(id) {
|
function notification(id) {
|
||||||
if (localStorage.getItem(checkboxes[id].value) != true) { verify = false; }
|
if (localStorage.getItem(checkboxes[id].value) != true) { verify = false; }
|
||||||
if (verify) { document.getElementById('notification').style.visibility = visible; }
|
if (verify) { document.getElementById('notification').style.visibility = visible; }
|
||||||
}
|
}
|
2
js/jquery-3.6.0.min.js
vendored
Normal file
2
js/jquery-3.6.0.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
160
liscenses.html
160
liscenses.html
@ -1,81 +1,81 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<!--
|
<!--
|
||||||
Gilroy Hacks Website Source Code -> HTML (https://gilroyhacks.com)
|
Gilroy Hacks Website Source Code -> HTML (https://gilroyhacks.com)
|
||||||
|
|
||||||
Web-Designed by James Dinh ᓚᘏᗢ from scratch using pure HTML, CSS, and JS
|
Web-Designed by James Dinh ᓚᘏᗢ from scratch using pure HTML, CSS, and JS
|
||||||
For more info, contact jamesdinh77 (at) protonmail (dot) com
|
For more info, contact jamesdinh77 (at) protonmail (dot) com
|
||||||
|
|
||||||
Copyright Disclaimer: This Source Code is Copyright (c) 2022 Gilroy Hacks All Rights Reserved.
|
Copyright Disclaimer: This Source Code is Copyright (c) 2022 Gilroy Hacks All Rights Reserved.
|
||||||
-->
|
-->
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
|
||||||
<title>Gilroy Hacks</title>
|
<title>Gilroy Hacks</title>
|
||||||
<link href="css/general.css" rel="stylesheet" type="text/css" media="all">
|
<link href="css/general.css" rel="stylesheet" type="text/css" media="all">
|
||||||
<link href="css/scroll_nav.css" rel="stylesheet" type="text/css" media="all">
|
<link href="css/scroll_nav.css" rel="stylesheet" type="text/css" media="all">
|
||||||
<link rel="stylesheet" href="css/leaflet.css"/>
|
<link rel="stylesheet" href="css/leaflet.css"/>
|
||||||
<link rel="icon" href="img/Gilroy-Hacks-Logo-icon-tp.ico">
|
<link rel="icon" href="img/Gilroy-Hacks-Logo-icon-tp.ico">
|
||||||
<link rel="apple-touch-icon" href="img/Gilroy Hacks Logo (app).png">
|
<link rel="apple-touch-icon" href="img/Gilroy Hacks Logo (app).png">
|
||||||
|
|
||||||
<meta name="author" content="Gilroy Hacks">
|
<meta name="author" content="Gilroy Hacks">
|
||||||
<meta name="copyright" content="This site and its pages are Copyright (c) 2022 Gilroy Hacks All Rights Reserved.">
|
<meta name="copyright" content="This site and its pages are Copyright (c) 2022 Gilroy Hacks All Rights Reserved.">
|
||||||
<meta name="description" content="The official website for the Gilroy Hacks Hackathon. Strengthen your skills and collaborate with others to create something useful.">
|
<meta name="description" content="The official website for the Gilroy Hacks Hackathon. Strengthen your skills and collaborate with others to create something useful.">
|
||||||
<meta name="keywords" content="Gilroy Hacks, GilroyHacks, Gilroy, hackathon, Bay Area, GECA, Dr. TJ Owens Gilroy Early College Academy">
|
<meta name="keywords" content="Gilroy Hacks, GilroyHacks, Gilroy, hackathon, Bay Area, GECA, Dr. TJ Owens Gilroy Early College Academy">
|
||||||
|
|
||||||
<script src="js/leaflet.js"></script>
|
<script src="js/leaflet.js"></script>
|
||||||
<script defer data-domain="gilroyhacks.com" src="https://plausible.gilroyhacks.com/js/plausible.js"></script>
|
<script defer data-domain="gilroyhacks.com" src="https://plausible.gilroyhacks.com/js/plausible.js"></script>
|
||||||
<style>
|
<style>
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Glacial Indifference";
|
font-family: "Glacial Indifference";
|
||||||
src: url("font/GlacialIndifference-Regular.otf") format('opentype');
|
src: url("font/GlacialIndifference-Regular.otf") format('opentype');
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
position: relative;
|
position: relative;
|
||||||
background-color: #0d1117 !important;
|
background-color: #0d1117 !important;
|
||||||
background-image: "";
|
background-image: "";
|
||||||
color: #f2f1ef !important;
|
color: #f2f1ef !important;
|
||||||
font-family: "Glacial Indifference";
|
font-family: "Glacial Indifference";
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<!--For icons, go here: https://iconsvg.xyz/ -->
|
<!--For icons, go here: https://iconsvg.xyz/ -->
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!--Nav-->
|
<!--Nav-->
|
||||||
<nav id="navBar">
|
<nav id="navBar">
|
||||||
<a id="nav-logo-a" href="./">
|
<a id="nav-logo-a" href="./">
|
||||||
<img id="nav-logo" src="img/Gilroy Hacks Logo [Summer-wide-2].png" alt="logo"/>
|
<img id="nav-logo" src="img/Gilroy Hacks Logo [Summer-wide-2].png" alt="logo"/>
|
||||||
</a>
|
</a>
|
||||||
<div id="nav-links-container">
|
<div id="nav-links-container">
|
||||||
<input type="checkbox" id="check">
|
<input type="checkbox" id="check">
|
||||||
<label for="check" class="checkbtn">
|
<label for="check" class="checkbtn">
|
||||||
<img src="img/bars.png" loading="lazy" height="17" width="25" alt="Bars"/>
|
<img src="img/bars.png" loading="lazy" height="17" width="25" alt="Bars"/>
|
||||||
</label>
|
</label>
|
||||||
<a onclick="check('01'); save();" target="_blank" href="https://forms.gle/coK7q43RwBV2f15i7"><div id="sign-up">SIGN UP</div></a>
|
<a onclick="check('01'); save();" target="_blank" href="https://forms.gle/coK7q43RwBV2f15i7"><div id="sign-up">SIGN UP</div></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a onclick="uncheck('check')" href="#event">Event</a></li>
|
<li><a onclick="uncheck('check')" href="#event">Event</a></li>
|
||||||
<li><a onclick="uncheck('check')" href="#rules">Rules</a></li>
|
<li><a onclick="uncheck('check')" href="#rules">Rules</a></li>
|
||||||
<li><a onclick="uncheck('check')" href="#prizes">Prizes</a></li>
|
<li><a onclick="uncheck('check')" href="#prizes">Prizes</a></li>
|
||||||
<li><a onclick="uncheck('check')" href="#team">Team</a></li>
|
<li><a onclick="uncheck('check')" href="#team">Team</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div id="banner">
|
<div id="banner">
|
||||||
<p id="banner-text">Next event:<br>Opening Ceremony <abbr class="tooltip-nav" title="Aug 12, 4pm"><span id="timer"></span></abbr></p>
|
<p id="banner-text">Next event:<br>Opening Ceremony <abbr class="tooltip-nav" title="Aug 12, 4pm"><span id="timer"></span></abbr></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<!--Footer-->
|
<!--Footer-->
|
||||||
<footer>
|
<footer>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a class="link" onclick="check('02'); save()" target="_blank" href="https://discord.gg/nkTDKMcYbr" title="Discord Invite Link">Discord</a></li>
|
<li><a class="link" onclick="check('02'); save()" target="_blank" href="https://discord.gg/nkTDKMcYbr" title="Discord Invite Link">Discord</a></li>
|
||||||
<li><a class="link" target="_blank" href="mailto:tech@gilroyhacks.com" title="Email">Contact Us</a></li>
|
<li><a class="link" target="_blank" href="mailto:tech@gilroyhacks.com" title="Email">Contact Us</a></li>
|
||||||
<li><a class="link" target="_blank" href="https://forms.gle/jhVFg4hN42k7EMZs7" title="Volunteer Signup Form">Volunteer Signup</a></li>
|
<li><a class="link" target="_blank" href="https://forms.gle/jhVFg4hN42k7EMZs7" title="Volunteer Signup Form">Volunteer Signup</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<hr id="footer-line">
|
<hr id="footer-line">
|
||||||
© 2022 Gilroy Hacks <br>
|
© 2022 Gilroy Hacks <br>
|
||||||
All Rights Reserved
|
All Rights Reserved
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user