-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgamecon_event.html
265 lines (224 loc) · 9.93 KB
/
gamecon_event.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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gamecon</title>
<meta name="description" content="Inspiration for Article Intro Effects" />
<meta name="keywords" content="title, header, effect, scroll, inspiration, medium, web design" />
<meta name="author" content="Codrops" />
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" type="text/css" href="assets/event_layout/css/normalize.css" />
<link rel="stylesheet" type="text/css" href="assets/event_layout/css/demo.css" />
<link rel="stylesheet" type="text/css" href="assets/event_layout/css/component.css" />
<link rel="stylesheet" type="text/css" href="assets/event_layout/css/glow.css" />
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-159141308-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-159141308-1');
</script>
</head>
<body class="demo-1">
<div id="container" class="container intro-effect-push">
<!-- Top Navigation -->
<header class="header">
<div class="bg-img"><img src="assets/event_layout/img/gamecon.png" alt="Background Image"/></div>
<div class="title">
</div>
</header>
<div class="title">
<h1>Gamecon</h1>
<p class="subline">Event Information</p>
</div>
<article class="content">
<div>
<h1>About The Event<h1>
<p style="font-size: 30px">E-Sports is the buzzword among the youth nowadays, but not everyone is a professional. Come, show-off your skills and defeat others in GameCon. During the event, we will be organizing competitive events for computer games FIFA’20 and CSGO and mobile games Clash Royale, PUBG and CODM. </p>
<br>
<h1>Guidelines</h1>
<p>Refer to <a href="assets/files/Event%20Brochure%20(1).pdf">Brochure</a></p>
<br>
<h1>Date and Time</h1>
<p>13th - 14th March 2020</p>
<br>
<h1>Prizes</h1>
<p>Upto 29.5K</p>
<br>
<h1>Registration Fee</h1>
<p>CSGO: Rs 250/- per Team<br>
COD: Rs 200/- per Team<br>
FIFA: Rs 100/- per Person<br>
PUBG: Rs 300/- per Team<br>
Clash Royale: Rs 50/- per Person
</p>
<br>
<h1>Contact</h1>
<p>Purnaabh Shandilya +91-6005063983</p>
<br>
<blockquote>We do not stop playing because we grow old. We grow old because we stop playing.</blockquote>
</div>
</article>
<article class="content">
<div>
<p><button><a href="https://www.townscript.com/e/gamecon-csgo-144104"><div class="glowing" style="font-size:12px"><h1 class="glow_h1" style="margin-top:25px">Re<span class="first">g</span>is<span class="first">t</span>er for CSGO</h1></div></a></button></p>
<!-- <p><button><a href="registration_form.php?event=gamecon_cod"><div class="glowing"><h1 class="glow_h1">Re<span class="first">g</span>is<span class="first">t</span>er for COD</h1></div></a></button></p>
<p><button><a href="registration_form.php?event=gamecon_fifa"><div class="glowing"><h1 class="glow_h1">Re<span class="first">g</span>is<span class="first">t</span>er for FIFA</h1></div></a></button></p>
<p><button><a href="registration_form.php?event=gamecon_pubg"><div class="glowing"><h1 class="glow_h1">Re<span class="first">g</span>is<span class="first">t</span>er for PUBG</h1></div></a></button></p>
<p><button><a href="registration_form.php?event=gamecon_clash_royale"><div class="glowing"><h1 class="glow_h1">Re<span class="first">g</span>is<span class="first">t</span>er for CLASH ROYALE</h1></div></a></button></p>
-->
</div>
</article>
<article class="content">
<div>
<p><button><a href="https://www.townscript.com/e/gamecon-call-of-duty-143241"><div class="glowing" style="font-size:12px"><h1 class="glow_h1" style="margin-top:25px">Re<span class="first">g</span>is<span class="first">t</span>er for COD</h1></div></a></button></p>
<!--<p><button><a href="registration_form.php?event=gamecon_fifa"><div class="glowing"><h1 class="glow_h1">Re<span class="first">g</span>is<span class="first">t</span>er for FIFA</h1></div></a></button></p>
<p><button><a href="registration_form.php?event=gamecon_pubg"><div class="glowing"><h1 class="glow_h1">Re<span class="first">g</span>is<span class="first">t</span>er for PUBG</h1></div></a></button></p>
<p><button><a href="registration_form.php?event=gamecon_clash_royale"><div class="glowing"><h1 class="glow_h1">Re<span class="first">g</span>is<span class="first">t</span>er for CLASH ROYALE</h1></div></a></button></p>
-->
</div>
</article>
<article class="content">
<div>
<p><button><a href="https://www.townscript.com/e/gameconfifa-122444"><div class="glowing" style="font-size:12px"><h1 class="glow_h1" style="margin-top:25px">Re<span class="first">g</span>is<span class="first">t</span>er for FIFA</h1></div></a></button></p>
<!-- <p><button><a href="registration_form.php?event=gamecon_pubg"><div class="glowing"><h1 class="glow_h1">Re<span class="first">g</span>is<span class="first">t</span>er for PUBG</h1></div></a></button></p>
<p><button><a href="registration_form.php?event=gamecon_clash_royale"><div class="glowing"><h1 class="glow_h1">Re<span class="first">g</span>is<span class="first">t</span>er for CLASH ROYALE</h1></div></a></button></p>
-->
</div>
</article>
<article class="content">
<div>
<p><button><a href="https://www.townscript.com/e/gameconpubg-133323"><div class="glowing" style="font-size:12px"><h1 class="glow_h1" style="margin-top:25px">Re<span class="first">g</span>is<span class="first">t</span>er for PUBG</h1></div></a></button></p>
</div>
</article>
<article class="content">
<div>
<p><button><a href="https://www.townscript.com/e/gameconclash-royale-034420"><div class="glowing" style="font-size:12px"><h1 class="glow_h1" style="margin-top:14px">Re<span class="first">g</span>is<span class="first">t</span>er for CLASH ROYALE</h1></div></a></button></p>
</div>
</article>
</div><!-- /container -->
<script src="assets/event_layout/js/classie.js"></script>
<script>
(function() {
// detect if IE : from http://stackoverflow.com/a/16657946
var ie = (function(){
var undef,rv = -1; // Return value assumes failure.
var ua = window.navigator.userAgent;
var msie = ua.indexOf('MSIE ');
var trident = ua.indexOf('Trident/');
if (msie > 0) {
// IE 10 or older => return version number
rv = parseInt(ua.substring(msie + 5, ua.indexOf('.', msie)), 10);
} else if (trident > 0) {
// IE 11 (or newer) => return version number
var rvNum = ua.indexOf('rv:');
rv = parseInt(ua.substring(rvNum + 3, ua.indexOf('.', rvNum)), 10);
}
return ((rv > -1) ? rv : undef);
}());
// disable/enable scroll (mousewheel and keys) from http://stackoverflow.com/a/4770179
// left: 37, up: 38, right: 39, down: 40,
// spacebar: 32, pageup: 33, pagedown: 34, end: 35, home: 36
var keys = [32, 37, 38, 39, 40], wheelIter = 0;
function preventDefault(e) {
e = e || window.event;
if (e.preventDefault)
e.preventDefault();
e.returnValue = false;
}
function keydown(e) {
for (var i = keys.length; i--;) {
if (e.keyCode === keys[i]) {
preventDefault(e);
return;
}
}
}
function touchmove(e) {
preventDefault(e);
}
function wheel(e) {
// for IE
//if( ie ) {
//preventDefault(e);
//}
}
function disable_scroll() {
window.onmousewheel = document.onmousewheel = wheel;
document.onkeydown = keydown;
document.body.ontouchmove = touchmove;
}
function enable_scroll() {
window.onmousewheel = document.onmousewheel = document.onkeydown = document.body.ontouchmove = null;
}
var docElem = window.document.documentElement,
scrollVal,
isRevealed,
noscroll,
isAnimating,
container = document.getElementById( 'container' ),
trigger = container.querySelector( 'button.trigger' );
function scrollY() {
return window.pageYOffset || docElem.scrollTop;
}
function scrollPage() {
scrollVal = scrollY();
if( noscroll && !ie ) {
if( scrollVal < 0 ) return false;
// keep it that way
window.scrollTo( 0, 0 );
}
if( classie.has( container, 'notrans' ) ) {
classie.remove( container, 'notrans' );
return false;
}
if( isAnimating ) {
return false;
}
if( scrollVal <= 0 && isRevealed ) {
toggle(0);
}
else if( scrollVal > 0 && !isRevealed ){
toggle(1);
}
}
function toggle( reveal ) {
isAnimating = true;
if( reveal ) {
classie.add( container, 'modify' );
}
else {
noscroll = true;
disable_scroll();
classie.remove( container, 'modify' );
}
// simulating the end of the transition:
setTimeout( function() {
isRevealed = !isRevealed;
isAnimating = false;
if( reveal ) {
noscroll = false;
enable_scroll();
}
}, 1200 );
}
// refreshing the page...
var pageScroll = scrollY();
noscroll = pageScroll === 0;
disable_scroll();
if( pageScroll ) {
isRevealed = true;
classie.add( container, 'notrans' );
classie.add( container, 'modify' );
}
window.addEventListener( 'scroll', scrollPage );
trigger.addEventListener( 'click', function() { toggle( 'reveal' ); } );
})();
</script>
</body>
</html>