Spaces:
Running
Running
Update index.html
Browse files- index.html +36 -33
index.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>Morshen Alpha
|
| 7 |
<link rel="manifest" href="/manifest.json">
|
| 8 |
<link rel="stylesheet" href="style.css">
|
| 9 |
<link rel="apple-touch-icon" href="/icon.png">
|
|
@@ -13,6 +13,9 @@
|
|
| 13 |
|
| 14 |
<!-- Добавленный мета тег для проверки Google -->
|
| 15 |
<meta name="google-site-verification" content="V6EqDTA9Oj9V1OfNbnBHj5RKrdcXlABD8tqfEFVUHJY" />
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
<style>
|
| 18 |
/* Общие стили */
|
|
@@ -167,39 +170,39 @@
|
|
| 167 |
iosInstallPrompt.style.display = 'none';
|
| 168 |
if (deferredPrompt) {
|
| 169 |
installButton.classList.add('pulse-animation');
|
| 170 |
-
|
| 171 |
-
}
|
| 172 |
-
|
| 173 |
-
window.addEventListener('beforeinstallprompt', (event) => {
|
| 174 |
-
event.preventDefault();
|
| 175 |
-
deferredPrompt = event;
|
| 176 |
-
installButton.style.display = 'block';
|
| 177 |
-
|
| 178 |
-
installButton.addEventListener('click', async () => {
|
| 179 |
-
deferredPrompt.prompt();
|
| 180 |
-
const { outcome } = await deferredPrompt.userChoice;
|
| 181 |
-
if (outcome === 'accepted') {
|
| 182 |
-
console.log('User accepted the install prompt');
|
| 183 |
-
} else {
|
| 184 |
-
console.log('User dismissed the install prompt');
|
| 185 |
-
}
|
| 186 |
-
deferredPrompt = null;
|
| 187 |
-
installButton.style.display = 'none';
|
| 188 |
-
installButton.classList.remove('pulse-animation'); // Удаляем класс после установки
|
| 189 |
-
});
|
| 190 |
-
});
|
| 191 |
-
|
| 192 |
-
if ('serviceWorker' in navigator) {
|
| 193 |
-
window.addEventListener('load', () => {
|
| 194 |
-
navigator.serviceWorker.register('/service-worker.js')
|
| 195 |
-
.then((registration) => {
|
| 196 |
-
console.log('Service Worker registered:', registration);
|
| 197 |
-
})
|
| 198 |
-
.catch((error) => {
|
| 199 |
-
console.log('Service Worker registration failed:', error);
|
| 200 |
-
});
|
| 201 |
-
});
|
| 202 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 203 |
</script>
|
| 204 |
</body>
|
| 205 |
</html>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Morshen Alpha - IT компания | Разработка сайтов, приложений и программного обеспечения для бизнеса</title>
|
| 7 |
<link rel="manifest" href="/manifest.json">
|
| 8 |
<link rel="stylesheet" href="style.css">
|
| 9 |
<link rel="apple-touch-icon" href="/icon.png">
|
|
|
|
| 13 |
|
| 14 |
<!-- Добавленный мета тег для проверки Google -->
|
| 15 |
<meta name="google-site-verification" content="V6EqDTA9Oj9V1OfNbnBHj5RKrdcXlABD8tqfEFVUHJY" />
|
| 16 |
+
|
| 17 |
+
<!-- Мета описание для SEO -->
|
| 18 |
+
<meta name="description" content=" создание приложений, сайтов, искусственный интеллект для бизнеса Алматы и Бишкек .">
|
| 19 |
|
| 20 |
<style>
|
| 21 |
/* Общие стили */
|
|
|
|
| 170 |
iosInstallPrompt.style.display = 'none';
|
| 171 |
if (deferredPrompt) {
|
| 172 |
installButton.classList.add('pulse-animation');
|
| 173 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 174 |
}
|
| 175 |
+
|
| 176 |
+
window.addEventListener('beforeinstallprompt', (event) => {
|
| 177 |
+
event.preventDefault();
|
| 178 |
+
deferredPrompt = event;
|
| 179 |
+
installButton.style.display = 'block';
|
| 180 |
+
|
| 181 |
+
installButton.addEventListener('click', async () => {
|
| 182 |
+
deferredPrompt.prompt();
|
| 183 |
+
const { outcome } = await deferredPrompt.userChoice;
|
| 184 |
+
if (outcome === 'accepted') {
|
| 185 |
+
console.log('User accepted the install prompt');
|
| 186 |
+
} else {
|
| 187 |
+
console.log('User dismissed the install prompt');
|
| 188 |
+
}
|
| 189 |
+
deferredPrompt = null;
|
| 190 |
+
installButton.style.display = 'none';
|
| 191 |
+
installButton.classList.remove('pulse-animation'); // Удаляем класс после установки
|
| 192 |
+
});
|
| 193 |
+
});
|
| 194 |
+
|
| 195 |
+
if ('serviceWorker' in navigator) {
|
| 196 |
+
window.addEventListener('load', () => {
|
| 197 |
+
navigator.serviceWorker.register('/service-worker.js')
|
| 198 |
+
.then((registration) => {
|
| 199 |
+
console.log('Service Worker registered:', registration);
|
| 200 |
+
})
|
| 201 |
+
.catch((error) => {
|
| 202 |
+
console.log('Service Worker registration failed:', error);
|
| 203 |
+
});
|
| 204 |
+
});
|
| 205 |
+
}
|
| 206 |
</script>
|
| 207 |
</body>
|
| 208 |
</html>
|