-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchatbot.html
More file actions
49 lines (42 loc) · 1.75 KB
/
chatbot.html
File metadata and controls
49 lines (42 loc) · 1.75 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chatbot Integration</title>
<!-- Add Dialogflow Messenger JavaScript -->
<!-- <script src="https://www.gstatic.com/dialogflow-console/fast/messenger/bootstrap.js?v=1"></script> -->
</head>
<body>
<style>
#chatbot-container {
position: fixed;
top: 50%;
right: 200px; /* Adjust the distance from the right edge */
transform: translateY(-50%);
z-index: 9999; /* Ensure it's above other elements */
background: linear-gradient(45deg, #FFA500, #FF6347); /* Adjust shades of orange */
}
body{
background: linear-gradient(to right, #FF6B6B, #FFD166, #06D6A0);
/* background-image: url('https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.freepik.com%2Ffree-photos-vectors%2Fai-chat-bot-background&psig=AOvVaw0A4mMA_Y2e00vQgHKc5C3L&ust=1707716244671000&source=images&cd=vfe&opi=89978449&ved=0CBMQjRxqFwoTCOiR9_LIooQDFQAAAAAdAAAAABAY'); */
}
.chatbot img {
top: 0;
float : left;
height: 98vh;
width: 100vh;
margin-left: 20vh;
}
</style>
<div class = "chatbot">
<img src="ASSETS/195.png" alt="computer user">
</div>
<!-- <iframe width="350" height="430" allow="microphone;" src="https://console.dialogflow.com/api-client/demo/embedded/9d1547b7-65ca-40a4-9cc1-77a3ad0c77cd"></iframe> -->
<!-- This div will be replaced by the chatbot interface -->
<div id="chatbot-container">
<iframe width="350" height="430" allow="microphone;" src="https://console.dialogflow.com/api-client/demo/embedded/9d1547b7-65ca-40a4-9cc1-77a3ad0c77cd"></iframe>
<df-messenger></df-messenger>
</div>
</body>
</html>