-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
83 lines (83 loc) · 2.66 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" type="image/svg+xml" href="https://lantechgames.org/favicon.svg">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lantech Games Redirect</title>
<style>
body {
margin: 0;
font-family: Arial, sans-serif;
background: linear-gradient(135deg, #3f3d8f, #241e4e);
color: #ffffff;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
}
.container {
max-width: 600px;
padding: 20px;
border-radius: 15px;
background-color: rgba(0, 0, 0, 0.5);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
h1 {
font-size: 2em;
margin-bottom: 20px;
}
p {
font-size: 1.2em;
margin-bottom: 30px;
}
.button-container {
display: flex;
gap: 20px;
justify-content: center;
}
.button {
display: inline-block;
padding: 12px 20px;
font-size: 1em;
font-weight: bold;
color: #ffffff;
text-decoration: none;
border-radius: 8px;
transition: background 0.3s;
}
.button.download {
background-color: #6f52ed;
}
.button.download:hover {
background-color: #5a42bf;
}
.button.games {
background-color: #3d8f8f;
}
.button.games:hover {
background-color: #327373;
}
</style>
</head>
<body>
<div class="container">
<h1>Lantech Games Redirect Page</h1>
<p>An error occurred when opening the Lantech Games application. Open this page after installing the Lantech Games or try again.</p>
<div class="button-container">
<a href="https://lantechgames.org/download" class="button download">Download Lantech Games</a>
<a href="javascript:window.location.href=window.location.href;" class="button games">Try again</a>
</div>
</div>
</body>
<script>
if (navigator.userAgent.toLowerCase().includes('android')) {
// Получаем текущий путь и параметры
const currentPath = window.location.pathname + window.location.search;
// Формируем URL для Intent
const intentUrl = `intent://app-lantech.netlify.app${currentPath}#Intent;scheme=https;package=com.lantech.launcher;end`;
window.location.href = intentUrl;
}
</script>
</html>