feat: raising hand endpoint
This commit is contained in:
@@ -31,12 +31,12 @@
|
||||
<![endif]-->
|
||||
<div class="h-full w-full grid">
|
||||
<script src="https://unpkg.com/htmx.org/dist/ext/sse.js"></script>
|
||||
<div id="state-receival" class="bg-blue-300 hidden md:block"
|
||||
hx-ext="sse" sse-connect="/rooms/random"
|
||||
>
|
||||
<div> yoyo </div>
|
||||
<div sse-swap="message"> qweopop </div>
|
||||
</div>
|
||||
<!-- <div id="state-receival" class="bg-blue-300 hidden md:block" -->
|
||||
<!-- hx-ext="sse" sse-connect="/rooms/random" -->
|
||||
<!-- > -->
|
||||
<!-- <div> yoyo </div> -->
|
||||
<!-- <div sse-swap="message"> qweopop </div> -->
|
||||
<!-- </div> -->
|
||||
<!-- should be done with custom event for screen change -->
|
||||
<!-- <div id="state-receival" class="bg-blue-100 md:hidden" -->
|
||||
<!-- hx-ext="sse" sse-connect="/rooms/random?mobile=true" -->
|
||||
@@ -46,6 +46,14 @@
|
||||
<!-- </div> -->
|
||||
<div id="controls" class="bg-green-300">
|
||||
koko
|
||||
{{ range .Gestures }}
|
||||
<button
|
||||
hx-get="{{ .Url }}"
|
||||
class="bg-white rounded border-blue-700 border-2"
|
||||
>
|
||||
{{ .Name }}
|
||||
</button>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user