mirror of
https://github.com/Snigdha-OS/Snigdha-OS.github.io.git
synced 2025-09-05 20:26:43 +02:00
🐛 fix(redirect): auto after 5000ms
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
h1 {
|
||||
font-size: 5rem;
|
||||
margin: 0;
|
||||
color: #ff616f;
|
||||
color: #6495ed;
|
||||
}
|
||||
p {
|
||||
font-size: 1.2rem;
|
||||
@@ -40,13 +40,13 @@
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
background-color: #ff616f;
|
||||
background-color: #6495ed;
|
||||
text-decoration: none;
|
||||
border-radius: 5px;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
a:hover {
|
||||
background-color: #e0505e;
|
||||
background-color: #4a7fcf;
|
||||
}
|
||||
.logo {
|
||||
margin-bottom: 2rem;
|
||||
@@ -56,6 +56,12 @@
|
||||
height: auto;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
// Redirect to homepage after 5 seconds
|
||||
setTimeout(() => {
|
||||
window.location.href = '/';
|
||||
}, 5000);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
@@ -64,7 +70,8 @@
|
||||
</div>
|
||||
<h1>404</h1>
|
||||
<p>Oops! The page you're looking for doesn't exist or has been moved.</p>
|
||||
<a href="/">Go to Homepage</a>
|
||||
<p>You will be redirected to the homepage in 5 seconds.</p>
|
||||
<a href="/">Go to Homepage Now</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user