forked from bst04/payloads_flipperZero
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
116 lines (109 loc) · 3.36 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Number Counter and Submit Your Ideas</title>
<style>
body {
display: flex;
flex-direction: column;
align-items: center;
font-family: 'Arial', sans-serif;
background-color: #f0f0f0;
margin: 0;
padding: 20px;
}
.counter-container {
display: flex;
align-items: center;
margin-bottom: 50px;
}
.counter {
font-size: 8rem; /* Increased font size */
color: #FF8C00; /* Changed color to dark orange */
font-weight: bold; /* Added bold weight */
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Added subtle shadow */
margin-left: 20px;
}
.counter-label {
font-size: 2rem; /* Size of the label text */
color: #333; /* Color of the label text */
}
.form-container {
max-width: 600px;
width: 100%;
background: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 8px;
padding: 20px;
}
.form-container h1 {
text-align: center;
color: #F28500;
}
form {
display: flex;
flex-direction: column;
}
label {
margin-bottom: 10px;
font-weight: bold;
}
input, textarea, button {
margin-bottom: 20px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
}
button {
background-color: #F28500;
color: #fff;
cursor: pointer;
}
button:hover {
background-color: #FFBF00;
}
.credit {
margin-top: 20px;
font-size: 1rem;
color: #666;
}
</style>
</head>
<body>
<div class="counter-container">
<div class="counter-label">Number of Payloads</div>
<div class="counter" id="counter">0</div>
</div>
<div class="form-container">
<h1>Submit Your Idea for a Payload</h1>
<form action="mailto:[email protected]" method="post" enctype="text/plain">
<label for="name">Your Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Your Email:</label>
<input type="email" id="email" name="email" required>
<label for="idea">Your Idea:</label>
<textarea id="idea" name="idea" rows="6" required></textarea>
<button type="submit">Send</button>
</form>
</div>
<div class="credit">Created by bst04</div>
<script>
const counterElement = document.getElementById('counter');
let count = 0;
const target = 40;
const increment = 1;
const duration = 2000; // Duration of the animation in milliseconds
const stepTime = duration / target;
function updateCounter() {
count += increment;
counterElement.textContent = count;
if (count < target) {
setTimeout(updateCounter, stepTime);
}
}
updateCounter();
</script>
</body>
</html>