mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 18:31:41 +00:00
* feat: add support for vault allocation * feat(dwn): Add IPFS client * refactor: move GetDefaultBypassFeeMessages to ibc/module.go * refactor(did): clean up genesis state definition * feat: remove global integrity proof requirement * feat: remove gas consumption for tx size * feat: add registration route * refactor: centralize response handling in the package * feat(types): add account and pubkey types * refactor: simplify dockerfile process-compose.yaml copy
28 lines
644 B
Templ
28 lines
644 B
Templ
package pages
|
|
|
|
import (
|
|
"github.com/labstack/echo/v4"
|
|
"github.com/onsonr/sonr/pkg/nebula/blocks"
|
|
)
|
|
|
|
func Home(c echo.Context) error {
|
|
return echoResponse(c, homeView())
|
|
}
|
|
|
|
templ homeView() {
|
|
@blocks.Card("home-view", blocks.SizeLarge) {
|
|
@blocks.H1("Sonr.ID")
|
|
@blocks.Text("A Decentralized Web Node Client for the Sonr Network.")
|
|
@blocks.Spacer()
|
|
<div class="flex flex-col gap-3">
|
|
@blocks.Button(blocks.GET("/register", "#home-view"), blocks.PrimaryButtonStyle()) {
|
|
@blocks.Text("Get Started")
|
|
}
|
|
@blocks.Button(blocks.GET("/login", "#home-view")) {
|
|
@blocks.Text("Login")
|
|
}
|
|
</div>
|
|
@blocks.PoweredBySonr()
|
|
}
|
|
}
|