feat: implement authentication views

This commit is contained in:
Prad Nukala
2024-10-07 12:59:08 -04:00
parent dba9a119ef
commit 2d5cb7e5b8
13 changed files with 45 additions and 343 deletions
+20
View File
@@ -0,0 +1,20 @@
package home
import (
"github.com/onsonr/sonr/pkg/nebula/global/styles"
"github.com/onsonr/sonr/pkg/nebula/components/home/sections"
"github.com/onsonr/sonr/pkg/nebula/models"
)
templ View(home *models.Home) {
@styles.LayoutNoBody("Sonr.ID", true) {
@sections.Header()
@sections.SectionHero(home.Hero)
@sections.Highlights()
@sections.Features()
@sections.Bento()
@sections.Lowlights()
@sections.CallToAction()
@sections.Footer()
}
}