2020-08-13 10:28:25 +02: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 09:16:35 +02:00
|
|
|
<!-- <link href="./styles/layout.css" rel="stylesheet" /> -->
|
2020-08-17 18:00:36 +02:00
|
|
|
<link href="./styles/chat.css" rel="stylesheet" />
|
|
|
|
<link href="./styles/standalone-chat.css" rel="stylesheet" />
|
|
|
|
|
|
|
|
|
2020-08-13 10:49:10 +02:00
|
|
|
<script src="//unpkg.com/showdown/dist/showdown.min.js"></script>
|
2020-08-13 10:28:25 +02:00
|
|
|
|
|
|
|
</head>
|
|
|
|
|
2020-08-19 23:46:20 +02:00
|
|
|
<body class="messages-only">
|
2020-08-13 10:28:25 +02:00
|
|
|
|
|
|
|
<div id="chat-container"></div>
|
|
|
|
|
|
|
|
<script type="module">
|
|
|
|
import { render, html } from "https://unpkg.com/htm/preact/index.mjs?module";
|
2020-08-24 04:06:58 +02:00
|
|
|
import StandaloneChat from './js/standalone-chat-app.js';
|
2020-08-19 09:16:35 +02:00
|
|
|
|
2020-08-19 23:46:20 +02:00
|
|
|
const messagesOnly = false;
|
2020-08-19 09:16:35 +02:00
|
|
|
|
2020-08-13 10:28:25 +02:00
|
|
|
(function () {
|
2020-08-19 09:16:35 +02:00
|
|
|
render(html`<${StandaloneChat} messagesOnly=${messagesOnly} />`, document.getElementById("chat-container"));
|
2020-08-13 10:28:25 +02:00
|
|
|
})();
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|