rename standalone assets so they're easier to find
This commit is contained in:
27
webroot/index-standalone-chat.html
Normal file
27
webroot/index-standalone-chat.html
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
<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>
|
||||
|
||||
<body class="messages-only">
|
||||
|
||||
<div id="chat-container"></div>
|
||||
|
||||
<script type="module">
|
||||
import { render, html } from "https://unpkg.com/htm/preact/index.mjs?module";
|
||||
import StandaloneChat from './js/app-standalong-chat.js';
|
||||
|
||||
(function () {
|
||||
render(html`<${StandaloneChat} messagesOnly />`, document.getElementById("chat-container"));
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user