make edits for a messages-only view of the chat module
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<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/layout.css" rel="stylesheet" />
|
||||
<!-- <link href="./styles/layout.css" rel="stylesheet" /> -->
|
||||
<link href="./styles/chat.css" rel="stylesheet" />
|
||||
<link href="./styles/standalone-chat.css" rel="stylesheet" />
|
||||
|
||||
@@ -20,8 +20,11 @@
|
||||
<script type="module">
|
||||
import { render, html } from "https://unpkg.com/htm/preact/index.mjs?module";
|
||||
import StandaloneChat from './js/chat/standalone.js';
|
||||
|
||||
const messagesOnly = true;
|
||||
|
||||
(function () {
|
||||
render(html`<${StandaloneChat} />`, document.getElementById("chat-container"));
|
||||
render(html`<${StandaloneChat} messagesOnly=${messagesOnly} />`, document.getElementById("chat-container"));
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user