feat(nebula): create Home model for home page

This commit is contained in:
Prad Nukala
2024-10-02 18:01:30 -04:00
parent 3baec2745b
commit 8d8935c045
8 changed files with 25 additions and 12 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ package pages
import (
"github.com/labstack/echo/v4"
"github.com/onsonr/sonr/pkg/nebula/components/home"
"github.com/onsonr/sonr/pkg/nebula/models"
)
@@ -11,5 +12,5 @@ func Home(c echo.Context) error {
if err != nil {
return err
}
return echoResponse(c, home.View(mdls.Hero))
return echoResponse(c, home.View(mdls.Home.Hero))
}