mirror of
https://github.com/nomadic-labs/safesupport-chatbox
synced 2024-11-14 22:55:06 +00:00
28 lines
638 B
HTML
28 lines
638 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Embeddable Chatbox Demo</title>
|
|
</head>
|
|
<body>
|
|
<p style="font-family:sans-serif; padding: 3rem 5rem;">Look down!</p>
|
|
|
|
<script src="./widget.js"></script>
|
|
<script>
|
|
var theme = {
|
|
themeColor: "#008080",
|
|
lightColor: "#FFF8F0",
|
|
darkColor: "#22333B",
|
|
errorColor: "#FFFACD",
|
|
font: "'Assistant', 'Helvetica', sans-serif",
|
|
placement: "right"
|
|
};
|
|
|
|
EmbeddableWidget.mount({
|
|
matrixServerUrl: "https://matrix.rhok.space",
|
|
roomName: "Support Chat",
|
|
theme: theme
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|