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-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-24 06:23:16 +02:00
|
|
|
<body>
|
2020-08-13 10:28:25 +02:00
|
|
|
|
2020-08-24 06:23:16 +02:00
|
|
|
<div id="messages-only"></div>
|
2020-08-13 10:28:25 +02:00
|
|
|
|
|
|
|
<script type="module">
|
2020-08-24 06:41:02 +02:00
|
|
|
import { render, h } from 'https://unpkg.com/preact?module';
|
|
|
|
import htm from 'https://unpkg.com/htm?module';
|
|
|
|
const html = htm.bind(h);
|
2020-08-24 06:23:16 +02:00
|
|
|
import StandaloneChat from './js/app-standalone-chat.js';
|
2020-08-19 09:16:35 +02:00
|
|
|
|
2020-08-13 10:28:25 +02:00
|
|
|
(function () {
|
2020-08-24 06:23:16 +02:00
|
|
|
render(html`<${StandaloneChat} messagesOnly />`, document.getElementById("messages-only"));
|
2020-08-13 10:28:25 +02:00
|
|
|
})();
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|