mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 21:09:11 +00:00
* feat: add support for DID number as primary key for Controllers * refactor: rename pkg/proxy to app/proxy * feat: add vault module keeper tests * feat(vault): add DID keeper to vault module * refactor: move vault client code to its own package * refactor(vault): extract schema definition * refactor: use vaulttypes for MsgAllocateVault * refactor: update vault assembly logic to use new methods * feat: add dwn-proxy command * refactor: remove unused context.go file * refactor: remove unused web-related code * feat: add DWN proxy server * feat: add BuildTx RPC to vault module * fix: Implement BuildTx endpoint * feat: add devbox integration to project
28 lines
640 B
Plaintext
28 lines
640 B
Plaintext
package pages
|
|
|
|
import (
|
|
"github.com/labstack/echo/v4"
|
|
"github.com/onsonr/sonr/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()
|
|
}
|
|
}
|