-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.js
More file actions
42 lines (35 loc) · 966 Bytes
/
Copy pathscript.js
File metadata and controls
42 lines (35 loc) · 966 Bytes
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
/*const mode = document.getElementById('mode_icon');
mode.addEventListener('click', () => {
const form = document.getElementById('login_form');
if(mode.classList.contains('fa-moon')) {
mode.classList.remove('fa-moon');
mode.classList.add('fa-sun');
form.classList.add('dark');
return ;
}
mode.classList.remove('fa-sun');
mode.classList.add('fa-moon');
form.classList.remove('dark');
});*/
AOS.init();
var TrandingSlider = new Swiper('.tranding-slider', {
effect: 'coverflow',
grabCursor: true,
centeredSlides: true,
loop: true,
slidesPerView: 'auto',
coverflowEffect: {
rotate: 0,
stretch: 0,
depth: 100,
modifier: 2.5,
},
pagination: {
el: '.swiper-pagination',
clickable: true,
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
}
});