-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
317 lines (284 loc) · 11.2 KB
/
Copy pathindex.html
File metadata and controls
317 lines (284 loc) · 11.2 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FOSSHACK v1.0 Registration</title>
<!-- Google Fonts: Poppins -->
<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=Poppins:wght@400;600;700&display=swap" rel="stylesheet">
<!-- Font Awesome for Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<style>
/* General Body Styles */
body {
font-family: 'Poppins', sans-serif;
background-color: #f0f4f8;
margin: 0;
color: #333;
}
.page-wrapper {
width: 100%;
}
/* 1. Main Header (Blue Section) */
.main-header {
background: linear-gradient(90deg, #005bbb, #007bff);
color: #ffffff;
text-align: center;
padding: 60px 20px;
}
.main-header h1 {
font-size: 3.5em;
font-weight: 700;
margin: 0;
}
.main-header h2 {
font-size: 1.5em;
font-weight: 400;
margin: 10px 0 20px 0;
opacity: 0.9;
}
.main-header p {
font-size: 1.1em;
line-height: 1.6;
max-width: 800px;
margin: 0 auto;
}
/* 2. Features Section */
.features-section {
display: flex;
justify-content: center;
flex-wrap: wrap; /* Added for responsiveness */
gap: 30px;
padding: 40px 20px;
margin-top: -50px; /* Pulls the cards up slightly over the header */
position: relative;
z-index: 10;
}
.feature-card {
background-color: #ffffff;
padding: 30px;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 91, 187, 0.1);
width: 100%;
max-width: 300px;
text-align: left;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.feature-card i {
font-size: 2em;
color: #005bbb;
margin-bottom: 15px;
/* Styling for icon background */
background-color: #e6f0ff;
padding: 15px;
border-radius: 50%;
width: 30px;
height: 30px;
text-align: center;
line-height: 30px;
}
.feature-card h3 {
font-size: 1.25em;
font-weight: 600;
margin: 10px 0;
}
.feature-card p {
font-size: 0.95em;
color: #555;
line-height: 1.6;
margin: 0;
}
/* 3. Registration Form Section */
.registration-section {
padding: 40px 20px;
display: flex;
justify-content: center;
}
.form-container {
background-color: #ffffff;
padding: 40px;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 91, 187, 0.1);
width: 100%;
max-width: 700px; /* Adjusted width */
}
.form-header {
text-align: center;
margin-bottom: 30px;
}
.form-header h2 {
color: #333; /* Darker color for contrast */
font-size: 2em;
font-weight: 600;
margin: 0;
}
.form-header p {
color: #555;
margin-top: 5px;
}
/* Form Styling */
.form-row {
display: flex;
gap: 20px;
flex-wrap: wrap; /* For responsiveness */
}
.form-group {
margin-bottom: 20px;
text-align: left;
flex: 1; /* Makes groups in a row take up equal space */
min-width: 200px; /* Minimum width for responsiveness */
}
.form-group label {
display: block;
font-weight: 600;
margin-bottom: 8px;
color: #333;
}
.form-group input,
.form-group select {
width: 100%;
padding: 12px 15px;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 1em;
font-family: 'Poppins', sans-serif;
box-sizing: border-box;
transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group select:focus {
outline: none;
border-color: #005bbb;
box-shadow: 0 0 8px rgba(0, 91, 187, 0.2);
}
/* Submit Button */
.submit-btn {
width: 100%;
padding: 15px;
background: linear-gradient(45deg, #005bbb, #007bff);
color: #ffffff;
border: none;
border-radius: 8px;
font-size: 1.1em;
font-weight: 600;
cursor: pointer;
transition: background 0.3s, transform 0.2s;
margin-top: 10px;
}
.submit-btn:hover {
background: linear-gradient(45deg, #004a99, #006fe6);
transform: translateY(-2px);
}
</style>
</head>
<body>
<div class="page-wrapper">
<!-- Main Header -->
<header class="main-header">
<h1>FOSSHACK v1.0</h1>
<h2>FOSS CLUB VJEC</h2>
<p>Join us for an exciting hackathon celebrating Free and Open Source Software. Collaborate, innovate, and build amazing projects!</p>
</header>
<!-- Features Section -->
<section class="features-section">
<div class="feature-card">
<i class="fas fa-code"></i>
<h3>Open Source Focus</h3>
<p>Build projects using FOSS technologies and contribute to the community.</p>
</div>
<div class="feature-card">
<i class="fas fa-users"></i>
<h3>Team Collaboration</h3>
<p>Work together with fellow students to create innovative solutions.</p>
</div>
<div class="feature-card">
<i class="fas fa-trophy"></i>
<h3>Exciting Prizes</h3>
<p>Compete for amazing prizes and recognition for your work.</p>
</div>
</section>
<!-- Registration Form Section -->
<section class="registration-section">
<div class="form-container">
<div class="form-header">
<h2>Register Now</h2>
<p>Fill in your details to secure your spot at FOSSHACK v1.0</p>
</div>
<form action="#">
<!-- Name (Full Width) -->
<div class="form-group">
<label for="student-name">Name of Student *</label>
<input type="text" id="student-name" name="student-name" placeholder="Enter your full name" required>
</div>
<!-- Year and Semester (Side-by-side) -->
<div class="form-row">
<div class="form-group">
<label for="current-year">Current Year *</label>
<select id="current-year" name="current-year" required>
<option value="" disabled selected>Select year</option>
<option value="1">First Year</option>
<option value="2">Second Year</option>
<option value="3">Third Year</option>
<option value="4">Fourth Year</option>
</select>
</div>
<div class="form-group">
<label for="semester">Semester *</label>
<select id="semester" name="semester" required>
<option value="" disabled selected>Select semester</option>
<option value="1">S1</option>
<option value="2">S2</option>
<option value="3">S3</option>
<option value="4">S4</option>
<option value="5">S5</option>
<option value="6">S6</option>
<option value="7">S7</option>
<option value="8">S8</option>
</select>
</div>
</div>
<!-- Department and Section (Side-by-side with dropdowns) -->
<div class="form-row">
<div class="form-group">
<label for="department">Department *</label>
<select id="department" name="department" required>
<option value="" disabled selected>Select Department</option>
<option value="1">Computer Science and Engineering</option>
<option value="2">Artificial Intelligence and Data Science</option>
<option value="3">Computer Science and Business System</option>
<option value="4">Computer Science and Design</option>
<option value="5">Mechanical Engineering</option>
<option value="6">Computer Science and Cyber Security</option>
<option value="7">Civil Engineering</option>
<option value="8">Electrical and Electronics Engineering</option>
<option value="9">Electronics and Communication Engineering</option>
</select>
</div>
<div class="form-group">
<label for="section">Section *</label>
<select id="section" name="section" required>
<option value="" disabled selected>Select Section</option>
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
<option value="D">D</option>
</select>
</div>
</div>
<!-- Phone Number (Full Width) -->
<div class="form-group">
<label for="phone-number">Phone Number *</label>
<input type="tel" id="phone-number" name="phone-number" placeholder="Enter your contact number" required>
</div>
<!-- Submit Button -->
<button type="submit" class="submit-btn">Complete Registration</button>
</form>
</div>
</section>
</div>
</body>
</html>