-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
401 lines (357 loc) · 11.6 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
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
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Course Catalog</title>
<!-- Bootstrap CSS -->
<link
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
rel="stylesheet"
/>
<!-- Google Fonts -->
<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 Icons -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
/>
<style>
/* Reset styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Typography */
body {
font-family: 'Poppins', sans-serif;
font-size: 16px;
line-height: 1.6;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 700;
}
/* Color Scheme */
:root {
--primary-color: #6c63ff;
--secondary-color: #f5f5f5;
--text-color: #333;
--background-color: #fff;
}
/* General Styles */
body {
background-color: var(--background-color);
color: var(--text-color);
}
.navbar {
background-color: var(--primary-color);
}
.btn-primary {
background-color: var(--primary-color);
border-color: var(--primary-color);
}
/* Hero Section */
.jumbotron {
background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
url('https://source.unsplash.com/random/1920x1080/?learning');
background-size: cover;
background-position: center;
color: #fff;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
/* Card Styling */
.card {
border: none;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.3s ease-in-out;
}
.card:hover {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.card-img-top {
border-radius: 8px 8px 0 0;
}
/* Spacing and Layout */
.container {
max-width: 1200px;
margin: 0 auto;
}
section {
padding: 80px 0;
}
/* Animations and Transitions */
.navbar-nav .nav-link {
position: relative;
transition: color 0.3s ease-in-out;
}
.navbar-nav .nav-link::before {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
background-color: var(--secondary-color);
transform: scaleX(0);
transition: transform 0.3s ease-in-out;
}
.navbar-nav .nav-link:hover::before {
transform: scaleX(1);
}
/* Responsive Design */
@media (max-width: 767px) {
.navbar-nav {
text-align: center;
}
.card {
margin-bottom: 20px;
}
}
/* Accessibility */
:focus {
outline: 2px solid var(--primary-color);
}
/* Previous Styles */
body {
padding-top: 50px;
}
.course {
margin-bottom: 20px;
}
.card {
height: 100%;
display: flex;
flex-direction: column;
}
.card-body {
flex-grow: 1;
}
.card-img-top {
max-height: 200px;
width: auto;
margin: 0 auto;
}
.card {
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.card:hover {
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.card:not(:hover) {
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.card {
border-radius: 8px;
}
.btn-primary {
transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}
.btn-primary:hover {
background-color: #0069d9;
border-color: #0062cc;
}
.footer {
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
}
.login-btn {
width: 4rem;
text-align: center;
height: 2.5rem;
border-radius: 8px;
}
</style>
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-expand-md navbar-dark fixed-top">
<a class="navbar-brand" href="#">Course Catalog</a>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarCollapse"
aria-controls="navbarCollapse"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="#courses">Courses</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#about">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#contact">Contact</a>
</li>
<li class="nav-item">
<a class="nav-link text-white btn-primary login-btn" href="./login.html">Login</a>
</li>
</ul>
</div>
</nav>
<!-- Hero Section -->
<header class="jumbotron">
<div class="container text-center">
<h1 class="display-4">Explore Our Courses</h1>
<p class="lead">Enrich your knowledge with our diverse selection of courses.</p>
</div>
</header>
<!-- Courses Section -->
<section id="courses" class="container flex-wrap">
<h2 class="text-center mb-4">Featured Courses</h2>
<div class="row">
<div class="col-md-4 course">
<div class="card">
<img
src="./img/pngwing.com.png"
class="card-img-top w-50 h-100 m-auto"
alt="HTML Course"
/>
<div class="card-body">
<h5 class="card-title">HTML</h5>
<p class="card-text">Learn the fundamentals of HTML to build web pages.</p>
<a href="#" class="btn btn-primary">Learn More</a>
<a href="https://www.example.com/html-certification" class="btn btn-success" target="_blank">Get Certified</a>
</div>
</div>
</div>
<div class="col-md-4 course">
<div class="card">
<img
src="./img/css-logo-300x300.png"
class="card-img-top w-50 h-100 mx-auto mt-2"
alt="CSS Course"
/>
<div class="card-body">
<h5 class="card-title">CSS</h5>
<p class="card-text">Style your web pages with CSS for better visuals.</p>
<a href="#" class="btn btn-primary">Learn More</a>
<a href="https://www.example.com/html-certification" class="btn btn-success" target="_blank">Get Certified</a>
</div>
</div>
</div>
<div class="col-md-4 course">
<div class="card">
<img
src="./img/pngwing.com%20(2).png"
class="card-img-top w-50 mt-3 mx-auto h-100 float-start"
alt="Bootstrap Course"
/>
<div class="card-body">
<h5 class="card-title">Bootstrap</h5>
<p class="card-text">Build responsive websites using Bootstrap framework.</p>
<a href="#" class="btn btn-primary">Learn More</a>
<a href="https://www.example.com/html-certification" class="btn btn-success" target="_blank">Get Certified</a>
</div>
</div>
</div>
<div class="col-md-4 course">
<div class="card">
<img
src="./img/python.png"
class="card-img-top w-50 mt-3 mx-auto h-100 float-start"
alt="Python Course"
/>
<div class="card-body">
<h5 class="card-title">Python3</h5>
<p class="card-text">Learn Python programming for data analysis and more.</p>
<a href="#" class="btn btn-primary">Learn More</a>
<a href="https://www.example.com/html-certification" class="btn btn-success" target="_blank">Get Certified</a>
</div>
</div>
</div>
<div class="col-md-4 course">
<div class="card">
<img
src="./img/php.png"
class="card-img-top w-50 mt-3 mx-auto h-100 float-start"
alt="PHP Course"
/>
<div class="card-body">
<h5 class="card-title">PHP</h5>
<p class="card-text">Dive into server-side programming with PHP.</p>
<a href="#" class="btn btn-primary">Learn More</a>
<a href="https://www.example.com/html-certification" class="btn btn-success" target="_blank">Get Certified</a>
</div>
</div>
</div>
<div class="col-md-4 course">
<div class="card">
<img
src="./img/java1.png"
class="card-img-top w-50 mt-3 mx-auto h-100 float-start"
alt="Java Course"
/>
<div class="card-body">
<h5 class="card-title">Java</h5>
<p class="card-text">Master Java programming for enterprise applications.</p>
<a href="#" class="btn btn-primary">Learn More</a>
<a href="https://www.example.com/html-certification" class="btn btn-success" target="_blank">Get Certified</a>
</div>
</div>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="container text-center">
<h2 class="mb-4">About Us</h2>
<p class="m-7">
Our curated catalog boasts a diverse array of courses, meticulously designed to cater to
beginners and seasoned professionals alike. Join our community of learners and embark on a
journey of discovery, innovation, and hands-on learning.
</p>
</section>
<!-- Contact Section -->
<section id="contact" class="container text-center">
<h2 class="mb-4">Contact Us</h2>
<form>
<div class="form-group">
<input type="text" class="form-control" placeholder="Name" />
</div>
<div class="form-group">
<input type="email" class="form-control" placeholder="Email" />
</div>
<div class="form-group">
<textarea class="form-control" rows="5" placeholder="Message"></textarea>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</section>
<!-- Footer -->
<footer class="bg-dark text-light text-center py-3">
<div class="footer">
<div>
<p>© 2024 Course Catalog</p>
</div>
<div>
<h5 class="mb-1">Contact Us</h5>
<p class="mb-2">Email: [email protected]</p>
<h6><a href="https://github.com/chinmaylothe">Github</a></h6>
</div>
</div>
</footer>
<!-- Bootstrap JS and dependencies -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
</body>
</html>