feat: add static hero section content to homepage

This commit is contained in:
Prad Nukala committed 2024-10-08 21:06:24 -04:00
1 parent 8811f56559
commit 3637f27369
36 files changed
+77 -492

No files matched your search

+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())
}
// ╭───────────────────────────────────────────────────────────╮