-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
243 lines (215 loc) · 9.17 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
<!DOCTYPE html>
<html>
<head>
<title>HelloWorld 2020</title>
<meta name="viewport" content="width=device-width, initial-scale=.5">
<link href="helloworld.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://use.typekit.net/ugm7mjs.css">
<link rel="stylesheet" href="https://use.typekit.net/rkb0jcu.css">
<link rel="stylesheet" href="https://use.typekit.net/rkb0jcu.css">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<script src="rellax.min.js"></script>
<script src="https://kit.fontawesome.com/1bcdd38cc2.js" crossorigin="anonymous"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-177900891-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-177900891-1');
</script>
</head>
<body>
<a id="mlh-trust-badge" style="display:block;max-width:100px;min-width:60px;position:fixed;right:50px;top:0;width:10%;z-index:10000" href="https://mlh.io/seasons/2021/events?utm_source=na-hackathon&utm_medium=TrustBadge&utm_campaign=2021-season&utm_content=yellow" target="_blank"><img src="https://s3.amazonaws.com/logged-assets/trust-badge/2021/mlh-trust-badge-2021-yellow.svg" alt="Major League Hacking 2021 Hackathon Season" style="width:100%"></a>
<div class="wrapper">
<div id="flash2" class="grad2"></div>
<div id="footer">
<a href="#landingcontainer"><div></div></a>
</div>
<script>
function openNav() {
if (window.matchMedia("(max-device-width: 480px)").matches) {
document.getElementById("navbar").style.opacity="1";
document.getElementById("navoverlay").style.opacity=".75";
document.getElementById("navbar").style.pointerEvents="auto";
document.getElementById("navoverlay").style.pointerEvents="auto";
} else {
document.getElementById("navbar").style.opacity="1";
document.getElementById("navoverlay").style.display="none";
}
}
function closeNav() {
if (window.matchMedia("(max-device-width: 480px)").matches) {
document.getElementById("navbar").style.opacity="0";
document.getElementById("navoverlay").style.opacity="0";
document.getElementById("navbar").style.pointerEvents="none";
document.getElementById("navoverlay").style.pointerEvents="none";
} else {
document.getElementById("navbar").style.opacity="1";
document.getElementById("navoverlay").style.display="none";
}
}
</script>
<img style="width:8%;position:absolute;right:40px;" src="mlh.png">
<div class="bar">
<i class="fas fa-bars" onclick="openNav()"></i>
<div id="navbar">
<div class="navbutton" onclick="closeNav()">
<div class="nametag" style="flex:50%;"><a href="#about">About</a></div>
</div>
<div class="navbutton" onclick="closeNav()" style="width:9em;">
<div class="nametag" style="flex:50%;"><a href="#partners">Partners</a></div>
</div>
<div class="navbutton" onclick="closeNav()" style="width:8.5em;">
<div class="nametag" style="flex:50%;"><a href="#contact">Contact</a></div>
</div>
<div class="navbutton" onclick="closeNav()">
<div class="nametag" style="flex:50%;"><a href="faq/faq.html">FAQ</a></div>
</div>
<div onclick="closeNav()" class="navbutton" id="closebutton">
<div style="flex:50%;padding-left:1.5em;"><p>close</p></div>
</div>
</div>
</div>
<div id="navoverlay" onclick="closeNav()"></div>
<div id="flash" class="grad"></div>
<div id="landingcontainer">
<div id="firsttrees">
<div class="firsttree rellax" data-rellax-speed="1">
<img src="foretree.png">
</div>
<div class="firsttree rellax" data-rellax-speed="-3">
<img src="backtree2.png">
</div>
<div class="firsttree rellax" data-rellax-speed="-2">
<img src="midtree.png">
</div>
</div>
<div id="landing">
<div class="futureimage">
<img style="width: 100%" src="sun.svg" alt="sun">
</div>
<div id="titlegroup">
<img src="cuhackitbug.png" alt="CUhackit logo">
<div class="mobilestack">
<h3>January 30-31, 2021</h3>
<div class="buttons">
<a style="flex:40%;" href="https://docs.google.com/forms/d/e/1FAIpQLSd0UOteotSUGSfWT5eRlxTAZfT_Ee0x1nfwlNuMWn1vJawIdQ/viewform" class="applybutton">
<div>
<div class="nametag">Become a partner</div>
</div>
</a>
<a style="flex:40%;" href="https://docs.google.com/forms/d/e/1FAIpQLSeOQGq58yr8AliFswQaZ8zizYfVj8gdv6L8B-r6ZRjftwgGAg/viewform?usp=sf_link" class="applybutton partnerbutton">
<div>
<div class="nametag">Sign up for mailing list</div>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
<!-- <div id="parallax-group">
<div id="hill" class="parallax rellax" data-rellax-speed="-2" ></div>
</div>-->
<div id="about" >
<div class="block">
<div class="text">
<h2>a little about us</h2>
<p>Join us for a day of building, learning, and having fun at South Carolina’s premiere hackathon! Come with old friends or meet new ones at the event and get ready for an action-packed 24-hours. No matter your major or level of experience, we want to "CU" hack it!</p>
<a href="faq/faq.html">
<div class="navbutton">
<div class="nametag"><p>FAQ</p></div>
</div>
</a>
</div>
</div>
</div>
<div id="rest" style="">
<div id="partners" >
<h2>Our partners</h2>
<div id="partnercloud">
<a href="https://www.clemson.edu/cecas/departments/computing/" target="_blank"><img src="SoCLogo.png"></a>
</div>
<a id="partnerbutton" href="">Become a partner!</a>
</div>
<div id="contact">
<div>
<h2>Stay in touch!</h2>
<div class="block">
<div>
<div class="container">
<a href="https://docs.google.com/forms/d/e/1FAIpQLSeOQGq58yr8AliFswQaZ8zizYfVj8gdv6L8B-r6ZRjftwgGAg/viewform?usp=sf_link" class="applybutton">
<div>
<div class="nametag">Sign up for our newsletter</div>
</div>
</a>
</div>
</div>
</div>
<div class="image">
<img src="telescope.png" />
</div>
</div>
</div>
<div class="decorativelines">
<div style="width: 100%;height:7px;"></div>
<div style="width: 30%;height:3px;"></div>
</div>
<div id="bottom">
<div id="socials">
<div class="socialcontainer">
<div class="social">
<a href="https://twitter.com/cuhackit?lang=en"><i class="fa fa-twitter" aria-hidden="true"></i></a>
</div>
</div>
<div class="socialcontainer">
<div class="social">
<a href="https://www.instagram.com/cuhackit/?hl=en"><i class="fa fa-instagram" aria-hidden="true"></i></a>
</div>
</div>
<div class="socialcontainer">
<div class="social">
<a href="https://www.facebook.com/CUhackers/"><i class="fa fa-facebook" aria-hidden="true"></i></a>
</div>
</div>
</div>
</div>
</div>
</div>
</script>
<script>
/* window.addEventListener('scroll', function(e) {
var hill = document.querySelectorAll(".parallax");
var container = document.querySelector("#parallax-group");
var trees = document.querySelectorAll(".firsttree");
var scrolled = Math.ceil(window.pageYOffset / 15) * 15;
var rate = scrolled * .15;
var rate4 = scrolled * .25;
var rate2 = scrolled * -.15;
var rate3 = scrolled * -.75;
if (window.matchMedia("(max-device-width: 480px)").matches) {
hill[0].style.transform = 'translate3D(0px, '+rate+'px, 0px)';
hill[1].style.transform = 'none';
hill[2].style.transform = 'translate3D(0px, '+rate3+'px, 0px)';
container.style.transform = 'none';
trees[1].style.transform = 'translate3D(0px, '+rate4+'px, 0px)';
trees[2].style.transform = 'translate3D(0px, '+rate+'px, 0px)';
} else {
container.style.transform = 'translate3D(0px, '+rate4+'px, 0px)';
hill[0].style.transform = 'translate3D(0px, '+rate+'px, 0px)';
hill[1].style.transform = 'translate3D(0px, '+rate2+'px, 0px)';
hill[2].style.transform = 'translate3D(0px, '+rate3+'px, 0px)';
container.style.transform = 'translate3D(0px, '+rate+'px, 0px)';
trees[1].style.transform = 'translate3D(0px, '+rate4+'px, 0px)';
trees[2].style.transform = 'translate3D(0px, '+rate+'px, 0px)';
}
}); */
var rellax = new Rellax('.rellax', {
breakpoints:[480, 1000, 1201]
});
let vh = window.innerHeight * 0.01;
document.documentElement.style.setProperty('--vh', `${vh}px`);
</script>
</body>
</html>