-
Notifications
You must be signed in to change notification settings - Fork 0
/
all.html
262 lines (248 loc) · 10 KB
/
all.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Course Details</title>
<link rel="icon" href="/images/my-icon.ico" type="image/x-icon">
<link href="https://fonts.googleapis.com/css2?family=Inria+Serif:wght@400;700&display=swap" rel="stylesheet">
<style>
body {
margin: 0;
padding: 0;
background-image: url('plainbg.png');
background-size: cover;
background-position: center;
background-attachment: fixed;
background-repeat: no-repeat;
min-height: 100vh;
font-family: 'Inria Serif', serif;
color: #333; /* Default text color */
}
.navbar {
background-color: white;
padding: 15px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
.navbar img {
height: 50px;
}
.navbar a {
color: black;
text-decoration: none;
padding: 10px 15px;
transition: background-color 0.3s;
}
.navbar a:hover {
background-color: #ff4c4c; /* Highlight on hover */
border-radius: 5px;
}
.content {
padding: 20px;
}
.course-section {
margin: 20px 0;
padding: 20px;
background-color: rgba(255, 255, 255, 0.9);
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s; /* Add a scaling effect */
}
.course-section:hover {
transform: scale(1.02); /* Slightly scale up on hover */
}
.course-section h2 {
margin-top: 0;
color: #007BFF; /* Header color */
}
.course-info {
font-size: 14px;
color: #555;
}
.rating {
color: gold; /* Gold color for stars */
}
.pay-button {
display: inline-block;
padding: 10px 15px;
background-color: #28a745; /* Green button */
color: white;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
text-decoration: none;
margin-top: 10px;
transition: background-color 0.3s;
}
.pay-button:hover {
background-color: #218838; /* Darker green on hover */
}
/* Responsive Design */
@media (max-width: 768px) {
.navbar {
flex-direction: column; /* Stack items vertically */
align-items: flex-start; /* Align to the start */
}
.navbar a {
margin: 5px 0; /* Space between links */
}
.course-section img {
width: 100%; /* Full width images */
height: auto; /* Maintain aspect ratio */
}
}
</style>
</head>
<body>
<div class="navbar">
<img src="icon.png" alt="Logo"> <!-- Add your logo image here -->
<div>
<a href="#digital-marketing">Digital Marketing</a>
<a href="#web-development">Web Development</a>
<a href="#data-science">Data Science</a>
<a href="#graphic-design">Graphic Design</a>
<a href="#cyber-security">Cyber Security</a>
<a href="#ai-ml">AI & ML</a>
</div>
</div>
<div class="content">
<!-- Digital Marketing Section -->
<section id="digital-marketing" class="course-section">
<h2>Digital Marketing</h2>
<p>Learn strategies to grow your business online.<br>
In this course, you will learn how to effectively promote your business through various
digital marketing strategies. This includes SEO, social media marketing, email marketing, and more!</p>
<img src="digmar.png" alt="Digital Marketing Course" style="width:10%; height:auto;">
<div class="course-info">
<span class="rating">★★★★☆</span> (4.5/5) <br>
Price: $199 <br>
Duration: 6 weeks
</div>
<h3>Syllabus</h3>
<ul>
<li>SEO Basics</li>
<li>Social Media Marketing</li>
<li>Email Campaigns</li>
</ul>
<a href="#" class="pay-button" onclick="payNow('digital-marketing')">Pay Now</a> <!-- Updated payment button -->
</section>
<!-- Web Development Section -->
<section id="web-development" class="course-section">
<h2>Web Development</h2>
<p>Build modern websites with HTML, CSS, and JavaScript.<br>
This course covers the fundamentals of web development. You will learn how to build
responsive and interactive websites using HTML, CSS, and JavaScript.</p>
<img src="wt.png" alt="Web Development Course" style="width:10%; height:auto;">
<div class="course-info">
<span class="rating">★★★★☆</span> (4.7/5) <br>
Price: $299 <br>
Duration: 8 weeks
</div>
<h3>Syllabus</h3>
<ul>
<li>HTML & CSS Fundamentals</li>
<li>JavaScript Basics</li>
<li>Responsive Design</li>
</ul>
<a href="#" class="pay-button" onclick="payNow('web-development')">Pay Now</a> <!-- Updated payment button -->
</section>
<!-- Data Science Section -->
<section id="data-science" class="course-section">
<h2>Data Science</h2>
<p>Analyze data and make informed business decisions.<br>
This course introduces the principles of data science, covering data analysis,
visualization, and machine learning techniques using Python.</p>
<img src="ds.png" alt="Data Science Course" style="width:10%; height:auto;">
<div class="course-info">
<span class="rating">★★★★★</span> (5/5) <br>
Price: $399 <br>
Duration: 10 weeks
</div>
<h3>Syllabus</h3>
<ul>
<li>Data Analysis</li>
<li>Machine Learning</li>
<li>Data Visualization</li>
</ul>
<a href="#" class="pay-button" onclick="payNow('data-science')">Pay Now</a> <!-- Updated payment button -->
</section>
<!-- Graphic Design Section -->
<section id="graphic-design" class="course-section">
<h2>Graphic Design</h2>
<p>Master the fundamentals of visual design.<br>
This course introduces the principles of graphic design, focusing on visual communication, typography, and layout using tools like Adobe Illustrator and Photoshop.</p>
<img src="gd.png" alt="Graphic Design Course" style="width:10%; height:auto;">
<div class="course-info">
<span class="rating">★★★★☆</span> (4.3/5) <br>
Price: $249 <br>
Duration: 5 weeks
</div>
<h3>Syllabus</h3>
<ul>
<li>Design Principles</li>
<li>Typography</li>
<li>Color Theory</li>
</ul>
<a href="#" class="pay-button" onclick="payNow('graphic-design')">Pay Now</a> <!-- Updated payment button -->
</section>
<!-- Cyber Security Section -->
<section id="cyber-security" class="course-section">
<h2>Cyber Security</h2>
<p>Protect networks and systems from digital attacks.<br>
This course covers the essential concepts of cyber security. You will learn how to protect networks, prevent attacks, and secure sensitive data using modern tools and strategies.</p>
<img src="cs.png" alt="Cyber Security Course" style="width:10%; height:auto;">
<div class="course-info">
<span class="rating">★★★★☆</span> (4.6/5) <br>
Price: $349 <br>
Duration: 8 weeks
</div>
<h3>Syllabus</h3>
<ul>
<li>Cryptography</li>
<li>Ethical Hacking</li>
</ul>
<a href="#" class="pay-button" onclick="payNow('cyber-security')">Pay Now</a> <!-- Updated payment button -->
</section>
<!-- AI & ML Section -->
<section id="ai-ml" class="course-section">
<h2>AI & ML</h2>
<p>Explore Artificial Intelligence and Machine Learning.<br>
This course covers the basics of AI and ML, including algorithms, neural networks, and real-world applications in AI.</p>
<img src="aiml.png" alt="AI & ML Course" style="width:10%; height:auto;">
<div class="course-info">
<span class="rating">★★★★★</span> (5/5) <br>
Price: $499 <br>
Duration: 12 weeks
</div>
<h3>Syllabus</h3>
<ul>
<li>AI Fundamentals</li>
<li>Machine Learning Algorithms</li>
<li>Neural Networks</li>
</ul>
<a href="#" class="pay-button" onclick="payNow('ai-ml')">Pay Now</a> <!-- Updated payment button -->
</section>
</div>
<script>
function getQueryParam(name) {
const urlParams = new URLSearchParams(window.location.search);
return urlParams.get(name);
}
// Retrieve the email from the URL
const email = getQueryParam('email');
console.log("email:", email);
// Update the enroll link with email parameter
//document.querySelector('#myLink').href = `payment.html?email=${encodeURIComponent(email)}`;
// Function to dynamically add email to the payment link
function payNow(course) {
var paymentLink = "payment.html?course=" + course + "&email=" + encodeURIComponent(email);
console.log(paymentLink)
window.location.href = paymentLink; // Redirect to the payment page with the course and email in URL
}
</script>
</body>
</html>