2020-08-13 01:28:25 -07:00
|
|
|
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
|
|
|
|
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet" />
|
2020-08-19 00:16:35 -07:00
|
|
|
<!-- <link href="./styles/layout.css" rel="stylesheet" /> -->
|
2020-08-17 09:00:36 -07:00
|
|
|
<link href="./styles/chat.css" rel="stylesheet" />
|
|
|
|
<link href="./styles/standalone-chat.css" rel="stylesheet" />
|
|
|
|
|
|
|
|
|
2020-08-13 01:49:10 -07:00
|
|
|
<script src="//unpkg.com/showdown/dist/showdown.min.js"></script>
|
2020-08-13 01:28:25 -07:00
|
|
|
|
|
|
|
</head>
|
|
|
|
|
2020-08-19 14:46:20 -07:00
|
|
|
<body class="messages-only">
|
2020-08-13 01:28:25 -07:00
|
|
|
|
|
|
|
<div id="chat-container"></div>
|
|
|
|
|
|
|
|
<script type="module">
|
|
|
|
import { render, html } from "https://unpkg.com/htm/preact/index.mjs?module";
|
2020-08-14 04:19:19 -07:00
|
|
|
import StandaloneChat from './js/chat/standalone.js';
|
2020-08-19 00:16:35 -07:00
|
|
|
|
2020-08-19 14:46:20 -07:00
|
|
|
const messagesOnly = false;
|
2020-08-19 00:16:35 -07:00
|
|
|
|
2020-08-13 01:28:25 -07:00
|
|
|
(function () {
|
2020-08-19 00:16:35 -07:00
|
|
|
render(html`<${StandaloneChat} messagesOnly=${messagesOnly} />`, document.getElementById("chat-container"));
|
2020-08-13 01:28:25 -07:00
|
|
|
})();
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|