Skip to content

Commit a98f798

Browse files
committed
Enhance index.html with loading screen and redirect functionality
1 parent 1ca822c commit a98f798

1 file changed

Lines changed: 44 additions & 3 deletions

File tree

index.html

Lines changed: 44 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,53 @@
11
<!DOCTYPE html>
22
<html lang="de">
33
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<script defer src="registerscript.js"></script>
4+
<meta charset="UTF-8"/>
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
6+
<title>Willkommen bei FridgeSort</title>
77
<style>
8+
body {
9+
margin: 0;
10+
height: 100vh;
11+
background-color: #1E1E2E;
12+
display: flex;
13+
justify-content: center;
14+
align-items: center;
15+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
16+
flex-direction: column;
17+
text-align: center;
18+
}
19+
20+
.loader {
21+
margin-top: 30px;
22+
width: 48px;
23+
height: 48px;
24+
border: 5px solid #50FA7B;
25+
border-bottom-color: transparent;
26+
border-radius: 50%;
27+
animation: rotate 1s linear infinite;
28+
}
29+
30+
@keyframes rotate {
31+
100% {
32+
transform: rotate(360deg);
33+
}
34+
}
35+
.logo-color{
36+
color: #50FA7B;
37+
}
38+
.text-color {
39+
color: #e0e0e0;
40+
}
841
</style>
42+
<script>
43+
setTimeout(() => {
44+
window.location.href = "profile.html";
45+
}, 3000); // 3 Sekunden Verzögerung
46+
</script>
947
</head>
1048
<body>
49+
<h1><span class="text-color">Fridge</span><span class="logo-color">Sort</span></h1>
50+
<p class="text-color">Willkommen! Du wirst weitergeleitet ...</p>
51+
<div class="loader"></div>
1152
</body>
1253
</html>

0 commit comments

Comments
 (0)