Severian commited on
Commit
4cbba71
·
verified ·
1 Parent(s): e104295

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +14 -13
index.html CHANGED
@@ -5,14 +5,18 @@
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
  <title>AnythingLLM Chatbot</title>
7
 
8
- <!-- Optional: Custom CSS to Remove Margins and Ensure Fullscreen -->
9
  <style>
 
10
  html, body {
11
  height: 100%;
12
  margin: 0;
13
  padding: 0;
 
14
  overflow: hidden; /* Prevent scrolling */
15
  }
 
 
16
  #chatbot-container {
17
  height: 100%;
18
  width: 100%;
@@ -24,7 +28,7 @@
24
  <!-- Chatbot Container -->
25
  <div id="chatbot-container"></div>
26
 
27
- <!-- Chatbot Embed Script -->
28
  <script
29
  data-embed-id="f873bd25-2eb1-4e69-9f13-114ca6585a5b"
30
  data-base-api-url="https://severian-anything.hf.space/api/embed"
@@ -32,19 +36,16 @@
32
  data-window-width="100vw"
33
  data-position="top-left"
34
  data-open-on-load="on"
35
- data-chat-icon="chatBubble"
36
- data-button-color="#4CAF50"
37
- data-user-bg-color="#e0f7fa"
38
- data-assistant-bg-color="#ffe0b2"
39
- data-brand-image-url="https://yourdomain.com/logo.png"
40
- data-greeting="Hello! How can I assist you today?"
41
- data-support-email="[email protected]"
42
- data-assistant-name="Support Bot"
43
- data-assistant-icon="https://yourdomain.com/assistant-icon.png"
44
- data-text-size="16px"
45
  src="https://severian-anything.hf.space/embed/anythingllm-chat-widget.min.js">
46
  </script>
47
-
48
  <!-- AnythingLLM (https://anythingllm.com) -->
49
 
50
  </body>
 
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
  <title>AnythingLLM Chatbot</title>
7
 
8
+ <!-- Custom CSS -->
9
  <style>
10
+ /* Ensure the page takes up the full viewport */
11
  html, body {
12
  height: 100%;
13
  margin: 0;
14
  padding: 0;
15
+ background-color: #000; /* Black background */
16
  overflow: hidden; /* Prevent scrolling */
17
  }
18
+
19
+ /* Optional: Center the chatbot container if needed */
20
  #chatbot-container {
21
  height: 100%;
22
  width: 100%;
 
28
  <!-- Chatbot Container -->
29
  <div id="chatbot-container"></div>
30
 
31
+ <!-- AnythingLLM Chatbot Embed Script -->
32
  <script
33
  data-embed-id="f873bd25-2eb1-4e69-9f13-114ca6585a5b"
34
  data-base-api-url="https://severian-anything.hf.space/api/embed"
 
36
  data-window-width="100vw"
37
  data-position="top-left"
38
  data-open-on-load="on"
39
+ data-user-bg-color="#FFD700" <!-- Gold color for user chat bubbles -->
40
+ data-assistant-bg-color="#FFD700" <!-- Gold color for assistant chat bubbles -->
41
+ data-button-color="#FFD700" <!-- Gold color for chat button -->
42
+ data-chat-icon="chatBubble" <!-- Chat bubble icon -->
43
+ data-brand-image-url="https://cdn.pixabay.com/photo/2017/01/31/18/59/logo-2027801_960_720.png" <!-- Stock brand image -->
44
+ data-assistant-icon="https://cdn.pixabay.com/photo/2014/04/03/10/32/robot-310526_960_720.png" <!-- Stock assistant icon -->
45
+ data-greeting="Hello! How can I assist you today?" <!-- Greeting message -->
46
+ data-text-size="16px" <!-- Text size in chat -->
 
 
47
  src="https://severian-anything.hf.space/embed/anythingllm-chat-widget.min.js">
48
  </script>
 
49
  <!-- AnythingLLM (https://anythingllm.com) -->
50
 
51
  </body>