Repository navigation
Expand file tree
/
Copy path404.html
More file actions
179 lines (155 loc) · 5.6 KB
/
Copy path404.html
File metadata and controls
179 lines (155 loc) · 5.6 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no">
<title>Page Not Found - Ashraya Trust</title>
<meta name="description" content="The page you requested could not be found on the Ashraya Trust website.">
<!-- Link to your main stylesheet -->
<link href="app.min.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!-- ② fetch the CSS file ASAP, but don’t block render -->
<link rel="preload"
href="https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600&display=swap"
as="style"
onload="this.rel='stylesheet'">
<noscript>
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600&display=swap">
</noscript>
<!-- Font Awesome -->
<script defer src="https://kit.fontawesome.com/bc406c0a10.js" crossorigin="anonymous"></script>
<!-- Favicon -->
<link rel="shortcut icon" href="images/favicon.webp">
<link rel="preload" href="images/Ashraya-logo.webp" as="image">
<style>
body { font-family: "Nunito", sans-serif; }
/* Specific styles for the 404 page */
:root { /* Define variables here if not reliably loaded from app.css */
--brand-red: #A70D17;
--brand-green: #00B095;
--brand-dark-grey: #404041;
--white: #fff;
--brand-light-grey: #f8f9fa;
}
html, body {
height: 100%;
margin: 0;
font-family: "Nunito", sans-serif; /* Match site font */
}
body {
display: flex;
flex-direction: column;
background-color: var(--brand-light-grey); /* Light background */
color: var(--brand-dark-grey);
}
.error-container {
text-align: center;
padding: 3rem 1rem;
flex-grow: 1; /* Pushes footer down */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
max-width: 700px; /* Limit content width */
margin: 0 auto; /* Center container */
}
.error-logo img {
max-height: 80px; /* Adjust logo size */
margin-bottom: 2rem;
}
.error-icon {
font-size: 4rem; /* Large icon */
color: #ffc107; /* Standard warning color */
margin-bottom: 1.5rem;
animation: pulse-warning 2s infinite ease-in-out;
}
@keyframes pulse-warning {
0% { transform: scale(1); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}
.error-container h1 {
color: var(--brand-red);
font-size: 2.2em; /* Slightly smaller than main site H1 */
font-weight: 700; /* Bold */
margin-bottom: 1rem;
}
.error-container p {
color: #555; /* Darker grey for readability */
font-size: 1.1rem;
line-height: 1.7;
margin-bottom: 1.5rem;
}
/* Button style matching .btn-donate */
.btn-home {
display: inline-block;
font-weight: 600; /* Demi-bold */
text-align: center;
vertical-align: middle;
user-select: none;
background-color: var(--brand-green);
border: 1px solid var(--brand-green);
padding: 0.8rem 2rem;
font-size: 1.1rem;
line-height: 1.5;
border-radius: 25px; /* Pill shape */
color: var(--white) !important; /* Ensure text is white */
text-decoration: none;
transition: background-color 0.2s ease, border-color 0.2s ease;
cursor: pointer;
}
.btn-home:hover {
background-color: #008a75; /* Darker green */
border-color: #008a75;
color: var(--white) !important;
text-decoration: none;
}
.btn-home i {
margin-right: 8px;
}
/* Minimal Footer */
.error-footer {
text-align: center;
padding: 1rem;
font-size: 0.9em;
color: #6c757d;
background-color: #e9ecef; /* Light grey background */
border-top: 1px solid #dee2e6;
margin-top: auto; /* Sticks to bottom */
}
.error-footer a {
color: var(--brand-red);
}
</style>
</head>
<body>
<div class="error-container">
<div class="error-logo">
<a href="index.html">
<img src="images/Ashraya-logo.webp" alt="Ashraya Trust Logo">
</a>
</div>
<div class="error-icon">
<i class="fas fa-unlink"></i> <!-- Or fa-compass, fa-exclamation-triangle -->
</div>
<h1>404 - Page Not Found</h1>
<p>
We're sorry, but the page you are looking for cannot be found. It might have been moved, renamed, or it never existed.
</p>
<p>
Let's get you back to exploring the work of Us.
</p>
<a href="index.html" class="btn-home demi">
<i class="fas fa-home"></i>Go to Homepage
</a>
</div>
<footer class="error-footer">
© <span id="copyright-year"></span> Ashraya Trust. All Rights Reserved. | <a href="contact.html">Contact Us</a>
</footer>
<script>
// Dynamic Copyright Year (minimal JS needed)
document.getElementById('copyright-year').textContent = new Date().getFullYear();
</script>
</body>
</html>