feat: add back to lobby navigation on game pages
This commit is contained in:
@@ -25,6 +25,10 @@ type LobbyProps struct {
|
||||
SpeedSelectClicks []h.H
|
||||
}
|
||||
|
||||
func BackToLobby() h.H {
|
||||
return h.A(h.Class("link text-sm opacity-70"), h.Href("/"), h.Text("← Back to Lobby"))
|
||||
}
|
||||
|
||||
func LobbyView(p LobbyProps) h.H {
|
||||
var authSection h.H
|
||||
if p.IsLoggedIn {
|
||||
|
||||
Reference in New Issue
Block a user