-
+
PLG MuDiCS
diff --git a/display/web/main.go b/display/web/main.go
index 939bb23..2e8dfcc 100644
--- a/display/web/main.go
+++ b/display/web/main.go
@@ -11,6 +11,7 @@ import (
"os"
"os/exec"
"path/filepath"
+ shared "plg-mudics/shared"
"strings"
"github.com/labstack/echo/v4"
@@ -42,6 +43,9 @@ func StartWebServer(v string) {
e.GET("/", indexRoute)
e.GET("/sse", sseRoute)
+ e.GET("/splash", func(ctx echo.Context) error {
+ return ctx.HTML(http.StatusOK, shared.SplashScreenTemplate)
+ })
apiGroup := e.Group("/api")
apiGroup.GET("/ping", pingRoute)
diff --git a/display/web/main.templ b/display/web/main.templ
index 605666a..9e82e3e 100644
--- a/display/web/main.templ
+++ b/display/web/main.templ
@@ -56,7 +56,7 @@ templ indexTemplate() {
- @animationTemplate()
+