-
-
Notifications
You must be signed in to change notification settings - Fork 431
/
welcome.html
287 lines (251 loc) · 8.76 KB
/
welcome.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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome to Finveda Reviews</title>
<link rel="shortcut icon" href="/assets/images/favicon2.webp" type="image/png" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/5.3.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap" rel="stylesheet">
<style>
body {
margin: 0;
overflow: hidden;
font-family: 'Roboto', sans-serif;
color: #fff;
background: linear-gradient(45deg, #ff6b6b, #f7b731, #3bde5c);
height: 100%;
}
.background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
animation: gradientAnimation 15s ease infinite;
z-index: -1;
}
@keyframes gradientAnimation {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.particle {
position: absolute;
border-radius: 50%;
pointer-events: none;
opacity: 0.7;
animation: float 5s infinite ease-in-out;
transition: transform 0.3s ease, background-color 0.3s;
}
.particle:hover {
transform: scale(1.5);
background-color: #ff6b6b;
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
.welcome-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
text-align: center;
position: relative;
z-index: 1;
}
.welcome-title {
font-size: 4rem;
opacity: 0;
animation: fadeIn 1.5s forwards;
animation-delay: 0.5s;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-30px); }
to { opacity: 1; transform: translateY(0); }
}
.welcome-text {
font-size: 1.5rem;
opacity: 0;
animation: fadeIn 1.5s forwards;
animation-delay: 1.5s;
margin-top: 20px;
}
.btn-start {
margin-top: 20px;
padding: 10px 20px;
font-size: 1.2rem;
border-radius: 5px;
background-color: #3aac53;
color: #fff;
transition: all 0.3s ease;
}
.btn-start:hover {
transform: translateY(-5px);
background-color: #28a745;
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
.btn-start:focus {
outline: none;
}
/* Circle styles */
.circle {
height: 24px;
width: 24px;
border-radius: 50%;
background-color: black;
position: fixed;
top: 0;
left: 0;
pointer-events: none;
z-index: 99999999;
transition: transform 0.1s ease-out;
}
.counter-container {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
display: flex;
justify-content: center;
background: rgba(0, 0, 0, 0.7);
padding: 10px 20px;
border-radius: 8px;
z-index: 2; /* Ensures counters are on top */
color: #fff;
font-size: 1.2rem;
font-weight: bold;
}
.counter {
margin: 0 15px;
text-align: center;
}
</style>
</head>
<body>
<div class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
"default_language":"en",
"detect_browser_language":true,
"wrapper_selector":".gtranslate_wrapper"
}
</script>
<script
src="https://cdn.gtranslate.net/widgets/latest/float.js"
defer
></script>
<!-- Circles -->
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<!-- Background -->
<div class="background"></div>
<!-- Welcome Section -->
<div class="welcome-container">
<h1 class="welcome-title">Welcome to Finveda's Successful Users Secret</h1>
<p class="welcome-text">Don't Trust Blindly See the Truth and then move forward.</p>
<a href="Testimonials.html" class="btn btn-start">Start Reading Reviews</a>
</div>
<div class="counter-container">
<div class="counter">
<div id="registration-count">0</div>
<p>Registrations</p>
</div>
<div class="counter">
<div id="user-count">0</div>
<p>Users</p>
</div>
</div>
<script>
let registrationCount = 0;
let userCount = 0;
// Start the interval and store its ID
const counterInterval = setInterval(incrementCounters, 50);
function incrementCounters() {
if (registrationCount >= 500 && userCount >= 5000) {
// Stop the counter when both reach 500 or more
clearInterval(counterInterval);
return;
}
// Increment counts only if they haven't reached 500 yet
if (registrationCount < 500) {
registrationCount += Math.floor(Math.random() * 10 + 1);
if (registrationCount > 500) registrationCount = 5000; // Cap at 500
}
if (userCount < 500) {
userCount += Math.floor(Math.random() * 15 + 1);
if (userCount > 500) userCount = 500; // Cap at 500
}
document.getElementById('registration-count').textContent = `+${registrationCount}`;
document.getElementById('user-count').textContent = `+${userCount}`;
}
// Generate random particles in the background
const particleCount = 100;
for (let i = 0; i < particleCount; i++) {
const particle = document.createElement('div');
particle.classList.add('particle');
const size = Math.random() * 10 + 5; // Random size between 5 and 15px
particle.style.width = `${size}px`;
particle.style.height = `${size}px`;
particle.style.backgroundColor = `rgba(255, 255, 255, ${Math.random()})`; // Random opacity
particle.style.top = `${Math.random() * 100}vh`;
particle.style.left = `${Math.random() * 100}vw`;
particle.style.animationDelay = `${Math.random() * 2}s`; // Random animation delay
document.body.appendChild(particle);
}
</script>
<script>
// Cursor tail effect
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
const colors = ["#ffb56b", "#fdaf69", "#f89d63", "#f59761", "#ef865e", "#ec805d", "#e36e5c", "#df685c", "#d5585c"];
circles.forEach((circle, index) => {
circle.x = 0;
circle.y = 0;
circle.style.backgroundColor = colors[index % colors.length];
});
window.addEventListener("mousemove", (e) => {
coords.x = e.clientX;
coords.y = e.clientY;
});
function animateCircles() {
let x = coords.x;
let y = coords.y;
circles.forEach((circle, index) => {
circle.style.left = x - 12 + "px";
circle.style.top = y - 12 + "px";
circle.style.transform = `scale(${(circles.length - index) / circles.length})`;
circle.x = x;
circle.y = y;
const nextCircle = circles[index + 1] || circles[0];
x += (nextCircle.x - x) * 0.3;
y += (nextCircle.y - y) * 0.3;
});
requestAnimationFrame(animateCircles);
}
animateCircles();
</script>
</body>
</html>