mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 04:57:08 +00:00
Feature/deploy linux (#1212)
* chore(deploy): remove devbox configuration * feat(taskfiles): add mount and platform specific start commands for IPFS * feat(gateway): update registration route --------- Signed-off-by: Prad Nukala <prad@sonr.io>
This commit is contained in:
parent
4d6a8628af
commit
30c984fd90
@ -15,12 +15,16 @@ tasks:
|
||||
desc: Build the hway binary
|
||||
silent: true
|
||||
cmds:
|
||||
- templ generate
|
||||
- sqlc generate -f internal/database/sqlc.yaml
|
||||
- gum spin --spinner dot --title "Build Hway Single Target ({{.OS}}/{{.ARCH}})..." -- goreleaser build --snapshot --clean --single-target --id hway -o {{.BIN_DIR}}/hway
|
||||
|
||||
install:
|
||||
desc: Install the hway binary
|
||||
silent: true
|
||||
cmds:
|
||||
- templ generate
|
||||
- sqlc generate -f internal/database/sqlc.yaml
|
||||
- gum spin --spinner dot --title "Install Hway Single Target ({{.OS}}/{{.ARCH}})..." -- make install-hway
|
||||
|
||||
start:
|
||||
|
@ -12,7 +12,7 @@ import (
|
||||
)
|
||||
|
||||
func RegisterHandler(g *echo.Group) {
|
||||
g.GET("/", renderProfileForm)
|
||||
g.GET("/start", renderProfileForm)
|
||||
g.POST("/profile", validateProfileForm)
|
||||
g.GET("/passkey", renderPasskeyForm)
|
||||
g.POST("/passkey", validatePasskeyForm)
|
||||
|
@ -13,7 +13,7 @@ templ HeroTitle(title string, subtitle string) {
|
||||
|
||||
templ HeroStart() {
|
||||
<div class="pt-1.5 mb-3 flex flex-col items-center justify-center h-full">
|
||||
<sl-button size="large" hx-target="#container" hx-get="/register" hx-push-url="/register" type="button">
|
||||
<sl-button size="large" hx-target="#container" hx-get="/register" hx-push-url="/register/start" type="button">
|
||||
<sl-icon slot="prefix" library="sonr" name="sonr"></sl-icon>
|
||||
Create Vault
|
||||
<sl-icon slot="suffix" library="sonr" name="arrow-right"></sl-icon>
|
||||
|
@ -84,7 +84,7 @@ func HeroStart() templ.Component {
|
||||
templ_7745c5c3_Var4 = templ.NopComponent
|
||||
}
|
||||
ctx = templ.ClearChildren(ctx)
|
||||
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<div class=\"pt-1.5 mb-3 flex flex-col items-center justify-center h-full\"><sl-button size=\"large\" hx-target=\"#container\" hx-get=\"/register\" hx-push-url=\"/register\" type=\"button\"><sl-icon slot=\"prefix\" library=\"sonr\" name=\"sonr\"></sl-icon> Create Vault <sl-icon slot=\"suffix\" library=\"sonr\" name=\"arrow-right\"></sl-icon></sl-button></div>")
|
||||
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<div class=\"pt-1.5 mb-3 flex flex-col items-center justify-center h-full\"><sl-button size=\"large\" hx-target=\"#container\" hx-get=\"/register\" hx-push-url=\"/register/start\" type=\"button\"><sl-icon slot=\"prefix\" library=\"sonr\" name=\"sonr\"></sl-icon> Create Vault <sl-icon slot=\"suffix\" library=\"sonr\" name=\"arrow-right\"></sl-icon></sl-button></div>")
|
||||
if templ_7745c5c3_Err != nil {
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user