-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathevent-desc.html
More file actions
288 lines (225 loc) · 7.79 KB
/
event-desc.html
File metadata and controls
288 lines (225 loc) · 7.79 KB
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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.4/css/bulma.css">
<link rel="stylesheet" href="assets/css/main.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100;300;500&display=swap" rel="stylesheet">
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
-->
<link rel="stylesheet=" href="C:\xampp\htdocs\Esperanza\js.js">
<script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
<title>Esperanza 2K22</title>
</head>
<body>
<div id="spinner">
<img src="assets/images/esperanzalogo.jpg" />
</div>
<!-- Navbar starts here -->
<nav
class="navbar"
id="navbar"
role="navigation"
aria-label="main navigation"
style="background-color: black !important"
>
<div class="navbar-brand">
<a class="navbar-item" href="index.html">
<!-- logo goes here -->
<h2
class="title is-2 esp_logo"
style="text-align: right; line-height: 23px; font-weight: 800"
>
esperanza<br /><span style="padding: 0" class="title is-4 esp_2k22"
>2k22</span
>
</h2>
</a>
<a
role="button"
class="navbar-burger"
aria-label="menu"
aria-expanded="true"
data-target="navbarBasicExample"
>
<span
style="background-color: white; height: 2px; width: 22px"
aria-hidden="true"
></span>
<span
style="background-color: white; height: 2px; width: 15px"
aria-hidden="true"
></span>
<span
style="background-color: white; height: 2px; width: 22px"
aria-hidden="true"
></span>
</a>
</div>
   
<div id="navbarBasicExample" class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item" href="index.html"> About Us </a>
<a class="navbar-item" href="/index.html/sponsors"> Sponsors </a>
<a class="navbar-item"> Archives </a>
<a class="navbar-item"> Events & Competitions </a>
<a
class="navbar-item"
style="
background: -webkit-linear-gradient(#d9ff00, #c5dd28);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
"
>
Register Now!
</a>
</div>
<div class="navbar-end is-desktop">
<img
class="dsatm_logo"
style="width: 100%; object-fit: contain"
src="assets/images/dsatm_logo.png"
/>
</div>
</div>
</nav>
<!-- Navbar ends here -->
<!-- event title -->
<section class="hero is-link">
<div class="hero-body">
<p class="title is-2">
EVENT NAME
</p>
<p class="subtitle">
Event Category
</p>
</div>
</section>
<div class=" is-vcentered content" style="height: 100vh;width: 100%;" id="aboutUs">
<img src="" alt="">
</img>
<p class="subtitle">
Put Brochure Here.
</p>
<button class="button is-dark is-normal" style="margin: 20px 20px 0 20px;font-family: 'Josefin Sans';">Register!</button>
</div>
<hr>
<button onclick="topFunction()" id="myBtn" title="Go to top">👆</button>
</body>
<footer class="footer">
<div class="content has-text-centered">
<p class="title is-5" style="color: white;">
Esperanza fans counter : <strong style="font-size:25px;color: rgb(255, 62, 255);">10,000</strong>
</p>
</div>
</footer>
<div class="modal">
<!-- Place at bottom of page -->
</div>
<script>
//Get the button:
mybutton = document.getElementById("myBtn");
// When the user scrolls down 20px from the top of the document, show the button
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
mybutton.style.display = "block";
} else {
mybutton.style.display = "none";
}
}
// When the user clicks on the button, scroll to the top of the document
function topFunction() {
document.body.scrollTop = 0; // For Safari
document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
}
var prevScrollpos = window.pageYOffset;
window.onscroll = function () {
scrollFunction()
var currentScrollPos = window.pageYOffset;
if (prevScrollpos > currentScrollPos) {
document.getElementById("navbar").style.top = "0";
} else {
document.getElementById("navbar").style.top = "-10vh";
}
prevScrollpos = currentScrollPos;
}
$("#baa_guru").attr('title', 'Click to Translate!');
$(document).ready(function() {
// Check for click events on the navbar burger icon
$(".navbar-burger").click(function() {
// Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu"
$(".navbar-burger").toggleClass("is-active");
$(".navbar-menu").toggleClass("is-active");
});
$(".navbar-item").click(function() {
$(".navbar-burger").toggleClass("is-active");
$(".navbar-menu").toggleClass("is-active");
});
});
</script>
<script>
// The data/time we want to countdown to
var countDownDate = new Date("June 24, 2022 00:00:00").getTime();
// Run myfunc every second
var myfunc = setInterval(function () {
var now = new Date().getTime();
var timeleft = countDownDate - now;
// Calculating the days, hours, minutes and seconds left
var days = Math.floor(timeleft / (1000 * 60 * 60 * 24));
var hours = Math.floor((timeleft % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((timeleft % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((timeleft % (1000 * 60)) / 1000);
// Result is output to the specific element
document.getElementById("days").innerHTML = days + "d "
document.getElementById("hours").innerHTML = hours + "h "
document.getElementById("mins").innerHTML = minutes + "m "
document.getElementById("secs").innerHTML = seconds + "s "
// Display the message when countdown is over
if (timeleft < 0) {
clearInterval(myfunc);
document.getElementById("days").innerHTML = ""
document.getElementById("hours").innerHTML = ""
document.getElementById("mins").innerHTML = ""
document.getElementById("secs").innerHTML = ""
document.getElementById("end").innerHTML = "LET'S GOOOOOO 🚀!!";
}
}, 1000);
window.onbeforeunload = function () {
window.scrollTo(0, 0);
}
// (A) SHOW & HIDE SPINNER
function show() {
document.getElementById("spinner").classList.add("show");
}
function hide() {
document.getElementById("spinner").classList.remove("show");
}
$(window).load(function () {
$("#spinner").fadeOut("slow");
});
/*
$('#baa_guru')
.data('textToggle', 'Translate!')
.hover(function (e) {
var that = $(this);
// get the text from data attribute
var textToSet = that.data('textToggle');
// save the current text so it can be reverted
that.data('textToggle', that.text());
// set the new text
that.text(textToSet);
}, function (e) {
var that = $(this);
// get the text from data attribute
var textToSet = that.data('textToggle');
// save the current text so it can be reverted
that.data('textToggle', that.text());
// set the new text
that.text(textToSet);
}); */
</script>
</html>