Spaces:
Running
Running
File size: 3,525 Bytes
406a470 |
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 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Redirecting...</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
overflow: hidden;
background: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
backdrop-filter: blur(10px);
position: relative;
}
.background {
position: absolute;
width: 100%;
height: 100%;
background: linear-gradient(45deg, #80d0c7, #68c3a3, #6eb5e0, #78a6d2, #7096c4, #6c86b5);
background-size: 400% 400%;
animation: gradientAnimation 30s linear infinite;
z-index: -2;
}
@keyframes gradientAnimation {
0% { background-position: 0% 50%; }
100% { background-position: 100% 50%; }
}
.grain {
position: absolute;
width: 100%;
height: 100%;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/wcAAn0A2p/CFvsAAAAASUVORK5CYII=');
opacity: 0.1;
pointer-events: none;
z-index: -1;
}
.container {
text-align: center;
background: #fff; /* Solid background */
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
z-index: 1;
}
.countdown {
font-size: 2rem;
color: #333;
}
.video-logo {
width: 100px;
height: auto;
margin-bottom: 20px;
}
.company-name {
font-size: 1.5rem;
margin-bottom: 20px;
color: #555;
}
</style>
</head>
<body>
<div class="background"></div>
<div class="grain"></div>
<div class="container">
<video class="video-logo" id="company-video" autoplay muted loop>
<source src="path/to/your/logo.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<p class="company-name" id="company-name">Redirecting to [Company Name]</p>
<p>Redirecting in <span class="countdown" id="countdown">6</span> seconds...</p>
</div>
<script>
let countdownNumber = 6;
const countdownElement = document.getElementById('countdown');
const redirectUrl = "https://chat.whatsapp.com/H0AraNmzBr1CjHFZNRfGXZ"; // Replace with your desired URL
const companyName = "RiSG WhatsApp"; // Replace with the name of your company
document.getElementById('company-name').textContent = `Redirecting to ${companyName}`;
// Replace 'path/to/your/logo.mp4' with the path to your video
document.getElementById('company-video').src = 'q.mp4';
const countdownInterval = setInterval(() => {
countdownNumber--;
countdownElement.textContent = countdownNumber;
if (countdownNumber <= 0) {
clearInterval(countdownInterval);
window.location.href = redirectUrl;
}
}, 1000);
</script>
</body>
</html>
|