feat(nebula): create Home model for home page
This commit is contained in:
1 parent
3baec2745b
commit
8d8935c045
8 files changed
+25
-12
No files matched your search
@@ -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))
|
||||
}
|
||||
Reference in new issue
Block a user