feat: add static hero section content to homepage

This commit is contained in:
Prad Nukala
2024-10-08 21:06:24 -04:00
parent 8811f56559
commit 3637f27369
36 changed files with 77 additions and 492 deletions
+1 -6
View File
@@ -8,7 +8,6 @@ import (
"github.com/onsonr/sonr/pkg/nebula/components/auth"
"github.com/onsonr/sonr/pkg/nebula/components/home"
"github.com/onsonr/sonr/pkg/nebula/models"
)
// ╭───────────────────────────────────────────────────────────╮
@@ -16,11 +15,7 @@ import (
// ╰───────────────────────────────────────────────────────────╯
func Home(c echo.Context) error {
mdls, err := models.GetModels()
if err != nil {
return err
}
return render(c, home.View(mdls.Home))
return render(c, home.View())
}
// ╭───────────────────────────────────────────────────────────╮