refactor: refactor authentication pages into their own modules

This commit is contained in:
Prad Nukala
2024-11-27 13:37:07 -05:00
parent 44027b9303
commit 74d8d516b3
79 changed files with 1621 additions and 5687 deletions
+21
View File
@@ -0,0 +1,21 @@
package home
import (
"github.com/onsonr/sonr/pkg/webapp/components/ui"
landing "github.com/onsonr/sonr/pkg/webapp/pages/home/internal"
)
// View renders the home page
templ Page() {
@ui.LayoutNoBody("Sonr.ID", true) {
@landing.Header(header)
@landing.Hero(hero)
@landing.Highlights(highlights)
@landing.Mission(mission)
@landing.Architecture(arch)
@landing.Lowlights(lowlights)
@landing.CallToAction(cta)
@landing.Footer()
}
}