-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·502 lines (476 loc) · 24.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
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
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/email.min.js"></script>
<script src="https://kit.fontawesome.com/40a3572c09.js" crossorigin="anonymous"></script>
<script type="text/javascript">
(function () {
emailjs.init('user_2VZT14aZocQVYvGkIImPa');
})();
</script>
<script type="text/javascript">
function validateEmail(emailField) {
var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
if (emailField.value == "" || reg.test(emailField.value) == true) {
document.getElementById("emailError").innerHTML = 'The email is valid';
document.getElementById("emailError").className = "valid-feedback";
document.getElementById("email").className = "form-control is-valid";
return false;
}
document.getElementById("emailError").innerHTML = 'Invalid Email Address';
document.getElementById("emailError").className = "invalid-feedback";
document.getElementById("email").className = "form-control is-invalid";
return true;
}
function validateName(nameField) {
var hasNumber = /\d/;
if (nameField.value == "" || hasNumber.test(nameField.value) == false) {
document.getElementById("nameError").innerHTML = 'The name looks good';
document.getElementById("nameError").className = "valid-feedback";
document.getElementById("name").className = "form-control is-valid";
return false;
}
document.getElementById("nameError").innerHTML = 'Please enter name without numbers';
document.getElementById("nameError").className = "invalid-feedback";
document.getElementById("name").className = "form-control is-invalid";
return true;
}
function validateMessage(messageField) {
if (messageField.value != "") {
document.getElementById("messageError").innerHTML = '';
document.getElementById("messageError").className = "valid-feedback";
document.getElementById("message").className = "form-control is-valid";
return false;
}
document.getElementById("messageError").innerHTML = 'The message is required';
document.getElementById("messageError").className = "invalid-feedback";
document.getElementById("message").className = "form-control is-invalid";
return true;
}
document.addEventListener('click', function (event) {
var nameValue = document.getElementById("name").value;
var emailValue = document.getElementById("email").value;
var messageValue = document.getElementById("message").value;
var templateParams = {
app_name: "AnimeBlog",
from_name: emailValue,
to_name: '[email protected]',
message: messageValue,
name: nameValue
};
// this.id= 'contact-form'
// If the clicked element doesn't have the right selector, bail
if (!event.target.matches('#submit')) return;
// Don't follow the link
event.preventDefault();
// Log the clicked element in the console
// emailjs.sendForm('service_vm0usri','template_2bdwvqv', this);
emailjs.send('service_vm0usri', 'template_2bdwvqv', templateParams)
.then(function(response) {
document.getElementById("name").innerHTML = "";
document.getElementById("email").innerHTML = "";
document.getElementById("message").innerHTML = "";
var sendButton = document.getElementById("submit");
sendButton.setAttribute('disabled','');
var submitText = document.getElementById("submitText");
submitText.innerHTML = 'Sit back and relax your Email is sent';
submitText.setAttribute('class','text-success')
}, function(error) {
console.log('FAILED...', error);
document.getElementById("name").innerHTML = "";
document.getElementById("email").innerHTML = "";
document.getElementById("message").innerHTML = "";
var sendButton = document.getElementById("submit");
sendButton.setAttribute('disabled','');
var submitText = document.getElementById("submitText");
submitText.innerHTML = 'Cannot send email please try again after some time';
submitText.setAttribute('class','text-danger')
});
}, false);
</script>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel='stylesheet' href='css/style.css'>
<title>AnimeBlog</title>
</head>
<body id='home' data-spy='scroll' ,data-target='#main-nav'>
<nav class="navbar navbar-expand-md navbar-light fixed-top py-4" id='main-nav'>
<div class="container">
<a href="#home" class="navbar-brand">
<img src="img/anime_logo.png" width='50' height='50'>
<img class="d-inline align-middle pt-2" src="https://fontmeme.com/permalink/200706/24b1f90abc4dbe076232e7dc84ba36ee.png" />
</a>
<button class="navbar-toggler" data-toggle='collapse' data-target='#navbarCollapse '>
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbarCollapse" class='collapse navbar-collapse'>
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a href="#home" class="nav-link">Home</a>
</li>
<li class="nav-item">
<a href="#about" class="nav-link">About</a>
</li>
<li class="nav-item">
<a href="#authors" class="nav-link">Meet Our Team</a>
</li>
<li class="nav-item">
<a href="#contact" class="nav-link">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- SHOWCASE -->
<section id="showcase" class="py-5">
<div class="primary-overlay text-white">
<div class="container">
<div>
<!-- <div class="col-lg-6">
<img src="img/book.png" alt="" class="img-fluid d-none d-lg-block">
</div> -->
</div>
</div>
</div>
</section>
<!-- NEWSLETTER -->
<section id="newsletter" class="bg-dark text-white pb-5 pt-0">
<div class="container">
<div class="col-lg-12 mb-3 text-center">
<h1 class="display-6 pt-2">Discuss your favorite anime and manga here</h1>
<blockquote class="blockquote">
<p class="lead">Not giving other person a choice is doesn't really qualify as a discussion. </p>
<footer class="blockquote-footer">Onna Shinakan, <cite title="Goblin Slayer">Goblin Slayer</cite></footer>
</blockquote>
<a href="#" class="btn btn-outline-secondary btn-lg text-white">
<i class="fa fa-arrow-right"></i> Take me there
</a>
</div>
<div class="row">
<div class="col-md-4">
<input type="text" class="form-control form-control-lg mb-resp" placeholder='Enter Name'>
</div>
<div class="col-md-4">
<input type="email" class="form-control form-control-lg mb-resp" placeholder='Enter Email'>
</div>
<div class="col-md-4">
<button class="btn btn-primary btn-lg btn-block">
<i class="fas fa-envelope-open"></i> Subscribe
</button>
</div>
</div>
</div>
</section>
<!-- BOXES -->
<section id="boxes" class="py-5">
<div class="container">
<div class="row">
<div class="col-md-3">
<div class="card text-center border-card mb-resp">
<div class="card-body">
<h3 class="text-gradient">Discuss Manga</h3>
<p class="text-muted">Discuss the latest events in manga of your favorite manga series.</p>
</div>
</div>
</div>
<div class="col-md-3">
<div class="card text-center colored-cards text-white mb-resp">
<div class="card-body">
<h3>Theories & Facts</h3>
<p>Discuss theories regarding your favorite anime characters and arc.</p>
</div>
</div>
</div>
<div class="col-md-3">
<div class="card text-center border-card mb-resp">
<div class="card-body">
<h3 class="text-gradient">Art</h3>
<p class="text-muted">Display the love for anime with the work of art you created.</p>
</div>
</div>
</div>
<div class="col-md-3">
<div class="card text-center colored-cards text-white">
<div class="card-body">
<h3>Polls</h3>
<p>Conduct polls for all members and have discusion on that.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- ABOUT / WHY SECTION-->
<section id="about" class="py-5 bg-light text-center">
<div class="container">
<div class="row">
<div class="col">
<div class="info-header mb-5">
<h1 class="text-gradient pb-3">Why This Blog?</h1>
<p class="lead pb-3">Here you can discuss all your favorite animes post your art and you can conduct polls all for the anime you love.</p>
</div>
<!-- Accordion -->
<div id="accordion">
<div class="card">
<div class="card-header">
<h5 class="mb-0">
<div href="#collapse1" data-toggle='collapse' data-parent='#accordion'>
<i class="fas fa-arrow-circle-down">
</i> Introduce Yourself
</div>
</h5>
</div>
<div id="collapse1" class="collapse show">
<div class="card-body">
If you are new to our blog login and let us know more about yourself, and get to know other members. You can even join the specific anime groups and their discord server if they have one.
</div>
</div>
</div>
<div class="card">
<div class="card-header">
<h5 class="mb-0">
<div href="#collapse2" data-toggle='collapse' data-parent='#accordion'>
<i class="fas fa-arrow-circle-down">
</i> Discuss Anime in depth
</div>
</h5>
</div>
<div id="collapse2" class="collapse">
<div class="card-body">
Discuss all things about animes, not specific to any particular series or genre. For discussing all aspects of anime! Characters, plot, relationships, events, general anime topics you can join anime specific groups.
</div>
</div>
</div>
<div class="card">
<div class="card-header">
<h5 class="mb-0">
<div href="#collapse3" data-toggle='collapse' data-parent='#accordion'>
<i class="fas fa-arrow-circle-down">
</i> Submit Your Art
</div>
</h5>
</div>
<div id="collapse3" class="collapse">
<div class="card-body">
We organize monthly art compitetion where you can submit your artwork of the anime you love and try to win our giveaways. You can also view all the artwork in the gallery which is in our future works.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- AUTHORS -->
<section id="authors" class="my-5 text-center">
<div class="container">
<div class="row">
<div class="col">
<div class="info-header mb-5">
<h1 class="text-primary pb-3">Meet Our Team</h1>
<p class="lead">These hardcore anime lovers are behind this fantastic anime blog site. They put in their hardwork to curate the artworks, try and find subbed and dubbed anime streams and most importantly handle all the rules and regulation of our community.</p>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-3 col-md-6">
<div class="card mb-resp-author-img">
<div class="card-body">
<img src="img/person1.jpg" alt="" class="img-fluid rounded-circle w-50 mb-3">
<h3>Naruto</h3>
<h5 class='text-muted'>Lead Animator</h5>
<p>I worked in some prestigious anime studios to create some notable anime series as well as movies, most notable being 'Akira'. Watch Anime.</p>
<div class="d-flex justify-content-center">
<div class="p-4">
<a href='http://facebook.com'>
<i class="fab fa-facebook"></i>
</a>
</div>
<div class="p-4">
<a href='http://twitter.com'>
<i class="fab fa-twitter"></i>
</a>
</div>
<div class="p-4">
<a href='http://instagram.com'>
<i class="fab fa-instagram"></i>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="card mb-resp-author-img">
<div class="card-body">
<img src="img/person2.jpg" alt="" class="img-fluid rounded-circle w-50 mb-3">
<h3>Goku</h3>
<h5 class='text-muted'>Lead Manga Artist</h5>
<p>I have worked in creating some manga masterpiece like the pain arc of naruto and creater of adult comedy manga 'Prison School'. Read Manga.</p>
<div class="d-flex justify-content-center">
<div class="p-4">
<a href='http://facebook.com'>
<i class="fab fa-facebook"></i>
</a>
</div>
<div class="p-4">
<a href='http://twitter.com'>
<i class="fab fa-twitter"></i>
</a>
</div>
<div class="p-4">
<a href='http://instagram.com'>
<i class="fab fa-instagram"></i>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="card mb-resp-author-img">
<div class="card-body">
<img src="img/person3.jpg" alt="" class="img-fluid rounded-circle w-50 mb-3">
<h3>Asta</h3>
<h5 class='text-muted'>Art Curator</h5>
<p>I have judged and organized many cosplay events and anime art events in past and is an esteemed member of annual anime art event held in Tokyo.</p>
<div class="d-flex justify-content-center">
<div class="p-4">
<a href='http://facebook.com'>
<i class="fab fa-facebook"></i>
</a>
</div>
<div class="p-4">
<a href='http://twitter.com'>
<i class="fab fa-twitter"></i>
</a>
</div>
<div class="p-4">
<a href='http://instagram.com'>
<i class="fab fa-instagram"></i>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="card">
<div class="card-body">
<img src="img/person4.jpg" alt="" class="img-fluid rounded-circle w-50 mb-3">
<h3>Gutz</h3>
<h5 class='text-muted'>Developer and Anime Lover</h5>
<p>I have worked with some of the best organization in , my love of anime increased while working on a website of most ruthless anime 'Berserk'. </p>
<div class="d-flex justify-content-center">
<div class="p-4">
<a href='http://facebook.com'>
<i class="fab fa-facebook"></i>
</a>
</div>
<div class="p-4">
<a href='http://twitter.com'>
<i class="fab fa-twitter"></i>
</a>
</div>
<div class="p-4">
<a href='http://instagram.com'>
<i class="fab fa-instagram"></i>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- CONTACT -->
<section id="contact" class="bg-light py-5">
<div class="container">
<div class="row">
<div class="col-lg-9">
<h3>Get In Touch</h3>
<p class="lead">Want to know more about us and how we operate</p>
<form id='contact-form'>
<div class="input-group input-group-lg mb-3">
<div class="input-group-prepend">
<span class=" contact-form input-group-text">
<i class="fas fa-user"></i>
</span>
</div>
<input id="name" name="name" type="text" class="form-control" required
onchange="validateName(this);" placeholder='Name'>
<div id="nameError" class="" />
</div>
<div class="input-group input-group-lg mb-3">
<div class="input-group-prepend">
<span class="contact-form input-group-text">
<i class="fas fa-envelope-open"></i>
</span>
</div>
<input onchange="validateEmail(this);" id="email" required name="from_name" type="email"
class="form-control" placeholder='Email'>
<div id="emailError" class="" />
</div>
<div class="input-group input-group-lg mb-3">
<div class="input-group-prepend">
<span class="contact-form input-group-text">
<i class="fas fa-pencil-alt"></i>
</span>
</div>
<textarea id="message" name="message" class="form-control" required onchange="validateMessage(this)" placeholder='Message' rows='5'>
</textarea>
<div id="messageError" class="" />
</div>
<input id="submit" value="Submit" type="submit" class='btn btn-primary btn-lg btn-block'>
<p id="submitText" class=""></p>
</form>
</div>
<div class="col-lg-3 align-self-center resp-img">
<img src="img/anime_logo.png" alt="" class="img-fluid">
</div>
</div>
</div>
</section>
<!-- FOOTER -->
<footer id="main-footer" class="pt-2 colored-cards text-white">
<div class="container">
<div class="row text-right">
<div class="col-md-6 ml-auto">
<p class="lead">
Copyright © <span id="year"></span>
</p>
</div>
</div>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script>
// Get the current year of copyright
$('#year').text(new Date().getFullYear());
// Init ScrollSpy
$('body').scrollspy({ target: '#main-nav' });
// Add smooth scrolling
$('#main-nav a').on('click', function(e) {
// Check for a hash value
if (this.hash !== '') {
// Prevent default behavior
e.preventDefault();
// Store hash
const hash = this.hash;
// Animate smooth scroll
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 800, function() {
// Add hash to URL after scroll
window.location.hash = hash;
$('.navbar-collapse').collapse('hide');
});
}
});
</script>
</body>
</html>