fix: correct build path for main binary

This commit is contained in:
Prad N
2025-01-11 13:46:37 -05:00
parent c7a6ec834b
commit fca519c907
51 changed files with 204 additions and 2652 deletions

View File

@@ -5,7 +5,6 @@ import (
"github.com/a-h/templ"
"github.com/labstack/echo/v4"
"github.com/onsonr/hway/app/views"
)
func Render(c echo.Context, cmp templ.Component) error {
@@ -28,15 +27,3 @@ func Render(c echo.Context, cmp templ.Component) error {
c.Response().WriteHeader(200)
return nil
}
func RenderError(c echo.Context, err error) error {
return Render(c, views.ErrorView(err.Error()))
}
func RenderInitial(c echo.Context) error {
return Render(c, views.InitialView())
}
func RenderLoading(c echo.Context) error {
return Render(c, views.LoadingView())
}