mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 18:31:41 +00:00
feature/refactor types (#1101)
- **docs: remove discord badge from README** - **fix: ensure go version is up-to-date** - **<no value>** - **refactor: update import paths for blocks to components** - **feat: add Hero component template** - **fix: update footer logo to svg** - **feat: add Query/Sign and Query/Verify RPC methods** - **refactor: rename Keyshares to KsVal in did/v1/state.proto**
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
package pages
|
||||
|
||||
import (
|
||||
"github.com/labstack/echo/v4"
|
||||
"github.com/onsonr/sonr/pkg/nebula/components/blocks"
|
||||
"github.com/onsonr/sonr/pkg/nebula/components/sections"
|
||||
)
|
||||
|
||||
func Home(c echo.Context) error {
|
||||
hero := sections.Hero{
|
||||
TitleFirst: "Sonr.ID",
|
||||
TitleEmphasis: "platform",
|
||||
TitleSecond: "for cross-functional work",
|
||||
Subtitle: "Turbocharge your creative process with a powerful AI design platform that gives creatives the power of creating without limits.",
|
||||
PrimaryButtonText: "Request Demo",
|
||||
PrimaryButtonLink: "request-demo.html",
|
||||
SecondaryButtonText: "Try for Free",
|
||||
SecondaryButtonLink: "#0",
|
||||
}
|
||||
return echoResponse(c, homeView(hero))
|
||||
}
|
||||
|
||||
templ homeView(hero sections.Hero) {
|
||||
@blocks.LayoutNoBody("Sonr.ID", true) {
|
||||
@sections.HeaderMarketingNav()
|
||||
@sections.SectionHero(hero)
|
||||
@sections.FooterMarketingNav()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user