Fix SSE architecture for reliable connections #13

Merged
ryan merged 9 commits from fix/sse-architecture into main 2026-03-03 23:33:14 +00:00
Showing only changes of commit e0f5d555fb - Show all commits

View File

@@ -51,7 +51,8 @@ templ NicknamePrompt(returnPath string) {
// LiveClock shows the current server time, updated with each SSE patch.
// If the clock stops updating, users know the connection is stale.
templ LiveClock() {
<div class="fixed top-2 right-2 text-xs opacity-50 font-mono">
<div class="fixed top-2 right-2 flex items-center gap-1 text-xs opacity-50 font-mono">
<div class="status status-xs status-success"></div>
{ time.Now().Format("15:04:05") }
</div>
}