-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintro.html
More file actions
50 lines (44 loc) · 1.25 KB
/
intro.html
File metadata and controls
50 lines (44 loc) · 1.25 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
<!DOCTYPE html>
<html>
<head>
<script>
// Use current origin if remote, fallback to public site if running as a local file
const isLocal = window.location.protocol === 'file:';
const baseUrl = isLocal ? 'https://lithic.uk' : window.location.origin;
const landingPage = isLocal ? 'https://lithic.uk' : '/';
const targetUrl = `${landingPage}?url=${baseUrl}/intro.lith`;
window.location.replace(targetUrl);
</script>
<title>Redirecting to Lithic Introduction...</title>
<style>
body {
margin: 0;
height: 100vh;
background: #1a1a1a;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.spinner {
width: 50px;
height: 50px;
border: 4px solid #404040;
border-top: 4px solid #8ab4f8;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<div class="spinner"></div>
</body>
</html>