-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path404.php
85 lines (73 loc) · 1.93 KB
/
404.php
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
<?php http_response_code(404) ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Page Not Found</title>
<style>
body {
font-family: 'Arial', sans-serif;
background-color: #f7f7f7;
margin: 0;
padding: 0;
color: #333;
}
.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
background-color: #fff;
}
.error-message {
background-color: #ff6b81;
padding: 40px 60px;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
animation: fadeIn 1s ease-in-out;
color: white;
}
.error-message h1 {
font-size: 72px;
margin: 0;
}
.error-message p {
font-size: 24px;
margin: 20px 0;
}
.error-message a {
text-decoration: none;
color: #fff;
background-color: #6c5ce7;
padding: 10px 20px;
font-size: 18px;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.error-message a:hover {
background-color: #5a4bb1;
}
@keyframes fadeIn {
0% {
opacity: 0;
transform: translateY(30px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
</style>
</head>
<body>
<div class="container">
<div class="error-message">
<h1>404</h1>
<p>Oops! The page you're looking for cannot be found.</p>
<a href="index.php">Back to Homepage</a>
</div>
</div>
</body>
</html>