owncast/webroot/standalone-chat.html

28 lines
863 B
HTML
Raw Normal View History

<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" />
<link href="./styles/chat.css" rel="stylesheet" />
<link href="./styles/standalone-chat.css" rel="stylesheet" />
<script src="//unpkg.com/showdown/dist/showdown.min.js"></script>
</head>
2020-08-20 00:46:20 +03:00
<body class="messages-only">
<div id="chat-container"></div>
<script type="module">
import { render, html } from "https://unpkg.com/htm/preact/index.mjs?module";
2020-08-24 05:06:58 +03:00
import StandaloneChat from './js/standalone-chat-app.js';
(function () {
2020-08-24 05:37:06 +03:00
render(html`<${StandaloneChat} messagesOnly />`, document.getElementById("chat-container"));
})();
</script>
</body>
</html>