-
Notifications
You must be signed in to change notification settings - Fork 20
/
index.html
274 lines (211 loc) · 13.1 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
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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<script src="https://kit.fontawesome.com/a658a7b479.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<link rel="icon" href="./static/img/icon.png">
<link rel="stylesheet" href="./static/demo_bot/chatbot-ui.css">
<link rel="stylesheet" href="./static/prism.css" />
<link rel="stylesheet" href="./static/styles.css">
<title>Chatbot UI</title>
</head>
<body>
<div class="hero" id="hero">
<nav class="navbar navbar-expand-lg navbar-light ">
<div class="container">
<a class="navbar-brand" href="#hero"><i class="fas fa-atom"></i> Chatbot <span>UI</span> </a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link text-white hover" href="#features">Features</a>
</li>
<li class="nav-item active">
<a class="nav-link text-white font-weight-bold hover" href="#get-started">Get Started</a>
</li>
<li class="nav-item">
<a class="nav-link text-white hover" href="#themes-and-upgrades">Themes And Upgrades</a>
</li>
<li class="nav-item">
<a class="nav-link text-white hover" target="_blank" href="https://github.com/Elysian01/Chatbot-UI">Repo</a>
</li>
</ul>
</div>
</div>
</nav>
<br>
<div class="hero-content">
<div class="hero-bot mobile">
<img src="./static/img/homepage-bot.png " alt="Bot Image ">
</div>
<div data-aos="fade-down-right" data-aos-duration="1000" class="hero-header">
<h1>Get your hands on our<br><span class="primary-color"> Ready-to-use UI Designs</span><br> for your Rasa bots!</h1>
<br />
<p>
Looking for UI Designs for your rasa chatbot with alluring colours and responsive features? Look no further! Explore our available designs in different colour schemes and ensure smooth traversal across all devices. Don't like the available designs? Don't
you worry! Customize themes and colours according to your liking very quickly and easily.
</p>
<br>
<h3><span class="primary-color cachy-line">Embed. Customize. Repeat.</span></h3>
<div class="btns">
<a href="#get-started"><button class="btn-green">Get Started</button></a>
<a href="Chatbot-UI.zip" download><button class="btn-green ">Download</button></a>
</div>
</div>
<div data-aos="fade-up-left" data-aos-duration="1000" class="hero-bot desktop ">
<img src="./static/img/homepage-bot.png " alt="Bot Image ">
</div>
</div>
<br>
</div>
<div id="features">
<h1 class="section-title"><span class="primary-color ">Features</span></h1><br>
<div class="container">
<div class="card-outer-container">
<div data-aos="fade-right" data-aos-duration="800" class="card feature-card" style="width: 18rem;background-color: rgb(48,90,117);color:white ">
<div class="card-body">
<i class="fa-3x fa fa-desktop mb-3" aria-hidden="true "></i>
<br>
<h5 class="card-title">EASY TO USE</h5>
<p class="card-text">By just embedding few lines of code, get ready-to-use ChatBot UI designs! It's as simple as that.</p>
</div>
</div>
<div data-aos="zoom-in" data-aos-duration="800" class="card feature-card" style="width: 18rem;background-color: rgb(14,55,74);color:white ">
<div class="card-body">
<i class="fa-3x fa fa-trophy mb-3" aria-hidden="true"> </i>
<br>
<h5 class="card-title">AWESOME DESIGN</h5>
<p class="card-text">Attractive designs with spectacular colour schemes available alongside responsive features for you at your fingertips! </p>
</div>
</div>
<div data-aos="fade-left" data-aos-duration="800" class="card feature-card" style="width: 18rem;background-color: rgb(48,90,117);color:white ">
<div class="card-body">
<i class="fa-3x fa fa-magic mb-3" aria-hidden="true"></i>
<br>
<h5 class="card-title">EASY TO CUSTOMIZE</h5>
<p class="card-text">Explore different colour schemes and designs available for you. You can also customize it according to your taste!</p>
</div>
</div>
</div>
</div>
</div>
<br><br>
<div id="get-started" class="dark-bg">
<br>
<h1 class="text-center text-white">Getting <span class="primary-color">Started</span></h1><br>
<br>
<div class="container">
<h3 data-aos="fade-right" data-aos-duration="500" class="text-white text-center">Copy-paste the stylesheet <span class="primary-color "><link></span> into your <span class="primary-color "><head></span> before all other stylesheets to load our CSS.</h3>
<br>
<pre>
<code class="language-js language-markup">
<link rel="stylesheet " href="https://drive.google.com/uc?id=1x2TCnJdXTQFErgZhxjMUWKIIfIfSbIy-">
</code>
</pre>
<br>
<h3 data-aos="fade-right" data-aos-duration="500" class="text-white text-center">Copy-paste the folowing code into your <span class="primary-color "><body></span>, and update the function parameters to your need. </h3>
<br>
<pre>
<code class=" language-js language-markup ">
<div id="chat-container"></div>
<script src="https://drive.google.com/uc?id=1QslZLwqbJl471otp1Ph1y8MLHSzKqCPl"></script>
<script>
createChatBot(host = 'http://localhost:5005/webhooks/rest/webhook',
botLogo = "./imgs/bot-logo2.png ",
title = "Covid BOT ", welcomeMessage = "Hey, i am Covid Bot ",
inactiveMsg = "Server is down, Please contact the developer to activate it ",
theme="blue ")
</script>
</code>
</pre>
<div class="row ">
<div class="col-12 col-sm-12 col-md-12 col-lg-6 col-xl-6 ">
<ul class="list-group list-group-left">
<li data-aos="fade-right" data-aos-duration="500" class="list-group-item list-group-item-left ">
<b class="arrow ">>></b> <span class="title ">createChatbot: </span>To initailize & set various aspects of chatbot</li>
<li data-aos="fade-right" data-aos-duration="700" class="list-group-item list-group-item-left ">
<b class="arrow ">>></b> <span class="title ">host: </span> The URL of hosted chatbot</li>
<li data-aos="fade-right" data-aos-duration="850" class="list-group-item list-group-item-left ">
<b class="arrow ">>></b> <span class="title ">botLogo: </span> Logo Of the Bot</li>
<li data-aos="fade-right" data-aos-duration="1000" class="list-group-item list-group-item-left ">
<b class="arrow ">>></b> <span class="title ">title: </span>The title which will appear on the header of chatbot</li>
</ul>
</div>
<div class="col ">
<ul class="list-group list-group-right">
<li data-aos="fade-left" data-aos-duration="600" class="list-group-item list-group-item-left ">
<b class="arrow ">>></b> <span class="title ">welcomeMessage: </span>Starting Message shown to the user, can be any greeting or information</li>
<li data-aos="fade-left" data-aos-duration="750" class="list-group-item list-group-item-left ">
<b class="arrow ">>></b> <span class="title ">inactiveMsg: </span>When bot server is down or unreachable this message will be shown</li>
<li data-aos="fade-left" data-aos-duration="900" class="list-group-item list-group-item-left ">
<b class="arrow ">>></b> <span class="title ">theme: </span>Color of header, bot message and overall layout, there are two inbuilt theme for bot, blue and purple</li>
</ul>
</div>
</div>
</div>
</div>
<br>
<div id="themes-and-upgrades">
<h1 class="section-title ">Themes And <span class="primary-color ">Upgrades</span></h1><br>
<div class="container ">
<h3 class="text-center ">There are currently two themes present, <span style="color:blue; ">BLUE</span> and <span style="color: purple; ">PURPLE</span>, You can choose anyone by setting the theme parameter in the function call.</h3>
<br>
<div class="theme-examples ">
<img data-aos="fade-right" data-aos-duration="700" src="./static/img/blue-theme.png " alt="Blue Theme Image ">
<img data-aos="fade-left" data-aos-duration="700" src="./static/img/purple-theme.png " alt="Purple Theme Image ">
</div>
<br><br>
<div class="dark-card ">
You can customize or built your own theme, layout design, or any other functionalities by taking this as a base project, click below to download the source files.
</div>
<br>
<div class="text-center">
<a href="Chatbot-UI.zip" download><button type="button"
class="btn btn-dark btn-lg mx-auto btn-margin" type="button">
<i class="fas fa-download"> </i>
Download Package
</button></a>
<a href="https://github.com/Elysian01/ChatBot-Web-Integration" target="_blank"><button type="button"
class="btn btn-dark btn-lg mx-auto">
<i class="fab fa-github"> </i>
OPEN SOURCE PROJECT ON
GITHUB
</button></a>
</div>
</div>
</div>
<!-- Themes and Upgrade Section Completed -->
<br><br>
<div class="p-2 bg-warning font-weight-bold text-dark text-center bottom-0">You can contact us via <a href="mailto:[email protected] " class="text-danger ">[email protected]</a></div>
<!-- <footer class="dark-bg ">
<h2 class="text-white ">Made By:</h2>
<h2><a class="primary-color " target="_blank " href="https://www.linkedin.com/in/abhishek-gupta-a745221a0/ ">Abhishek Gupta</a></h2>
<h2><a class="primary-color " target="_blank " href="https://www.linkedin.com/in/ansh-chhadva-ab3902183/ ">Ansh Chhadva</a></h2>
</footer> -->
<!-- Chat Bot -->
<div id="chat-container"></div>
<script src="./static/demo_bot/chatbot-ui.js"></script>
<script>
createChatBot(host = 'http://localhost:5005/webhooks/rest/webhook',
botLogo = "./static/img/bot-logo.png",
title = "UI BOT", welcomeMessage = "Hey, i am UI Bot, I am here to give you an example UI",
inactiveMsg = "This is inactive message, show casing that the server is down"
)
</script>
<!-- <div class="aos-init" data-aos="zoom-in-up" data-aos-duration="3000"></div> -->
<script src="./static/prism.js "></script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js " crossorigin="anonymous "></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js " integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s " crossorigin="anonymous "></script>
<script src="https://unpkg.com/aos@next/dist/aos.js "></script>
<script>
AOS.init();
</script>
<script>
$('[data-aos]').parent().addClass('hideOverflowOnMobile');
</script>
</body>
</html>