0.0.1
This commit is contained in:
@@ -94,29 +94,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Installation -->
|
|
||||||
<section class="max-w-4xl mx-auto mb-20">
|
|
||||||
<h2 class="text-3xl font-bold text-center mb-8 text-gray-800">Quick Installation</h2>
|
|
||||||
<div class="bg-gray-900 text-gray-100 p-6 rounded-xl overflow-x-auto">
|
|
||||||
<pre class="text-sm"><code><!-- Add Tailwind CSS -->
|
|
||||||
<script src="https://cdn.tailwindcss.com"></script>
|
|
||||||
|
|
||||||
<!-- Add import map for nostr-tools -->
|
|
||||||
<script type="importmap">
|
|
||||||
{
|
|
||||||
"imports": {
|
|
||||||
"nostr-tools": "https://esm.sh/nostr-tools@1.17.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- Add the chat widget -->
|
|
||||||
<script type="module" src="path/to/chat.js"></script>
|
|
||||||
|
|
||||||
<!-- Add chat widget container -->
|
|
||||||
<div id="chat-widget-root"></div></code></pre>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!-- GitHub Link -->
|
<!-- GitHub Link -->
|
||||||
<section class="text-center">
|
<section class="text-center">
|
||||||
@@ -140,7 +117,10 @@
|
|||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<!-- Chat Widget -->
|
<!-- Chat Widget -->
|
||||||
<script type="module" src="../src/chat.js"></script>
|
<!-- Add the chat widget -->
|
||||||
|
<script type="module" src="../src/chat.js"></script>
|
||||||
|
|
||||||
|
<!-- Add chat widget container -->
|
||||||
<div id="chat-widget-root"></div>
|
<div id="chat-widget-root"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -37,4 +37,4 @@
|
|||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.0.0"
|
"node": ">=14.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user