-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwallet.html
152 lines (142 loc) · 4.42 KB
/
wallet.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Airdrop Withdraw</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #f4f7fb;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.withdraw-container {
background-color: rgb(238, 189, 129);
width: 100%;
max-width: 500px;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
font-size: 24px;
color: #333;
margin-bottom: 20px;
}
.balance-section {
background-color: #f9f9f9;
border-radius: 5px;
padding: 15px;
margin-bottom: 20px;
text-align: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.balance-section p {
font-size: 18px;
color: #555;
margin-bottom: 10px;
}
.balance-section .balance {
font-size: 28px;
font-weight: bold;
color: #28a745;
}
.withdraw-section {
margin-bottom: 20px;
}
.withdraw-section input[type="text"] {
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
margin-bottom: 15px;
}
.withdraw-section button {
background-color: #007bff;
color: white;
padding: 12px 25px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
width: 100%;
}
.withdraw-section button:disabled {
background-color: #cccccc;
cursor: not-allowed;
}
.footer {
text-align: center;
font-size: 14px;
color: #888;
margin-top: 20px;
}
.back-btn {
background-color: #007bff;
color: white;
padding: 12px 25px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
text-transform: uppercase;
text-decoration: none;
display: inline-block;
transition: background-color 0.3s ease;
}
.back-btn:hover {
background-color: #0056b3;
}
.footer {
margin-top: 20px;
font-size: 14px;
color: #888;
}
</style>
<link rel="stylesheet" href="task.css">
<link rel="stylesheet" href="responsive-1.css">
</head>
<body style="background-color: #007bff;">
<div class="withdraw-container">
<p> <img src="wallett.png" width="100px" alt="Character" onclick="startVibration()">
<h1>Withdraw birr</h1>
<!-- Balance Section -->
<div class="balance-section">
<p>Your Current Balance</p>
<div class="balance">0 Birr</div>
</div>
<!-- Withdraw Section -->
<div class="withdraw-section">
<input type="text" id="walletAddress" placeholder="withdrawal process is comeing soon!!" required>
<button id="withdrawBtn" class="bg-slate-900 hover:bg-slate-900/95 text-white w-full py-6 mt-4 rounded-3xl shadow-lg flex items-center justify-center" disabled>Withdraw</button>
</div>
<!-- Optional link to another section -->
<div class="footer">
<p>or</p>
<a href="internal.html" class="back-btn">Back to Home</a>
</div>
</div>
<script>
const walletInput = document.getElementById('walletAddress');
const withdrawBtn = document.getElementById('withdrawBtn');
// Enable button if wallet address is entered
walletInput.addEventListener('input', () => {
if (walletInput.value.trim() !== '') {
withdrawBtn.disabled = false;
} else {
withdrawBtn.disabled = true;
}
});
</script>
</body>
</html>