diff --git a/features/c4game/pages/game.templ b/features/c4game/pages/game.templ index 35d9c84..a08d2b3 100644 --- a/features/c4game/pages/game.templ +++ b/features/c4game/pages/game.templ @@ -24,7 +24,7 @@ templ GamePage(g *connect4.Game, myColor int, messages []chat.Message, chatCfg c } templ GameContent(g *connect4.Game, myColor int, messages []chat.Message, chatCfg chatcomponents.Config) { -
+
@sharedcomponents.LiveClock() @sharedcomponents.BackToLobby() @sharedcomponents.StealthTitle("text-3xl font-bold") diff --git a/features/snakegame/pages/game.templ b/features/snakegame/pages/game.templ index 7ab922a..3d87d1c 100644 --- a/features/snakegame/pages/game.templ +++ b/features/snakegame/pages/game.templ @@ -43,7 +43,7 @@ templ GamePage(sg *snake.SnakeGame, mySlot int, messages []chat.Message, chatCfg } templ GameContent(sg *snake.SnakeGame, mySlot int, messages []chat.Message, chatCfg chatcomponents.Config, gameID string) { -
+
@components.LiveClock() @components.BackToLobby()

~~~~