EventBuzz_Backend/public/embed-demo.html

26 lines
871 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>EventBuzz Concierge Widget Demo</title>
</head>
<body style="font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial; padding: 24px;">
<h1>Concierge widget demo</h1>
<p>Set a real bot id below.</p>
<p style="color:#6b7280; font-size:14px; max-width:40rem;">
To reopen a prior chat, append the WebChatSessions document id:
<code>?session=&lt;mongoObjectId&gt;</code>
(the public <code>sessionId</code> string also works).
</p>
<script>
window.EB_CONCIERGE = {
botId: "6a61ddf778df0ea305244efc",
apiBase: (location.origin.replace(/\/$/, "") + "/api"),
};
</script>
<script async src="/embed/concierge-widget.js"></script>
</body>
</html>