mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-11 13:29:12 +00:00
- **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**
30 lines
879 B
Plaintext
30 lines
879 B
Plaintext
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()
|
|
}
|
|
}
|