forked from PamudaUposath/Creators-Space-GroupProject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcourses.html
More file actions
431 lines (405 loc) · 17.7 KB
/
courses.html
File metadata and controls
431 lines (405 loc) · 17.7 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
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
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Courses - Creators-Space</title>
<link
href="https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@300;400;500;600;700;800&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./src/css/style.css" />
<link rel="stylesheet" href="./src/css/utils.css" />
<link rel="stylesheet" href="./src/css/courses.css" />
<link rel="stylesheet" href="./src/css/responsive.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.0/css/all.min.css" integrity="sha512-DxV+EoADOkOygM4IR9yXP8Sb2qwgidEmeqAEmDKIOfPRQZOWbXCzLC6vjbZyy0vPisbH2SyW27+ddLVCN+OMzQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script>
function toggleDarkMode() {
const element = document.getElementById("main-body");
element.classList.toggle("dark");
if (element.classList.contains("dark")) {
localStorage.setItem("theme", "dark");
} else {
localStorage.setItem("theme", "light");
}
}
// Apply saved theme on page load
if (localStorage.getItem("theme") === "dark") {
document.addEventListener("DOMContentLoaded", function () {
document.getElementById("main-body")?.classList.add("dark");
});
}
</script>
</head>
<body id="main-body" class="overflow-x-hidden">
<!-- Navbar -->
<div class="navbar">
<h1><a href="./">
<img id="navbar-logo" width="80px" src="./assets/images/logo-nav-light.png" alt="logo Creators-Space">
<br>Creators-Space</a></h1>
<div class="nav-links align-items-center">
<a href="index.html">Home</a>
<a href="about.html">About Us</a>
<a href="courses.html">Courses</a>
<a href="services.html" class="active">Services</a>
<a href="internship.html">Internship</a>
<a href="campus-ambassador.html">Campus Ambassador</a>
<a href="blog.html">Blog</a>
<a href="bookmarked.html">BookMarks</a>
<a href="projects.html">Projects</a>
<!-- Navbar -->
<div id="authSection">
<a href="./login.html" class="btn login">Log In</a>
<a href="./signup.html" class="btn signup">Sign Up</a>
</div>
<div id="userSection" style="display: none; align-items: center; gap: 10px;">
<button id="logoutBtn" class="btn login">Logout</button>
<a href="profile.html" title="Your Profile">
<img id="profileImg" src="https://cdn-icons-png.flaticon.com/512/847/847969.png" alt="Profile" width="30"
style="border-radius: 50%;" />
</a>
</div>
</div>
<div class="nav-toggle align-items-center justify-content-center" onclick="toggleNav()">
<svg viewBox="0 0 18 18" id="navbar-barger-logo" class="">
<polyline id="globalnav-menutrigger-bread-bottom" fill="none" stroke="currentColor" stroke-width="1.2"
stroke-linecap="round" stroke-linejoin="round" points="2 12, 16 12"
class="globalnav-menutrigger-bread globalnav-menutrigger-bread-bottom"></polyline>
<polyline id="globalnav-menutrigger-bread-top" fill="none" stroke="currentColor" stroke-width="1.2"
stroke-linecap="round" stroke-linejoin="round" points="2 5, 16 5"
class="globalnav-menutrigger-bread globalnav-menutrigger-bread-top"></polyline>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" id="navbar-x-logo" class="bi bi-x-lg d-none"
viewBox="0 0 16 16">
<path
d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z" />
</svg>
</div>
/>
</svg>
</div>
</div>
<div class="toggle-switch">
<label class="switch-label">
<input onclick="toggleDarkMode()" type="checkbox" class="checkbox" />
<span class="slider"></span>
</label>
</div>
<!-- Enhanced Main Section -->
<div class="main">
<h1>Explore Our Courses</h1>
<p>
Upskill with industry-leading programs, crafted by experts and designed
to transform your career in the digital age.
</p>
</div>
<!-- 🔍 Search Bar -->
<div class="search-bar-container">
<input
type="text"
id="courseSearch"
placeholder="Search for a course (e.g. Python, UI/UX)..."
onkeyup="filterCourses()"
/>
</div>
<!-- Enhanced Courses Section -->
<section class="courses-container">
<div class="card" onclick="toggleSyllabus(this)">
<div class="discount-badge">74% OFF</div>
<div class="card-content">
<img
src="https://cdn-icons-png.flaticon.com/512/919/919827.png"
alt="Web Development"
/>
<h3>Full Stack Web Development</h3>
<p class="price">₹12,999 <del>₹49,999</del></p>
<p>6 Months • Complete Bootcamp</p>
</div>
<div class="syllabus hidden">
<h4>What You'll Master:</h4>
<ul>
<li>HTML5, CSS3 & Modern JavaScript</li>
<li>React.js & Node.js Development</li>
<li>Database Design & Management</li>
<li>Cloud Deployment & DevOps</li>
<li>Real-world Project Portfolio</li>
</ul>
</div>
<div class="enroll hidden">
<button class="button">Enroll Now</button>
</div>
</div>
<div class="card" onclick="toggleSyllabus(this)">
<div class="discount-badge">77% OFF</div>
<div class="card-content">
<img
src="https://cdn-icons-png.flaticon.com/512/6132/6132222.png"
alt="C Programming"
/>
<h3>C Programming Mastery</h3>
<p class="price">₹2,999 <del>₹12,999</del></p>
<p>3 Months • Foundation Course</p>
</div>
<div class="syllabus hidden">
<h4>What You'll Master:</h4>
<ul>
<li>C Language Fundamentals & Syntax</li>
<li>Advanced Functions & Control Flow</li>
<li>Pointers & Memory Management</li>
<li>Data Structures Implementation</li>
<li>System Programming Concepts</li>
</ul>
</div>
<div class="enroll hidden">
<button class="button">Enroll Now</button>
</div>
</div>
<div class="card" onclick="toggleSyllabus(this)">
<div class="discount-badge">77% OFF</div>
<div class="card-content">
<img
src="https://cdn-icons-png.flaticon.com/512/5968/5968350.png"
alt="Python Programming"
/>
<h3>Python Programming Pro</h3>
<p class="price">₹2,999 <del>₹12,999</del></p>
<p>3 Months • Beginner to Advanced</p>
</div>
<div class="syllabus hidden">
<h4>What You'll Master:</h4>
<ul>
<li>Python Syntax & Control Structures</li>
<li>Object-Oriented Programming</li>
<li>Web Development with Django</li>
<li>Data Science & Machine Learning</li>
<li>Automation & Scripting Projects</li>
</ul>
</div>
<div class="enroll hidden">
<button class="button">Enroll Now</button>
</div>
</div>
<div class="card" onclick="toggleSyllabus(this)">
<div class="discount-badge">70% OFF</div>
<div class="card-content">
<img
src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/figma/figma-original.svg"
width="20"
height="20"
alt="UI/UX Design"
/>
<h3>UI/UX Design Essentials</h3>
<p class="price">₹5,999 <del>₹19,999</del></p>
<p>4 Months • Design Thinking & Prototyping</p>
</div>
<div class="syllabus hidden">
<h4>What You'll Master:</h4>
<ul>
<li>User Research & Personas</li>
<li>Wireframing & Prototyping (Figma)</li>
<li>Visual Design Principles</li>
<li>Usability Testing</li>
<li>Portfolio Project</li>
</ul>
</div>
<div class="enroll hidden">
<button class="button">Enroll Now</button>
</div>
</div>
<div class="card" onclick="toggleSyllabus(this)">
<div class="discount-badge">65% OFF</div>
<div class="card-content">
<img
src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/photoshop/photoshop-plain.svg"
width="32"
height="32"
alt="Graphic Designing"
/>
<h3>Graphic Designing Masterclass</h3>
<p class="price">₹4,499 <del>₹12,999</del></p>
<p>3 Months • Creative Suite Training</p>
</div>
<div class="syllabus hidden">
<h4>What You'll Master:</h4>
<ul>
<li>Adobe Photoshop & Illustrator</li>
<li>Branding & Logo Design</li>
<li>Social Media Graphics</li>
<li>Print & Digital Media</li>
<li>Portfolio Development</li>
</ul>
</div>
<div class="enroll hidden">
<button class="button">Enroll Now</button>
</div>
</div>
<div class="card" onclick="toggleSyllabus(this)">
<div class="discount-badge">60% OFF</div>
<div class="card-content">
<img
src="assets/images/google-looker-seeklogo.svg"
alt="Data Analytics"
/>
<h3>Data Analytics & Visualization</h3>
<p class="price">₹7,999 <del>₹19,999</del></p>
<p>4 Months • Excel, Power BI & Tableau</p>
</div>
<div class="syllabus hidden">
<h4>What You'll Master:</h4>
<ul>
<li>Data Cleaning & Preparation</li>
<li>Excel for Analytics</li>
<li>Power BI & Tableau Dashboards</li>
<li>Storytelling with Data</li>
<li>Capstone Analytics Project</li>
</ul>
</div>
<div class="enroll hidden">
<button class="button">Enroll Now</button>
</div>
</div>
</section>
<!-- Enhanced Footer -->
<footer class="footer">
<div class="social">
<h1>
<img
width="80px"
src="./assets/images/logo.png"
alt="logo Anurag Vishwakarma's Creators-Space"
/>
<br />Creators-Space
</h1>
<h3>Social Media</h3>
<div class="all-social-links">
<a target="_blank" href="https://linkedin.com/in/anuragvishwakarma">
<svg
xmlns="http://www.w3.org/2000/svg"
data-name="Layer 1"
viewBox="0 0 100 100"
id="linkedin"
>
<path
d="M55.35,44.17h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11ZM50.8,3.77A45.67,45.67,0,1,0,96.47,49.44,45.72,45.72,0,0,0,50.8,3.77ZM39.38,70a.77.77,0,0,1-.77.76h-8.8a.76.76,0,0,1-.76-.76V40.43a.76.76,0,0,1,.76-.77h8.8a.77.77,0,0,1,.77.77ZM33.9,35.71a5.53,5.53,0,1,1,5.53-5.53A5.52,5.52,0,0,1,33.9,35.71ZM76.62,70a.77.77,0,0,1-.77.76h-8.8a.76.76,0,0,1-.76-.76V54.11c0-4.18-1.49-7-5.23-7a5.65,5.65,0,0,0-5.3,3.78,7.12,7.12,0,0,0-.34,2.52V70a.77.77,0,0,1-.77.77h-8.8a.76.76,0,0,1-.76-.77c0-4.22.11-24.71,0-29.53a.76.76,0,0,1,.76-.77h8.78a.76.76,0,0,1,.77.77v3.63a10.26,10.26,0,0,1,9.31-5.13c6.79,0,11.89,4.44,11.89,14Zm-21.2-25.8v-.11l-.07.11Zm-.07,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Zm0,0h.07v-.11Z"
></path>
</svg>
</a>
<a target="_blank" href="#">
<svg
xmlns="http://www.w3.org/2000/svg"
data-name="Instagram w/circle"
viewBox="0 0 19.2 19.2"
id="instagram"
>
<path
d="M13.498 6.651a1.656 1.656 0 0 0-.95-.949 2.766 2.766 0 0 0-.928-.172c-.527-.024-.685-.03-2.02-.03s-1.493.006-2.02.03a2.766 2.766 0 0 0-.929.172 1.656 1.656 0 0 0-.949.95 2.766 2.766 0 0 0-.172.928c-.024.527-.03.685-.03 2.02s.006 1.493.03 2.02a2.766 2.766 0 0 0 .172.929 1.656 1.656 0 0 0 .95.949 2.766 2.766 0 0 0 .928.172c.527.024.685.03 2.02.03s1.493-.006 2.02-.03a2.766 2.766 0 0 0 .929-.172 1.656 1.656 0 0 0 .949-.95 2.766 2.766 0 0 0 .172-.928c.024-.527.03-.685.03-2.02s-.006-1.493-.03-2.02a2.766 2.766 0 0 0-.172-.929zM9.6 12.168A2.568 2.568 0 1 1 12.168 9.6 2.568 2.568 0 0 1 9.6 12.168zm2.669-4.637a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6z"
></path>
<circle cx="9.6" cy="9.6" r="1.667"></circle>
<path
d="M9.6 0a9.6 9.6 0 1 0 9.6 9.6A9.6 9.6 0 0 0 9.6 0zm4.97 11.662a3.67 3.67 0 0 1-.233 1.213 2.556 2.556 0 0 1-1.462 1.462 3.67 3.67 0 0 1-1.213.233c-.534.024-.704.03-2.062.03s-1.528-.006-2.062-.03a3.67 3.67 0 0 1-1.213-.233 2.556 2.556 0 0 1-1.462-1.462 3.67 3.67 0 0 1-.233-1.213c-.024-.534-.03-.704-.03-2.062s.006-1.528.03-2.062a3.67 3.67 0 0 1 .233-1.213 2.556 2.556 0 0 1 1.462-1.462 3.67 3.67 0 0 1 1.213-.233c.534-.024.704-.03 2.062-.03s1.528.006 2.062.03a3.67 3.67 0 0 1 1.213.233 2.556 2.556 0 0 1 1.462 1.462 3.67 3.67 0 0 1 .233 1.213c.024.534.03.704.03 2.062s-.006 1.528-.03 2.062z"
></path>
</svg>
</a>
<a target="_blank" href="#">
<svg
xmlns="http://www.w3.org/2000/svg"
data-name="Layer 1"
viewBox="0 0 100 100"
id="facebook"
>
<path
d="M50.8,3.57A45.75,45.75,0,1,0,96.54,49.32,45.8,45.8,0,0,0,50.8,3.57ZM63.49,30.71a.69.69,0,0,1-.69.69H57.3a2.45,2.45,0,0,0-2.45,2.44V39.6h7.83a.69.69,0,0,1,.68.75l-.68,8.12a.69.69,0,0,1-.69.63H54.85V76.05a.69.69,0,0,1-.69.69H44.31a.69.69,0,0,1-.69-.69V49.1H38.7a.69.69,0,0,1-.69-.69V40.29a.69.69,0,0,1,.69-.69h4.92V31.78A9.88,9.88,0,0,1,53.5,21.9h9.3a.69.69,0,0,1,.69.69Z"
></path>
</svg>
</a>
<a target="_blank" href="#">
<svg
xmlns="http://www.w3.org/2000/svg"
width="512"
height="512"
fill="none"
viewBox="0 0 512 512"
id="twitter"
>
<g clip-path="url(#clip0_84_15697)">
<rect width="512" height="512" fill="#000" rx="60"></rect>
<path
fill="#fff"
d="M355.904 100H408.832L293.2 232.16L429.232 412H322.72L239.296 302.928L143.84 412H90.8805L214.56 270.64L84.0645 100H193.28L268.688 199.696L355.904 100ZM337.328 380.32H366.656L177.344 130.016H145.872L337.328 380.32Z"
></path>
</g>
<defs>
<clipPath id="clip0_84_15697">
<rect width="512" height="512" fill="#fff"></rect>
</clipPath>
</defs>
</svg>
</a>
</div>
</div>
<div class="contact">
<h3>Contact Us</h3>
<p><a href="mailto:21brac0401@polygwalior.ac.in"><i class="fa-solid fa-envelope" id="envelope-icon"></i>21brac0401@polygwalior.ac.in</a></p>
<br>
<p><a href="tel:+9188xxxxxx89"><i class="fa-solid fa-phone" id="call-icon"></i>+91 88xxxxxx89</a></p>
</div>
<div class="form">
<h3>Get In Touch</h3>
<input type="text" placeholder="Your name" />
<input type="email" placeholder="Your email" />
<textarea type="text" placeholder="Your message"></textarea>
<button>Send</button>
</div>
<div class="copy">
<p>Copyright © 2024 - 2025 Creators-Space. All rights reserved.</p>
</div>
</footer>
<script src="./src/js/navbar.js"></script>
<script src="./src/js/coursebm.js"></script>
<script>
function toggleDarkMode() {
const element = document.getElementById("main-body");
const navbarLogo = document.getElementById("navbar-logo");
element.classList.toggle("dark");
// Change logo based on theme
if (element.classList.contains("dark")) {
navbarLogo.src = "./assets/images/logo-nav-dark.png";
localStorage.setItem("theme", "dark");
} else {
navbarLogo.src = "./assets/images/logo-nav-light.png";
localStorage.setItem("theme", "light");
}
}
// Apply saved theme & logo on page load
document.addEventListener("DOMContentLoaded", function () {
const savedTheme = localStorage.getItem("theme");
const element = document.getElementById("main-body");
const navbarLogo = document.getElementById("navbar-logo");
const toggleCheckbox = document.querySelector(".toggle-switch input");
if (savedTheme === "dark") {
element.classList.add("dark");
navbarLogo.src = "./assets/images/logo-nav-dark.png";
toggleCheckbox.checked = true;
} else {
element.classList.remove("dark");
navbarLogo.src = "./assets/images/logo-nav-light.png";
toggleCheckbox.checked = false;
}
});
function filterCourses() {
const input = document.getElementById("courseSearch").value.toLowerCase();
const cards = document.querySelectorAll(".courses-container .card");
cards.forEach((card) => {
const title = card.querySelector("h3").innerText.toLowerCase();
const desc = card.querySelector("p").innerText.toLowerCase();
if (title.includes(input) || desc.includes(input)) {
card.style.display = "block";
} else {
card.style.display = "none";
}
});
}
</script>
<script src="./src/js/auth.js"></script>
</body>
</html>