-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
114 lines (107 loc) · 2.99 KB
/
index.php
File metadata and controls
114 lines (107 loc) · 2.99 KB
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="./assets/logo.png" type="image/x-icon"/>
<title>TutorFlux</title>
<style>
/* Body and Container */
body, html {
height: 100%;
margin: 0;
font-family: 'Poppins', sans-serif;
display: flex;
justify-content: center;
align-items: center;
background-color: #ff8c00;
color: black;
text-align: center;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
max-width: 90%;
width: 100%;
}
/* App Icon */
.app-icon {
width: 300px;
height: 300px;
border-radius: 50%;
margin-bottom: 20px;
background: url('./assets/logo.png') no-repeat center center/cover; /* Replace with your actual app icon */
animation: zoomOut 1.5s ease-out forwards, shake 0.5s ease-in-out 1.5s infinite;
}
/* Zoom Out Animation */
@keyframes zoomOut {
from {
transform: scale(3); /* Start 3 times larger */
}
to {
transform: scale(1); /* End at normal size */
}
}
/* Shake Animation */
@keyframes shake {
0%, 100% {
transform: translateX(0);
}
25% {
transform: translateX(-5px);
}
50% {
transform: translateX(5px);
}
75% {
transform: translateX(-5px);
}
}
/* Responsive Design */
@media (max-width: 768px) {
.app-name {
font-size: 28px;
}
.app-description {
font-size: 16px;
padding: 0 15px;
}
.get-started-btn {
font-size: 16px;
padding: 12px 25px;
}
}
@media (max-width: 480px) {
.app-icon {
width: 150px;
height: 150px;
}
.app-name {
font-size: 24px;
}
.app-description {
font-size: 14px;
padding: 0 10px;
}
.get-started-btn {
font-size: 14px;
padding: 10px 20px;
}
}
</style>
</head>
<body>
<div class="container">
<div class="app-icon"></div>
</div>
<script>
// Function to redirect to login page
function redirectToLogin() {
window.location.href = './login/login.php'; // Replace with your actual login page link
}
// Auto redirect after 2.5 seconds
setTimeout(redirectToLogin, 3500);
</script>
</body>
</html>