-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path404.html
102 lines (90 loc) · 3.79 KB
/
404.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 - Page Not Found</title>
<style>
body {
font-family: 'Salsa', sans-serif;
margin: 0;
padding: 0;
background-color: #FFD700; /* Saffron color */
color: #272822; /* Dark text color */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.container {
text-align: center;
}
.image-container {
margin-bottom: 20px;
/* Add circular styling to the image container */
overflow: hidden;
border-radius: 50%;
width: 150px; /* Adjust the width and height as needed */
height: 150px;
border: 2px solid #4CAF50; /* Green color */
}
#hinduImage {
/* Ensure the image takes up the full container */
width: 100%;
height: 100%;
object-fit: cover; /* Maintain aspect ratio and cover the container */
}
h1 {
color: #272822; /* Dark text color */
}
p {
color: #555;
}
.quote {
font-style: italic;
margin: 10px 0;
color: #4CAF50; /* Green color */
}
.back-to-home {
margin-top: 20px;
text-decoration: none;
color: #4CAF50; /* Green color */
font-weight: bold;
}
.back-to-home:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div class="container">
<div class="image-container">
<img src="" alt="Hindu Deity" id="hinduImage">
</div>
<h1>404 - Page Not Found</h1>
<p>We apologize, but the page you are looking for might not exist or has been moved.</p>
<p class="quote" id="quote"></p>
<a href="/" class="back-to-home">Back to Home</a>
</div>
<script>
const quotes = [
"The mind is everything. What you think, you become. - Buddha",
"The soul is neither born, and nor does it die. - Bhagavad Gita",
"The power of God is with you at all times; through the activities of mind, senses, breathing, and emotions; and is constantly doing all the work using you as a mere instrument. - Bhagavad Gita",
"Whenever there is a decline in righteousness and an increase in unrighteousness, at that time I manifest myself on earth. To protect the righteous, to annihilate the wicked, and to reestablish the principles of dharma, I appear millennium after millennium.",
"Aham Brahmasmi: This phrase emphasizes the divine nature within each individual, highlighting the interconnectedness of all existence.",
"Tat Tvam Asi: This phrase from the Upanishads signifies the oneness of the individual soul (Atman) with the universal soul (Brahman), emphasizing the unity of all existence.",
];
const godImages = [
"https://raw.githubusercontent.com/PrakharDoneria/Indian-Sanatan/main/assets/img1.png",
"https://storage.googleapis.com/pai-images/000324ba27414a408b337cf37b309869.png",
"https://storage.googleapis.com/pai-images/92fbc82f3b99436aa8fae500bc1b9672.png",
// ADD MORE AI GENERATED IMAGES IF YOU WANT BUT SHOULD NOT NE UNDER COPYRIGHT
];
const getRandomElement = (array) => array[Math.floor(Math.random() * array.length)];
document.getElementById('quote').innerText = getRandomElement(quotes);
document.getElementById('hinduImage').src = getRandomElement(godImages);
</script>
</body>
</html>