TheVera commited on
Commit
3ccae7a
·
verified ·
1 Parent(s): d3f5a0d

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +41 -21
index.html CHANGED
@@ -4,30 +4,51 @@
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Advanced Chatbot</title>
7
- <link rel="stylesheet" href="style.css">
 
8
  <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
9
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
10
  </head>
 
11
  <body>
12
- <div class="container">
13
- <!-- Left Sidebar (Blue Heading Area) -->
14
- <div class="sidebar">
15
- <h1>Chatbot</h1>
16
- <div class="header-icons">
17
- <i class="fas fa-sign-in-alt icon" id="loginBtn" title="Login"></i>
18
- <i class="fas fa-sync-alt icon" id="startNewBtn" title="Start New"></i>
19
- </div>
20
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
21
 
22
- <!-- Right Side (Chat Area) -->
23
- <div class="chat-section">
24
- <div class="chat-history" id="chatHistory">
25
- <!-- Chat history will be loaded here -->
26
- </div>
27
- <div class="input-container">
28
- <textarea id="userInput" rows="1" placeholder="Type your message..."></textarea>
29
- <button id="sendMessageBtn" onclick="sendMessage()">Send</button>
30
- <i class="fas fa-microphone icon" id="voiceInputBtn" title="Voice Input"></i>
 
 
 
 
 
 
 
31
  </div>
32
  </div>
33
  </div>
@@ -35,4 +56,3 @@
35
  <script src="script.js"></script>
36
  </body>
37
  </html>
38
-
 
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Advanced Chatbot</title>
7
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
8
+ <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
9
  <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
10
+ <link rel="stylesheet" type="text/css" href="style.css">
11
  </head>
12
+
13
  <body>
14
+ <div class="container-fluid h-100">
15
+ <div class="row justify-content-center h-100">
16
+ <div class="col-md-8 col-xl-6 chat">
17
+ <div class="card">
18
+ <!-- Sidebar with Header -->
19
+ <div class="card-header msg_head">
20
+ <div class="d-flex bd-highlight">
21
+ <div class="img_cont">
22
+ <img src="https://i.ibb.co/fSNP7Rz/icons8-chatgpt-512.png" class="rounded-circle user_img">
23
+ <span class="online_icon"></span>
24
+ </div>
25
+ <div class="user_info">
26
+ <span>Chatbot</span>
27
+ <p>Ask your questions!</p>
28
+ </div>
29
+ <div class="header-icons ml-auto">
30
+ <i class="fas fa-sign-in-alt icon" id="loginBtn" title="Login"></i>
31
+ <i class="fas fa-sync-alt icon" id="startNewBtn" title="Start New"></i>
32
+ </div>
33
+ </div>
34
+ </div>
35
 
36
+ <!-- Chat History Area -->
37
+ <div class="card-body msg_card_body" id="chatHistory">
38
+ <!-- Chat history will be dynamically loaded here -->
39
+ </div>
40
+
41
+ <!-- Message Input Area -->
42
+ <div class="card-footer">
43
+ <form id="messageArea" class="input-group">
44
+ <textarea id="userInput" rows="1" class="form-control type_msg" placeholder="Type your message..."></textarea>
45
+ <div class="input-group-append">
46
+ <button id="sendMessageBtn" class="input-group-text send_btn"><i class="fas fa-location-arrow"></i></button>
47
+ </div>
48
+ <i class="fas fa-microphone icon" id="voiceInputBtn" title="Voice Input"></i>
49
+ </form>
50
+ </div>
51
+ </div>
52
  </div>
53
  </div>
54
  </div>
 
56
  <script src="script.js"></script>
57
  </body>
58
  </html>