-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
62 lines (46 loc) · 1.46 KB
/
index.js
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
$(document).ready(function () {
})
function notificacoes() {
var card = document.getElementById("cardNotificacao");
card.classList.toggle("amostra");
}
function abrindoModal() {
var fundo = document.getElementById('fundo');
var modal = document.getElementById("modal");
fundo.style.display = "flex";
setTimeout(function () {
fundo.style.backgroundColor = "#1e1e1eaa";
modal.style.transform = "scale(1)";
}, 100);
}
function fechaModal() {
var fundo = document.getElementById('fundo');
var modal = document.getElementById("modal");
fundo.style.backgroundColor = "transparent";
modal.style.transform = "scale(0)";
setTimeout(function () {
fundo.style.display = "none";
}, 100);
var level = document.getElementById('level');
level.innerHTML = 16;
var pontos = document.getElementById('engajamento');
pontos.innerHTML = '100/750';
var progress = document.getElementById("file");
progress.value = 10;
setTimeout(function () {
var card = document.getElementById("cardNotificacao");
card.classList.remove("amostra");
}, 100);
}
function cadastro() {
window.location.href("./cadastro.html");
}
function mudarDeTela() {
window.location.href = "./cadastro.html"
}
function home() {
window.location.href = "./index.html"
}
function perfil() {
window.location.href = "./profile.html"
}