Files
moduleair_pro_4g/index.html
Your Name d5f1acc025 update
2025-02-20 15:10:54 +01:00

57 lines
1.8 KiB
HTML
Executable File

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome Page</title>
<style>
/* Reset default browser styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Center the content on the page */
body {
margin: 0;
display: flex;
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
height: 100vh; /* Full viewport height */
background-color: #ffffff; /* Adjust background color */
font-family: Arial, sans-serif;
}
/* Logo styling */
#logo {
opacity: 0; /* Start fully transparent */
transition: opacity 3s ease-in-out; /* Fade-in effect */
max-width: 80%; /* Ensure logo scales well */
max-height: 80%; /* Prevent logo from being too large */
}
</style>
</head>
<body>
<!-- Logo Image -->
<img id="logo" src="/html/assets/img/logoModuleAirColor.png" alt="Logo">
<script>
// Add the fade-in effect
document.addEventListener("DOMContentLoaded", function () {
const logo = document.getElementById("logo");
// Trigger fade-in by changing the opacity
setTimeout(() => {
logo.style.opacity = "1";
}, 100); // Slight delay before starting the fade-in effect
// Redirect after 10 seconds
setTimeout(() => {
window.location.href = "html/index.html"; // Replace with your target URL
}, 3000);
});
</script>
</body>
</html>