Added a weird little chat for shits and giggles

This commit is contained in:
2025-04-26 01:34:49 -06:00
parent a6a17e8969
commit 871000c333
9 changed files with 297 additions and 44 deletions

20
routes/chat.tsx Normal file
View File

@ -0,0 +1,20 @@
import Chat from "../islands/Chat.tsx";
export default function ChatPage() {
return (
<div class="min-h-screen p-4 sm:p-8">
<h1 class="text-3xl sm:text-4xl font-bold text-secondary mb-6 sm:mb-8 text-center">
Chat Room <div className="badge badge-dash badge-primary">Demo</div>
</h1>
<div class="max-w-4xl mx-auto">
<Chat />
</div>
<div class="mt-8 text-center text-sm text-gray-500">
<p>
This is an ephemeral chat room. Messages are only visible to users
currently online and aren't stored after you leave.
</p>
</div>
</div>
);
}