-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
120 lines (92 loc) · 4.76 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
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
<!DOCTYPE html>
<html lang="fa" class="light-style" dir="rtl" data-theme="theme-default" data-assets-path="assets/" data-template="vertical-menu-template-no-customizer">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<title>BlueBot | بلوبات</title>
<meta name="description" content="">
<script src="https://telegram.org/js/telegram-web-app.js"></script>
<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="assets/img/favicon/favicon.ico">
<!-- Icons -->
<link rel="stylesheet" href="assets/vendor/fonts/boxicons.css">
<link rel="stylesheet" href="assets/vendor/fonts/fontawesome.css">
<link rel="stylesheet" href="assets/vendor/fonts/flag-icons.css">
<!-- Core CSS -->
<link rel="stylesheet" href="assets/vendor/css/rtl/core.css">
<link rel="stylesheet" href="assets/vendor/css/rtl/theme-default.css">
<link rel="stylesheet" href="assets/css/demo.css">
<link rel="stylesheet" href="assets/vendor/css/rtl/rtl.css">
<!-- Vendors CSS -->
<link rel="stylesheet" href="assets/vendor/libs/perfect-scrollbar/perfect-scrollbar.css">
<link rel="stylesheet" href="assets/vendor/libs/typeahead-js/typeahead.css">
<!-- Page CSS -->
<!-- Page -->
<link rel="stylesheet" href="assets/vendor/css/pages/page-misc.css">
<!-- Helpers -->
<script src="assets/vendor/js/helpers.js"></script>
<!--! Template customizer & Theme config files MUST be included after core stylesheets and helpers.js in the <head> section -->
<!--? Config: Mandatory theme config file contain global vars & default theme options, Set your preferred theme option in this file. -->
<script src="assets/vendor/js/config.js"></script>
<meta name="enamad" content="53770166" />
</head>
<body>
<!-- Content -->
<div></div>
<!-- Under Maintenance -->
<div class="container-xxl py-3">
<div class="misc-wrapper">
<div class="mt-4">
<img src="assets/duck.gif" alt="boy-with-rocket-light" width="200" class="img-fluid" data-app-light-img="assets/duck.gif" data-app-dark-img="assets/duck.gif">
</div>
<h1 class="mb-2 mx-2 secondary-font">بلوبات به زودی ...</h1>
<p class="mb-5 mx-2">ایمیل خودتو ثبت کن تا وقتی اومدیم رو آنتن با خبرت کنیم </p>
<form id="email-form">
<div class="mb-0">
<div class="input-group">
<input id="email-input" type="text" class="form-control text-start" dir="ltr" placeholder="ایمیل" autofocus>
<button type="submit" onclick="window.Telegram.WebApp.requestContact()" class="btn btn-primary">اطلاع بده</button>
</div>
</div>
</form>
<div id="notification" class="mt-3" style="display: none; color: green;">
ثبت شد به زودی میایم رو آنتن :)
</div>
</div>
</div>
<!-- /Under Maintenance -->
<!-- / Content -->
<!-- Core JS -->
<!-- build:js assets/vendor/js/core.js -->
<script src="assets/vendor/libs/jquery/jquery.js"></script>
<script src="assets/vendor/libs/popper/popper.js"></script>
<script src="assets/vendor/js/bootstrap.js"></script>
<script src="assets/vendor/libs/perfect-scrollbar/perfect-scrollbar.js"></script>
<script src="assets/vendor/libs/hammer/hammer.js"></script>
<script src="assets/vendor/libs/i18n/i18n.js"></script>
<script src="assets/vendor/libs/typeahead-js/typeahead.js"></script>
<script src="assets/vendor/js/menu.js"></script>
<!-- endbuild -->
<!-- Vendors JS -->
<!-- Main JS -->
<script src="assets/js/main.js"></script>
<!-- Page JS -->
<script>
document.getElementById('email-form').addEventListener('submit', function(event) {
event.preventDefault(); // جلوگیری از ارسال فرم
var emailInput = document.getElementById('email-input');
var notification = document.getElementById('notification');
// نمایش نوتیفیکیشن
notification.style.display = 'block';
// خالی کردن فیلد ایمیل
emailInput.value = '';
// مخفی کردن نوتیفیکیشن پس از 5 ثانیه
setTimeout(function() {
notification.style.display = 'none';
}, 5000);
});
window.onload = window.Telegram.WebApp.expand();
document.addEventListener("DOMContentLoaded", window.Telegram.WebApp.expand());
</script>
</body>
</html>