-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPx02.html
More file actions
73 lines (68 loc) · 1.66 KB
/
Px02.html
File metadata and controls
73 lines (68 loc) · 1.66 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Connect Telegram</title>
<style>
body {
margin: 0;
height: 100vh;
background-color: #0d0d0d;
display: flex;
justify-content: center;
align-items: center;
font-family: Rubik, sans-serif;
}
button {
align-items: center;
background-color: rgb(174, 100, 216);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 17px;
color: #fff;
cursor: pointer;
display: flex;
font-size: 15px;
font-weight: 500;
height: 56px;
justify-content: center;
padding: 0 58px;
text-transform: uppercase;
transition: all 0.25s ease;
}
.toast {
position: fixed;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
background-color: #1f1f1f;
color: white;
padding: 12px 20px;
border-radius: 12px;
font-size: 14px;
box-shadow: 0 0 12px rgba(174, 100, 216, 0.5);
border: 1px solid rgba(255, 255, 255, 0.15);
opacity: 0;
transition: all 0.4s ease;
z-index: 9999;
}
.toast.show {
opacity: 1;
bottom: 60px;
}
</style>
</head>
<body>
<button onclick="connectTelegram()">CONNECT TELEGRAM</button>
<div id="toast" class="toast">Telegram connected successfully!</div>
<script>
function connectTelegram() {
const toast = document.getElementById("toast");
toast.classList.add("show");
setTimeout(() => {
toast.classList.remove("show");
}, 3000);
}
</script>
</body>
</html>