-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathindex.html
25 lines (22 loc) · 1023 Bytes
/
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
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet"
/>
</head>
<script src="./dist/index.umd.js" defer></script>
<!-- Edit config below to customize the widget -->
<script>
window.addEventListener("load", () => {
window.buildShipChatWidget.config.widgetTitle = "Chatbot";
window.buildShipChatWidget.config.greetingMessage =
"Hello there! Here's a super long greeting.\n\nJust to see how you'd handle multiple lines and linebreaks.";
window.buildShipChatWidget.config.url = "";
window.buildShipChatWidget.config.openOnLoad = true;
});
</script>
<body data-theme="light" style="font-family: 'Roboto'">
<button data-buildship-chat-widget-button style="position: absolute; right: 0; bottom: 0;">Button</button>
</body>