-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNot_Supported.html
174 lines (148 loc) · 4.81 KB
/
Not_Supported.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Device Not Supported</title>
<link rel="shortcut icon" type="image/x.icon" href="favicon.ico?">
<style>
body {
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
background: #f0f0f0 url('Background.png') center/cover no-repeat; /* Set the path to your background image */
}
#container {
text-align: center;
max-width: 80%; /* Adjust the maximum width as needed */
margin: auto;
position: relative; /* Set position to relative for absolute positioning within */
background-color: white; /* White background for the container */
padding: 20px; /* Add padding for spacing inside the container */
border-radius: 10px; /* Add border-radius for rounded corners */
}
#uiCopyright {
position: fixed;
bottom: 10px;
left: 10px;
font-size: 14px;
color: #FFFFFF;
z-index: 1; /* Ensure the body is at a higher stacking order */
}
#o {
margin-top: 20px;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: flex-start;
opacity: 0;
transition: opacity 0.5s ease;
}
h1 {
color: #e74c3c;
font-size: 24px;
margin-bottom: 20px;
}
p {
color: #333;
font-size: 18px;
margin-bottom: 30px;
}
img {
max-width: 18%; /* Make the image responsive */
height: auto;
}
/* Loading overlay styles */
.loading-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #fff; /* Set the loading overlay to solid white */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 9999; /* Ensure the loading overlay is on top of everything */
}
.progress-container {
width: 200px;
height: 20px;
border: 1px solid #000;
position: relative;
overflow: hidden;
background-color: #000; /* Set progress bar color to black */
border-radius: 4px;
margin-bottom: 20px;
}
.progress-bar {
width: 100%;
height: 100%;
background-color: #fff;
position: absolute;
top: 0;
left: -100%;
animation: progress-animation 2s linear infinite;
}
@keyframes progress-animation {
0% {
left: -100%;
}
100% {
left: 100%;
}
}
.loading-text {
position: relative;
font-size: 24px;
color: #000;
font-family: 'Arial', sans-serif; /* Set font to 'Arial', sans-serif */
margin-bottom: 20px;
}
</style>
</head>
<body>
<!-- Loading overlay -->
<div class="loading-overlay">
<div class="loading-text">Loading</div>
<div class="progress-container">
<div class="progress-bar"></div>
</div>
</div>
<div id="container">
<img src="Sad Face.png" alt="Sad Face">
<h1>Sorry, Your Device Isn't Supported</h1>
<p>Apologies for any inconvenience caused. It appears that your current device is not supported. Kindly attempt to access this website using a supported device, such as a laptop or PC. Thank you for your understanding.</p>
</div>
<div id="o"></div>
<div id="uiCopyright">
© <span id="copyrightYear"></span> Jake Lofthouse ALD Print Ltd
</div>
<script>
// Hide the loading overlay when the page is fully loaded
window.addEventListener('load', function() {
var loadingOverlay = document.querySelector('.loading-overlay');
loadingOverlay.style.display = 'none';
});
var copyright = document.getElementById('uiCopyright');
copyright.style.display = 'block';
// Function to get the current year
function getCurrentYear() {
return new Date().getFullYear();
}
// Function to update the copyright year
function updateCopyrightYear() {
document.getElementById('copyrightYear').textContent = getCurrentYear();
}
// Call the function to update the copyright year
updateCopyrightYear();
</script>
<div id="animated-bg"></div>
</body>
</html>