forked from yamaha252/intergram
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
259 lines (221 loc) · 10.4 KB
/
Copy pathindex.html
File metadata and controls
259 lines (221 loc) · 10.4 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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
<!DOCTYPE html>
<html lang="en"
class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible"
content="IE=edge">
<meta name="viewport"
content="width=device-width, initial-scale=1">
<title>Telegram Chat Widget</title>
<link href="https://fonts.googleapis.com/css?family=Heebo:400,700|Oxygen:700"
rel="stylesheet">
<link rel="stylesheet"
href="page/css/style.css">
<script src="https://unpkg.com/scrollreveal@4.0.5/dist/scrollreveal.min.js"></script>
</head>
<style>
* {
scrollbar-color: #414d58 none;
scrollbar-width: 5px;
/* background-color: none; */
}
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-thumb {
background-color: #414d58;
/* background-color: none; */
}
::-webkit-scrollbar-track {
background: none;
}
</style>
<body class="is-boxed has-animations">
<div class="body-wrap boxed-container">
<header class="site-header text-light">
<div class="container">
<div class="site-header-inner">
<div class="brand header-brand">
<h1 class="m-0">
<a href="https://github.com/Kintoyyy/Telegram-Chat-Widget">
<img class="header-logo-image"
src="page/media/logo.svg"
alt="Logo">
</a>
</h1>
</div>
</div>
</div>
</header>
<main>
<section class="hero text-center text-light">
<div class="hero-bg"></div>
<div class="hero-particles-container">
<canvas id="hero-particles"></canvas>
</div>
<div class="container-sm">
<div class="hero-inner">
<div class="hero-copy">
<h1 class="hero-title mt-0">intergram / Telegram Chat Widget</h1>
<p class="hero-paragraph">
The Telegram Chat Widget is a free and customizable tool made by <a
href="https://github.com/idoco/intergram">idoco/intergram</a> that
lets website owners add a chat feature to their sites. Visitors can use it to talk to
the website owners through Telegram. It's an easy way for websites to have real-time
conversations with their users.
</p>
<div class="hero-cta">
<a class="mb-8 button button-primary button-wide-mobile"
href="https://github.com/Kintoyyy/Telegram-Chat-Widget">Github repository</a>
<a class="mb-8 button button-primary button-wide-mobile"
href="https://t.me/MikrotikHsSupportBot">Telegram Bot</a>
<!-- External button -->
<button class="mb-8 button button-primary button-wide-mobile"
type="button"
id="toggleChatButton">Open Chat Widget</button>
</div>
</div>
<div class="mockup-container">
<div class="mockup-bg">
<img src="page/media/iphone-hero-bg.svg"
alt="illustration">
</div>
<img class="device-mockup"
src="page/media/phone-hero.png"
alt="Hero">
</div>
</div>
</div>
</section>
<section class="features-extended section">
<div class="features-extended-inner section-inner">
<div class="features-extended-wrap">
<div class="container">
<div class="feature-extended">
<div class="feature-extended-image">
<div class="mockup-bg">
<img src="page/media/iphone-feature-bg-01.svg"
alt=" Feature 01 illustration">
</div>
<img class="device-mockup is-revealing"
src="page/media/chat-box.png"
alt=" Feature 01">
</div>
<div class="feature-extended-body is-revealing">
<h3 class="mt-0 mb-16">Features</h3>
<p class="m-0">
<ul>
<li>Works on any MikroTik Hotspot Portals</li>
<li>Easy access for customer support</li>
<li>Real-time chats</li>
<li>Instant support and troubleshooting</lul>
<li>Commands!</li>
</ul>
</p>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<footer class="site-footer">
<div class="footer-particles-container">
<canvas id="footer-particles"></canvas>
</div>
<!-- <div class="site-footer-top">
<section class="cta section text-light">
<div class="container-sm">
<div class="cta-inner section-inner">
<div class="cta-header text-center">
<h2 class="section-title mt-0">Stay in the know</h2>
<p class="section-paragraph">Lorem ipsum is common placeholder text used to demonstrate
the graphic elements of a document or visual presentation.</p>
<div class="cta-cta">
<a class="button button-primary button-wide-mobile"
href="#">Get early access</a>
</div>
</div>
</div>
</div>
</section>
</div> -->
<div class="site-footer-bottom">
<div class="container">
<div class="site-footer-inner">
<div class="footer-copyright">© 2023 Kintoyyy, all rights reserved - Site template from
<br>
<a style="margin-left: 5px; font-weight: bold;"
href="https://dev.to/davidepacilio/40-free-html-landing-page-templates-3gfp">
cruip.com</a>
</div>
</div>
</div>
</div>
</footer>
</div>
<script>
// Script for the external button
document.getElementById("toggleChatButton").addEventListener("click", () => {
document.dispatchEvent(new CustomEvent("chatToggled", { detail: true }))
});
// gc chat id
window.intergramId = "-987895237";
// passing the custom data
window.CustomData = {
'time&data ': new Date(),
};
window.intergramCustomizations = {
// Use an external button to toggle the chat box
useExternalButton: true,
// Title displayed when the chat is open
titleOpen: 'Chat with the Dev!',
// Style when the chat is closed, options: 'button' or 'chat'
closedStyle: 'chat',
// Avatar URL to be displayed in the closed chat (only used if closedStyle is set to 'chat')
closedChatAvatarUrl: '',
// Expiration time for the chat cookie in days. Once opened, the closed chat title will be shown as a button.
// This is relevant when closedStyle is set to 'chat'.
cookieExpiration: 1,
// Introductory message displayed to the user upon opening the chat
introMessage: 'Welcome to Telegram Chat Widget! A chat widget made for hotspot portals or any html sites!',
// Automatic help massage response
helpMessage: 'Need help? open a pull request at https://github.com/Kintoyyy/Telegram-Chat-Widget/pulls and I\'ll do my best to help you.',
// Automatic response message displayed to the user when connecting to an admin
autoResponse: 'Looking for the dev in charged🧑🦯',
// Automatic response message displayed to the user when no admin is available
autoNoResponse: 'It seems that the dev is currently not available right now (baka nag bebetime pa ata🤔)',
// Placeholder text shown in the input field where the user can type their message
placeholderText: 'Let\'s Chat!',
// Whether to display the timestamp for each chat message
displayMessageTime: true,
// Whether to display a banner at the top of the chat window
displayBanner: true,
// Main color used for the chat widget (e.g., buttons, UI elements)
mainColor: '#4234F8',
// Whether to always use a floating button for the chat, even when it's open
alwaysUseFloatingButton: true,
// Height of the chat window on desktop devices
desktopHeight: 500,
// Width of the chat window on desktop devices
desktopWidth: 370,
// Whether to enable human-readable IDs, e.g., "Guest:uh7k2z"
humanReadableIds: true
}
</script>
<script
type="text/javascript"
src="https://telegram-chat-widget-t3ez.onrender.com/js/widget.js"></script>
<script src="page/js/main.min.js"></script>
<!-- Google tag (gtag.js) -->
<script async
src="https://www.googletagmanager.com/gtag/js?id=G-D096ZGZ538"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-D096ZGZ538');
</script>
</body>
</html>