-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconnect.html
More file actions
127 lines (122 loc) · 3.9 KB
/
connect.html
File metadata and controls
127 lines (122 loc) · 3.9 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
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
<html>
<head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0, user-scalable=no" name="viewport"/>
<title>oAuth : TgConnector</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Signika:wght@400;600;700&display=swap" rel="stylesheet"/>
<style>
body {
font-family: 'Signika', sans-serif;
user-select: none; /* Disable text selection */
-webkit-user-select: none; /* Disable text selection for Safari */
-ms-user-select: none; /* Disable text selection for IE/Edge */
-moz-user-select: none; /* Disable text selection for Firefox */
}
/* Disable right-click */
body {
-webkit-touch-callout: none; /* Disable callout, image save panel (iOS) */
}
</style>
<script>
// Prevent zooming
document.addEventListener('gesturestart', function (e) {
e.preventDefault();
});
document.addEventListener('gesturechange', function (e) {
e.preventDefault();
});
document.addEventListener('gestureend', function (e) {
e.preventDefault();
});
// Disable right-click
document.addEventListener('contextmenu', function (e) {
e.preventDefault();
});
// Disable text selection
document.addEventListener('selectstart', function (e) {
e.preventDefault();
});
// Disable long press to reveal URL or code
document.addEventListener('touchstart', function (e) {
if (e.touches.length > 1) {
e.preventDefault();
}
}, { passive: false });
document.addEventListener('touchend', function (e) {
var now = new Date().getTime();
if (now - lastTouchEnd <= 300) {
e.preventDefault();
}
lastTouchEnd = now;
}, false);
var lastTouchEnd = 0;
</script>
</head>
<body class="bg-white flex items-center justify-center min-h-screen">
<div class="bg-white border-2 border-black rounded-3xl p-6 w-96 shadow-lg relative">
<div class="absolute top-0 left-1/2 transform -translate-x-1/2 -translate-y-1/2 bg-white px-4">
<h1 class="text-6xl font-bold text-purple-600">
STACKED
</h1>
</div>
<div class="mt-16 text-center">
<h2 class="text-2xl font-bold">
Approve connection
</h2>
<div class="mt-4 flex items-center justify-center">
<img alt="Cartoon walrus with sunglasses" class="w-12 h-12 rounded-full" height="50" src="https://storage.googleapis.com/a1aa/image/lN_IV8RcEU4iSCqjRM4lSqXrgbY04uMDrrjQPiqLP04.jpg" width="50"/>
<div class="ml-4 text-left">
<h3 class="text-xl font-semibold">
Walrus Staking
</h3>
<a class="text-purple-600" href="#">
stake-wal.wal.app
</a>
</div>
</div>
<div class="mt-6 bg-gray-100 p-4 rounded-xl">
<h4 class="text-lg font-semibold">
Permissions requested
</h4>
<ul class="mt-2 space-y-2">
<li class="flex items-center">
<i class="fas fa-check-circle text-black mr-2">
</i>
<span>
Share wallet address
</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-black mr-2">
</i>
<span>
Suggest messages to sign
</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-black mr-2">
</i>
<span>
Suggest transaction blocks to sign
</span>
</li>
</ul>
</div>
<div class="mt-6 space-y-4">
<button class="w-full flex items-center justify-center bg-black text-white py-2 rounded-full">
<i class="fab fa-google mr-2">
</i>
Sign In with Google
</button>
<button class="w-full flex items-center justify-center bg-purple-600 text-white py-2 rounded-full">
<i class="fab fa-twitch mr-2">
</i>
Sign In with Twitch
</button>
</div>
</div>
</div>
</body>
</html>