Feat: signout button
This commit is contained in:
@ -4,10 +4,11 @@
|
||||
{{ else if ne .LinkLogin "" }}
|
||||
{{template "linklogin" .LinkLogin}}
|
||||
{{ else if not .State.RoomID }}
|
||||
<div id="hello-user" class="flex text-xl justify-center space-x-8 py-2">
|
||||
<p>Hello {{.State.Username}}</p>
|
||||
<div>
|
||||
<a href="/signout"><button class="bg-amber-100 text-black px-4 py-2 rounded">signout</button></a>
|
||||
<div id="hello-user" class="grid grid-cols-3 items-center text-xl py-2">
|
||||
<div></div>
|
||||
<p class="text-center">Hello {{.State.Username}}</p>
|
||||
<div class="text-right">
|
||||
<a href="/signout"><button class="bg-indigo-600 text-white font-semibold text-sm px-4 py-2 rounded hover:bg-indigo-500">signout</button></a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="create-room" class="create-room-div">
|
||||
|
Reference in New Issue
Block a user