forked from Dissabot337/Dissa-SESSION-ID
-
Notifications
You must be signed in to change notification settings - Fork 1
/
qr.html
178 lines (159 loc) · 4.92 KB
/
qr.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
<html lang="en">
<head>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1737874207490861"
crossorigin="anonymous"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WHATSAPP BOT QR SCANER</title>
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap" rel="stylesheet">
<title>QR</title>
<style>
.bg {
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-size: 400% 400%;
animation: AnimateBG 25s ease infinite;
}
@keyframes AnimateBG {
0% {
background-position: 0% 50%
}
50% {
background-position: 100% 50%
}
100% {
background-position: 0% 50%
}
}
body {
margin: 0;
padding: 0;
font-family: "Outfit";
background: linear-gradient(-45deg, #4a90e2, #3ac569, #9b59b6, #e74c3c);
background-size: 400% 400%;
animation: gradient 10s ease infinite;
display: flex;
justify-content: center;
align-items: center;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
jsl.code {
overflow: hidden;
background: linear-gradient(-45deg, #f1c40f, #3498db, #2ecc71, #e74c3c);
background-size: 400% 400%;
animation: gradient 8s ease infinite;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
font-family: 'Montserrat', sans-serif;
height: 110vh;
margin: 0px;
}
p.legend {
color: #fff;
font-size: 1em;
font-weight: 400;
padding: 0em 1.1em;
margin-top: 0.1em;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
overflow: hidden;
}
:root {
--main-color: hsl(212, 45%, 89%);
--principalText-color: hsl(218, 44%, 22%);
--secondText-color: hsl(220, 15%, 55%);
}
#content {
display: flex;
flex-direction: column;
width: 22rem;
text-align: center;
background-color: #000000;
padding: 1rem;
border-radius: 14px;
}
#QR-content img {
border-radius: 10px;
width: 20rem;
}
#title-container {
padding: 1rem 1rem 0 1rem;
color: #fff;
font-weight: 700;
margin-bottom: 1rem;
}
#description-container {
padding: 0 2.5rem 0 2.5rem;
color: #fff;
margin-bottom: 2rem;
}
#p-legend {
font-size: 1em;
font-weight: 400;
padding: 0em 1.1em;
margin-top: 0.1em;
}
.reload-button {
display: inline-block;
padding: 10px 20px;
background-color: #3498db; /* Blue color */
color: #fff; /* White text color */
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.reload-button:hover {
background-color: #2980b9; /* Darker blue color on hover */
}
</style>
<script>
var timeleft = 30;
var downloadTimer = setInterval(function () {
if (timeleft <= 0) {
clearInterval(downloadTimer);
document.getElementById("progressBar").remove();
document.getElementById("main").innerHTML = "QR Expired! Please reload";
document.getElementById("legend").innerHTML = ""
}
document.getElementById("progressBar").value = 30 - timeleft;
timeleft -= 1;
}, 1000);
</script>
</head>
<body>
<div class="bg">
<div id="content">
<div id="QR-content">
<img id="qr-image" src="/server" alt="QR CODE">
</div>
<div id="title-container">
<h2 id="main">WHATSAPP-BOT QR</h2>
<p class="legend" id="legend">Scan The QR Code</p>
</div>
<div id="description-container">
<p id="semi" class="legend"></p>
<progress value="0" max="30" id="progressBar"></progress>
</div>
<a href="javascript:history.go(0)" class="reload-button">Reload Page</a>
</div>
</div>
</body>
</html>