-
Notifications
You must be signed in to change notification settings - Fork 1
/
hackathon.html
338 lines (285 loc) · 11.2 KB
/
hackathon.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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hackathon Arena</title>
<style>
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}
/* Global Styles */
body {
background-color: #004c6d; /* Dark background */
color: #e0e0e0; /* Light text color */
line-height: 1.6;
overflow-x: hidden; /* Prevent horizontal scroll */
}
.highlight {
background-color: #ffeb3b; /* Bright yellow background */
color: #000; /* Black text */
padding: 10px;
border-radius: 5px;
font-weight: bold; /* Bold text */
text-align: center; /* Center the text */
}
.container {
width: 90%;
max-width: 1200px;
margin: 20px auto;
}
h1, h2 {
text-align: center;
color: #00bcd4; /* Teal color for headings */
margin-bottom: 20px;
animation: fadeIn 0.5s; /* Fade-in animation */
}
section {
background: #1e1e1e; /* Dark grey background for sections */
color: #e0e0e0; /* Light text for readability */
padding: 20px;
margin-bottom: 20px;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
opacity: 0; /* Start invisible */
transform: translateY(20px); /* Start below */
animation: fadeIn 0.5s forwards; /* Fade-in animation with delay */
transition: transform 0.3s, opacity 0.3s; /* Smooth transitions */
}
/* Add delay to section animations */
section:nth-of-type(1) { animation-delay: 0.1s; }
section:nth-of-type(2) { animation-delay: 0.2s; }
section:nth-of-type(3) { animation-delay: 0.3s; }
section:nth-of-type(4) { animation-delay: 0.4s; }
section:nth-of-type(5) { animation-delay: 0.5s; }
section:nth-of-type(6) { animation-delay: 0.6s; }
section:nth-of-type(7) { animation-delay: 0.7s; }
section:nth-of-type(8) { animation-delay: 0.8s; }
section:nth-of-type(9) { animation-delay: 0.9s; }
section:nth-of-type(10) { animation-delay: 1s; }
section:nth-of-type(11) { animation-delay: 1.1s; }
p, ul {
margin: 10px 0;
}
ul {
list-style-type: disc;
margin: 10px 0 10px 20px;
}
.timer {
text-align: center;
}
.countdown-container {
display: flex;
justify-content: center;
gap: 20px;
margin-bottom: 20px;
}
.countdown-box {
background-color: #004c6d;
color: #ffffff;
padding: 15px;
border-radius: 10px;
text-align: center;
width: 100px;
font-size: 2em;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.countdown-box:nth-child(1) { background-color: #005f73; } /* Different colors for each box */
.countdown-box:nth-child(2) { background-color: #0a9396; }
.countdown-box:nth-child(3) { background-color: #94d2bd; }
.countdown-box:nth-child(4) { background-color: #ee9b00; }
.label {
font-size: 0.5em;
margin-top: 10px;
text-transform: uppercase;
}
.button {
display: inline-block;
padding: 10px 20px;
margin-top: 20px;
background-color: #00bcd4; /* Teal background for the button */
color: #121212; /* Dark text color for button */
text-decoration: none;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
transition: background-color 0.3s, transform 0.3s; /* Add transform transition */
}
.button:hover {
background-color: #0097a7; /* Darker teal on hover */
transform: scale(1.05); /* Slightly enlarge button on hover */
}
/* Fade-in animation */
@keyframes fadeIn {
to {
opacity: 1;
transform: translateY(0);
}
}
/* Responsive Design */
@media (max-width: 768px) {
h1, h2 {
font-size: 1.5em;
}
.button {
width: 100%;
}
}
</style>
</head>
<body>
<div class="container">
<!-- Event Overview -->
<section>
<h1>Hackathon Overview</h1>
<p class="highlight">
Welcome to the Tech Innovators 2024! Join us for an exciting event full of innovation and collaboration.
</p>
<p><strong>Dates:</strong> 5th to 7th November, 2024</p>
<p><strong>Type:</strong> Hybrid (On-site and Virtual)</p>
</section>
<!-- Timer Section -->
<section class="timer">
<h1>We Are Coming Soon</h1>
<h2>Countdown to Hackathon Start</h2>
<div class="countdown-container">
<div class="countdown-box">
<span id="eventStartDays">0</span>
<div class="label">Days</div>
</div>
<div class="countdown-box">
<span id="eventStartHours">0</span>
<div class="label">Hours</div>
</div>
<div class="countdown-box">
<span id="eventStartMinutes">0</span>
<div class="label">Minutes</div>
</div>
<div class="countdown-box">
<span id="eventStartSeconds">0</span>
<div class="label">Seconds</div>
</div>
</div>
<p>Stay tuned for something amazing! Subscribe to our newsletter to get the latest updates.</p>
</section>
<!-- Venue Section -->
<section class="venue">
<h2>Venue Details</h2>
<p>On-site Location: 123 Innovation Road, Tech City</p>
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3153.7802602821077!2d-122.4194156846818!3d37.77492927975862!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x80858064a5810d5b%3A0x806f1115b6ab4d60!2s123%20Innovation%20Rd%2C%20Tech%20City!5e0!3m2!1sen!2sus!4v1596574661097!5m2!1sen!2sus"></iframe>
</section>
<!-- Payment Section -->
<section class="payment">
<h2>Registration Fee</h2>
<p>Amount : $100 (per person)</p>
<a href="payment.html">
<button class="button" onclick="makePayment()">Pay Registration Fee</button></a>
</section>
<!-- Eligibility Criteria -->
<section>
<h2>Eligibility Criteria</h2>
<ul>
<li>Open to students and professionals.</li>
<li>Team size: 1-5 members.</li>
<li>Open to beginners and experienced developers.</li>
</ul>
</section>
<!-- Tracks and Themes -->
<section>
<h2>Tracks and Themes</h2>
<p>Choose from the following tracks and themes:</p>
<ul>
<li>Sustainability and Green Tech</li>
<li>Agriculture and Food Tech</li>
<li>Fintech</li>
<li>Health and Wellness</li>
<li>Transport and Logistics</li>
<li>Educational Tech</li>
</ul>
</section>
<!-- Prizes and Recognition -->
<section>
<h2>Prizes and Recognition</h2>
<p>Total Prize Pool: $10,000</p>
<ul>
<li>1st Place: $5,000</li>
<li>2nd Place: $3,000</li>
<li>3rd Place: $2,000</li>
</ul>
</section>
<!-- Judging Criteria -->
<section>
<h2>Judging Criteria</h2>
<ul>
<li>Creativity and Innovation</li>
<li>Feasibility</li>
<li>Impact</li>
<li>Technical Complexity</li>
</ul>
</section>
<!-- Event Schedule -->
<section>
<h2>Event Schedule</h2>
<p>Day 1: Opening Ceremony, Keynote Speech</p>
<p>Day 2: Hacking Sessions, Workshops</p>
<p>Day 3: Final Presentations, Closing Ceremony</p>
</section>
<!-- FAQs -->
<section>
<h2>Frequently Asked Questions (FAQs)</h2>
<p><strong>1. Can I participate solo?</strong></p>
<p>Yes, individual participation is allowed.</p>
<p><strong>2. Do I need experience?</strong></p>
<p>No, beginners are welcome!</p>
<p><strong>3. What are the participation requirements?</strong></p>
<p>You should have a laptop and stable internet access for virtual participation. On-site participants need to arrange their travel and accommodation.</p>
<p><strong>4. Is there a participation fee?</strong></p>
<p>Yes, there is a nominal participation fee that can be paid through the event registration portal.</p>
<p><strong>5. What prizes are offered?</strong></p>
<p>Cash prizes, sponsored products, and internship opportunities will be awarded to top teams.</p>
<p><strong>6. How many people can be in a team?</strong></p>
<p>Teams can have up to five members including team Leader.</p>
<p><strong>7. Will meals be provided for on-site participants?</strong></p>
<p>Yes, meals will be provided at the event venue for on-site participants.</p>
<p><strong>8. What are the judging criteria?</strong></p>
<p>Projects will be judged based on innovation, functionality, and relevance to the hackathon themes.</p>
</section>
<!-- Contact Information -->
<section>
<h2>Contact Information</h2>
<p>Email: [email protected]</p>
<p>Mobile number:9020347612</p>
</section>
</div>
<script>
const milestones = {
eventStart: new Date("2024-11-05T09:00:00").getTime(), // Updated start time for accuracy
};
function startCountdown(targetDate, daysId, hoursId, minutesId, secondsId, timeOffset = 0) {
function updateCountdown() {
const now = new Date().getTime() + timeOffset;
const timeLeft = targetDate - now;
if (timeLeft > 0) {
const days = Math.floor(timeLeft / (1000 * 60 * 60 * 24));
const hours = Math.floor((timeLeft % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
const minutes = Math.floor((timeLeft % (1000 * 60 * 60)) / (1000 * 60));
const seconds = Math.floor((timeLeft % (1000 * 60)) / 1000);
document.getElementById(daysId).textContent = days;
document.getElementById(hoursId).textContent = hours;
document.getElementById(minutesId).textContent = minutes;
document.getElementById(secondsId).textContent = seconds;
} else {
clearInterval(countdownInterval);
}
}
updateCountdown();
const countdownInterval = setInterval(updateCountdown, 1000);
}
startCountdown(milestones.eventStart, "eventStartDays", "eventStartHours", "eventStartMinutes", "eventStartSeconds");
</script>
</body>
</html>