-
Notifications
You must be signed in to change notification settings - Fork 0
/
nft-course.html
365 lines (359 loc) · 14.3 KB
/
nft-course.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Unlock the secrets of NFTs with our comprehensive course. Subscribe now and get access to our exclusive modules.">
<title>NFT Course Subscription</title>
<style>
body {
font-family: 'Harukaze', Arial, sans-serif;
margin: 0;
padding: 0;
background-image: repeating-linear-gradient(135deg, rgb(0,0,0) 0px, rgb(0,0,0) 10px,transparent 10px, transparent 11px),repeating-linear-gradient(22.5deg, rgb(0,0,0) 0px, rgb(0,0,0) 10px,transparent 10px, transparent 11px),linear-gradient(90deg, hsl(194,74%,56%),hsl(266,74%,56%),hsl(338,74%,56%),hsl(50,74%,56%),hsl(122,74%,56%));
background-attachment: fixed;
color: #fff;
}
.header {
background: rgba(0, 0, 0, 0.5);
color: #fff;
padding: 40px 20px;
text-align: center;
position: relative;
}
.header-logo {
position: absolute;
top: 20px;
left: 20px;
width: 60px;
height: 60px;
background: url('https://cryptologos.cc/logos/bitcoin-btc-logo.png') no-repeat center center;
background-size: contain;
animation: pulse 1.5s infinite;
border-radius: 50%;
box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}
@keyframes pulse {
0% {
transform: scale(1);
box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}
50% {
transform: scale(1.1);
box-shadow: 0 0 20px rgba(255, 165, 0, 0.7);
}
100% {
transform: scale(1);
box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}
}
.glow {
font-size: 2em;
color: #fff;
text-align: center;
animation: glow 1s ease-in-out infinite alternate;
}
@keyframes glow {
from {
text-shadow: 0 0 10px #f4791f, 0 0 20px #f4791f, 0 0 30px #f4791f, 0 0 40px #f4791f, 0 0 50px #f4791f, 0 0 60px #f4791f, 0 0 70px #f4791f;
}
to {
text-shadow: 0 0 20px #659999, 0 0 30px #659999, 0 0 40px #659999, 0 0 50px #659999, 0 0 60px #659999, 0 0 70px #659999, 0 0 80px #659999;
}
}
.container {
width: 80%;
margin: 0 auto;
padding: 20px;
}
.tariffs {
display: flex;
justify-content: space-around;
margin-bottom: 20px;
}
.tariff {
background-color: #fff;
padding: 20px;
border: 1px solid #ccc;
border-radius: 8px;
width: 45%;
color: black;
}
.tariff h3 {
margin-top: 0;
}
.tariff a {
display: block;
margin: 5px 0;
color: #007bff;
text-decoration: none;
}
.subscription-form {
background-color: #fff;
padding: 20px;
border: 1px solid #ccc;
border-radius: 8px;
color: black;
}
.subscription-form input {
width: 100%;
padding: 10px;
margin: 10px 0;
}
.subscription-form input[type="submit"] {
background-color: #007bff;
color: #fff;
border: none;
cursor: pointer;
}
.subscription-form input[type="submit"]:hover {
background-color: #0056b3;
}
.payment-methods {
margin-top: 20px;
}
.payment-methods h3 {
margin-top: 0;
}
.payment-methods img {
width: 50px;
margin: 5px;
}
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0,0,0,0.4);
}
.modal-content {
background-color: #fefefe;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
border-radius: 8px;
text-align: center;
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
}
@media (max-width: 768px) {
.tariffs {
flex-direction: column;
}
.tariff {
width: 100%;
margin-bottom: 20px;
}
}
</style>
</head>
<body>
<div class="header">
<div class="header-logo"></div>
<h1 class="glow">Helga ₿lue 癸亥</h1>
<h1>NFT Course Subscription</h1>
<p>Unlock the secrets of NFTs with our comprehensive course</p>
</div>
<div class="container">
<h1>NFT Course Subscription</h1>
<div class="tariffs">
<div class="tariff">
<h3>Basic Plan - $15</h3>
<a href="module1.html">Module 1: History of NFTs</a>
<a href="module2.html">Module 2: Creating and Minting NFTs</a>
<a href="module3.html">Module 3: Trading and Marketplaces</a>
<a href="module4.html">Module 4: Legal Aspects and Security</a>
<a href="module5.html">Module 5: Future of NFTs</a>
</div>
<div class="tariff">
<h3>PRO Plan - $50</h3>
<a href="module1.html">Module 1: History of NFTs</a>
<a href="module2.html">Module 2: Creating and Minting NFTs</a>
<a href="module3.html">Module 3: Trading and Marketplaces</a>
<a href="module4.html">Module 4: Legal Aspects and Security</a>
<a href="module5.html">Module 5: Future of NFTs</a>
<p>Bonus Course: Neural Networks Assistants</p>
<p>Electronic Certificate of Completion</p>
<p>Homework Submission</p>
</div>
</div>
<div class="subscription-form">
<h2>Subscribe to the Course</h2>
<form id="subscription-form" action="submit_subscription.php" method="post">
<label>
<input type="radio" name="tariff" value="basic" checked> Basic Plan - $15<br>
</label>
<label>
<input type="radio" name="tariff" value="pro"> PRO Plan - $50<br>
</label>
<input type="text" name="name" placeholder="Your Name" required><br>
<input type="email" name="email" placeholder="Your Email" required><br>
<input type="submit" value="Submit">
</form>
</div>
<div class="payment-methods">
<h3>Payment Methods</h3>
<img src="https://cryptologos.cc/logos/bitcoin-btc-logo.png" alt="Bitcoin">
<img src="https://cryptologos.cc/logos/ethereum-eth-logo.png" alt="Ethereum">
<img src="https://cryptologos.cc/logos/arbitrum-arb-logo.png" alt="Arbitrum">
<img src="https://cryptologos.cc/logos/binance-coin-bnb-logo.png" alt="Binance Coin">
<img src="https://cryptologos.cc/logos/polygon-matic-logo.png" alt="Polygon">
</div>
<div class="avatar-customization">
<h2>Customize Your Avatar</h2>
<form id="avatar-form" action="submit_avatar.php" method="post">
<input type="text" name="avatar_name" placeholder="Avatar Name" required><br>
<label for="avatar-hair">Hair Color:</label>
<select name="avatar_hair" id="avatar-hair">
<option value="black">Black</option>
<option value="blonde">Blonde</option>
<option value="brown">Brown</option>
<option value="red">Red</option>
<option value="gray">Gray</option>
</select><br>
<label for="avatar-eyes">Eye Color:</label>
<select name="avatar_eyes" id="avatar-eyes">
<option value="blue">Blue</option>
<option value="brown">Brown</option>
<option value="green">Green</option>
<option value="gray">Gray</option>
</select><br>
<label for="avatar-outfit">Outfit:</label>
<select name="avatar_outfit" id="avatar-outfit">
<option value="casual">Casual</option>
<option value="formal">Formal</option>
<option value="sporty">Sporty</option>
<option value="futuristic">Futuristic</option>
</select><br>
<input type="submit" value="Create Avatar">
</form>
</div>
<div class="feedback-form">
<h2>Leave Your Feedback</h2>
<form id="feedback-form" action="submit_feedback.php" method="post">
<input type="text" name="name" placeholder="Your Name" required><br>
<input type="email" name="email" placeholder="Your Email" required><br>
<textarea name="feedback" placeholder="Your Feedback" rows="5" required></textarea><br>
<input type="submit" value="Submit Feedback">
</form>
</div>
</div>
<!-- Button to open the modal -->
<button id="donateCourseBtn" class="new-button">Donate Course</button>
<!-- The Modal -->
<div id="paymentModal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<h2>Payment Options</h2>
<p>Choose your preferred payment method:</p>
<div class="interactive-element">
<a href="https://www.beam-mw.com/">Beam Wallet</a>
</div>
<div class="interactive-element">
<a href="https://metamask.io/">MetaMask</a>
</div>
<div class="interactive-element">
<a href="https://stripe.com/">Stripe</a>
</div>
</div>
</div>
<div id="avatarModal" class="modal" role="dialog" aria-labelledby="avatarModalLabel" aria-hidden="true">
<div class="modal-content">
<span class="close" aria-label="Close">×</span>
<h2 id="avatarModalLabel">Customize Your Avatar</h2>
<p>Choose your avatar's features:</p>
<form id="modal-avatar-form" action="submit_avatar.php" method="post">
<input type="text" name="avatar_name" placeholder="Avatar Name" required><br>
<label for="modal-avatar-hair">Hair Color:</label>
<select name="avatar_hair" id="modal-avatar-hair">
<option value="black">Black</option>
<option value="blonde">Blonde</option>
<option value="brown">Brown</option>
<option value="red">Red</option>
<option value="gray">Gray</option>
</select><br>
<label for="modal-avatar-eyes">Eye Color:</label>
<select name="avatar_eyes" id="modal-avatar-eyes">
<option value="blue">Blue</option>
<option value="brown">Brown</option>
<option value="green">Green</option>
<option value="gray">Gray</option>
</select><br>
<label for="modal-avatar-outfit">Outfit:</label>
<select name="avatar_outfit" id="modal-avatar-outfit">
<option value="casual">Casual</option>
<option value="formal">Formal</option>
<option value="sporty">Sporty</option>
<option value="futuristic">Futuristic</option>
</select><br>
<input type="submit" value="Create Avatar">
</form>
</div>
</div>
<div id="feedbackModal" class="modal" role="dialog" aria-labelledby="feedbackModalLabel" aria-hidden="true">
<div class="modal-content">
<span class="close" aria-label="Close">×</span>
<h2 id="feedbackModalLabel">Feedback Form</h2>
<p>We value your feedback:</p>
<form id="modal-feedback-form" action="submit_feedback.php" method="post">
<input type="text" name="name" placeholder="Your Name" required><br>
<input type="email" name="email" placeholder="Your Email" required><br>
<textarea name="feedback" placeholder="Your Feedback" rows="5" required></textarea><br>
<input type="submit" value="Submit Feedback">
</form>
</div>
</div>
<script>
var modals = document.getElementsByClassName('modal');
var buttons = document.getElementsByTagName('button');
var spans = document.getElementsByClassName('close');
for (var i = 0; i < buttons.length; i++) {
buttons[i].onclick = function() {
var modal = document.getElementById(this.dataset.modal);
modal.style.display = "block";
}
}
for (var i = 0; i < spans.length; i++) {
spans[i].onclick = function() {
for (var j = 0; j < modals.length; j++) {
modals[j].style.display = "none";
}
}
}
window.onclick = function(event) {
for (var i = 0; i < modals.length; i++) {
if (event.target == modals[i]) {
modals[i].style.display = "none";
}
}
}
// Form Validation
document.getElementById('subscription-form').addEventListener('submit', function(event) {
var email = document.getElementsByName('email')[0].value;
if (!validateEmail(email)) {
alert('Please enter a valid email address.');
event.preventDefault();
}
});
function validateEmail(email) {
var re = /\S+@\S+\.\S+/;
return re.test(email);
}
</script>
</body>
</html>