mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-05 10:51:41 +00:00
refactor: move home page sections to home package
This commit is contained in:
@@ -3,7 +3,7 @@ package pages
|
||||
import (
|
||||
"github.com/labstack/echo/v4"
|
||||
"github.com/onsonr/sonr/pkg/nebula/components/blocks"
|
||||
"github.com/onsonr/sonr/pkg/nebula/components/sections"
|
||||
"github.com/onsonr/sonr/pkg/nebula/components/home"
|
||||
"github.com/onsonr/sonr/pkg/nebula/models"
|
||||
)
|
||||
|
||||
@@ -17,13 +17,13 @@ func Home(c echo.Context) error {
|
||||
|
||||
templ homeView(hero *models.Hero) {
|
||||
@blocks.LayoutNoBody("Sonr.ID", true) {
|
||||
@sections.MarketingHeader()
|
||||
@sections.SectionHero(hero)
|
||||
@sections.Highlights()
|
||||
@sections.Features()
|
||||
@sections.Bento()
|
||||
@sections.Lowlights()
|
||||
@sections.CallToAction()
|
||||
@sections.MarketingFooter()
|
||||
@home.MarketingHeader()
|
||||
@home.SectionHero(hero)
|
||||
@home.Highlights()
|
||||
@home.Features()
|
||||
@home.Bento()
|
||||
@home.Lowlights()
|
||||
@home.CallToAction()
|
||||
@home.MarketingFooter()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user