feature/1107 integrate dexie db (#1128)

- **feat: remove grant page**
- **refactor: remove alert, input, radios, tabs, and video blocks**
- **feat: add JSON serialization to DWN config**
- **feat: add new Highway gateway component**
- **refactor: remove unused chains.yaml and devbox.json**
- **refactor: Separate request and response headers into protected and
non-protected structs**
- **feat: Update the UseSession echo middleware to bind the correct
headers and provide methods for updating HTMX context from Go**
- **refactor: remove unused headers from session**
- **feat: add authorize endpoint**
- **feat: create marketing pages**
This commit is contained in:
Prad Nukala
2024-10-06 20:07:24 -04:00
committed by GitHub
parent 4e98504813
commit d93c19c2ab
61 changed files with 2561 additions and 1902 deletions
+6 -6
View File
@@ -8,7 +8,7 @@ import (
"github.com/onsonr/sonr/internal/session"
"github.com/onsonr/sonr/pkg/nebula"
"github.com/onsonr/sonr/pkg/nebula/pages"
"github.com/onsonr/sonr/pkg/nebula/router"
)
type Server struct {
@@ -25,11 +25,11 @@ func New() *Server {
s.Logger.Fatal(err)
}
s.GET("/", pages.Home)
s.GET("/login", pages.Login)
s.GET("/register", pages.Register)
s.GET("/profile", pages.Profile)
s.GET("/", router.Home)
s.GET("/login", router.Login)
s.GET("/register", router.Register)
s.GET("/profile", router.Profile)
s.GET("/authorize", router.Authorize)
return s
}