-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
233 lines (195 loc) · 7.38 KB
/
index.html
File metadata and controls
233 lines (195 loc) · 7.38 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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<!--
@package Localzet Meet
@link https://meet.localzet.com
@link https://github.com/localzet-dev/Meet
@author Ivan Zorin <creator@localzet.com>
@copyright Copyright (c) 2018-2024 Zorin Projects S.P.
@license https://www.gnu.org/licenses/agpl-3.0 GNU Affero General Public License v3.0
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
For any questions, please contact <creator@localzet.com>
-->
<!DOCTYPE html>
<html lang="ru" prefix="og: http://ogp.me/ns#">
<head>
<base href="">
<title>
Localzet Meet
</title>
<!-- About App -->
<meta name="application-name" content="Localzet Meet">
<meta name="language" content="RU">
<meta name="robots" content="index,follow">
<meta name="title" content="Localzet Meet">
<!-- About Creator App -->
<meta name="owner" content="Localzet Group">
<meta name="author" content="Ivan Zorin (ivan@zorin.space)">
<meta name="copyright" content="Zorin Projects S.P.">
<meta name="reply-to" content="support@localzet.com">
<!-- About System -->
<meta name="generator" content="Triangle Framework">
<meta name="server" content="GitHub Pages">
<!-- Cache&Content -->
<meta http-equiv="Expires" content="60" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Apple Meta Tags -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<!-- SEO -->
<link rel="icon" href="https://cdn.localzet.com/assets/media/meet/meet.png">
<meta name="color-scheme" content="dark light">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#12121200">
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff00">
<!-- Fonts -->
<link rel="stylesheet" type="text/css"
href="https://fonts.googleapis.com/css?family=Nunito:100,200,300,400,500,600,700,800,900">
<style>
body {
background-color: #000;
font-family: Nunito, monospace !important;
font-weight: 600;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
overflow: hidden;
}
main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: calc(-50px + -2rem);
}
main img {
display: block;
-webkit-user-select: none;
transition: background-color 300ms;
max-width: 512px;
width: 12rem;
}
main h1 {
margin: 0;
color: #7b69c8;
/* font-size: 8.8rem; */
font-size: 4rem;
}
main span {
color: #FF7E00;
font-size: 1.5rem;
/* margin-top: -38px; */
}
footer {
position: fixed;
bottom: 0;
width: 100%;
margin-bottom: 5px;
}
nav {
text-align: center;
}
nav a {
text-decoration: none !important;
margin: 0 3px;
display: inline-block;
}
footer nav a {
color: #6e7681;
margin: 0 3px;
}
nav a b {
color: #7b69c8;
}
hr {
border-color: #7b69c8;
border-radius: 50%;
width: 100%;
}
@media (max-width: 600px) {
main {
margin-top: calc(-50px + -12rem);
}
main img {
margin: auto 5%;
width: 80%;
height: auto;
}
}
button {
background: #000;
border: #7b69c8 solid 2px;
color: #c1c1c1;
border-radius: 10px;
font-size: 1rem;
padding: 10px;
margin: 30px 10px;
cursor: pointer;
font-weight: 600;
}
button:hover {
/* border: #000 solid 2px; */
background: #7b69c8;
color: #000;
}
</style>
<script>
function getParameterByName(name, url = window.location.href) {
name = name.replace(/[\[\]]/g, '\\$&');
var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'),
results = regex.exec(url);
if (!results) return null;
if (!results[2]) return '';
return decodeURIComponent(results[2].replace(/\+/g, ' '));
}
window.onload = function () {
var meetingCode = getParameterByName('meetingCode');
var contentDiv = document.getElementById('content');
if (meetingCode) {
contentDiv.innerHTML = `
<img alt="Logo" src="https://cdn.localzet.com/assets/media/meet/meet.png">
<h1>Localzet Meet</h1>
<span>Вас пригласили подключиться к конференции!</span>
<nav>
<button onclick="window.location.href='https://localzet-dev.github.io/Meet/app-release.apk'" class="btn btn-primary mx-1">Скачать приложение</button>
<button onclick="window.location.href='https://meet.jit.si/${meetingCode}'" class="btn btn-primary mx-1">Подключиться в Jitsi</button>
</nav>
`;
} else {
contentDiv.innerHTML = `
<img alt="Logo" src="https://cdn.localzet.com/assets/media/meet/meet.png">
<h1>Localzet Meet</h1>
<span>Совещайтесь и работайте дистанционно</span>
<nav>
<button onclick="window.location.href='https://localzet-dev.github.io/Meet/app-release.apk'" class="btn btn-primary mx-1">Скачать для Андроид</button>
</nav>
`;
}
};
</script>
</head>
<body>
<main id="content">
</main>
<footer>
<hr />
<nav>
<a href="https://www.localzet.com">Copyright 2024 <b>Localzet Group</b></a>
<a href="https://github.com/localzet/server">Powered by <b>Localzet Server</b></a>
</nav>
</footer>
</body>