-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
121 lines (118 loc) · 3 KB
/
test.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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Enhanced HTML Theme</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
/>
<style>
body {
font-family: 'Arial', sans-serif;
margin: 20px;
background-color: #f0f0f0;
color: #333;
}
h1,
h2 {
color: #0056b3;
text-align: center;
}
h1 {
font-size: 2.5em;
margin-bottom: 20px;
}
h2 {
font-size: 1.8em;
margin: 20px 0;
}
ul,
ol,
menu {
margin-left: 20px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
ul li,
ol li,
menu li {
margin: 10px 0;
padding: 5px;
}
ul li {
list-style-type: disc;
color: #007bff;
}
ol li {
list-style-type: decimal;
color: #ff5733;
}
menu li {
list-style-type: square;
color: #28a745;
}
ul.fancy-list li:before {
content: '\f00c';
font-family: 'FontAwesome';
margin-right: 10px;
color: #007bff;
}
ol.fancy-list li:before {
content: '\f058';
font-family: 'FontAwesome';
margin-right: 10px;
color: #ff5733;
}
menu.fancy-list li:before {
content: '\f00d';
font-family: 'FontAwesome';
margin-right: 10px;
color: #28a745;
}
</style>
</head>
<body>
<h1>Test Page</h1>
<h2>Unordered List</h2>
<ul class="fancy-list">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
<h2>Ordered List</h2>
<ol class="fancy-list">
<li>First</li>
<li>Second</li>
<li>Third</li>
</ol>
<h2>Menu List</h2>
<menu class="fancy-list">
<li>Menu Item 1</li>
<li>Menu Item 2</li>
<li>Menu Item 3</li>
</menu>
<script>
// Manually set the domain URL for local and production environments
const localScriptUrl = 'http://localhost:3000'
const prodScriptUrl = 'https://ollabot-frontend-nine.vercel.app'
// Configure the chatbot with the appropriate domain and botId
window.embeddedChatbotConfig = {
// Uncomment the appropriate domain based on your current environment
domain: prodScriptUrl,
// domain: prodScriptUrl,
botId: '90a888e6-806f-48d4-91a4-c37cbde41653',
}
// Dynamically set the script source based on the selected domain
const scriptUrl = window.embeddedChatbotConfig.domain
// Create and append the script element
const script = document.createElement('script')
script.src = `${scriptUrl}/scripts/embed.min.js`
document.body.appendChild(script)
</script>
</body>
</html>