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