mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 10:21:40 +00:00
feat(ui): implement profile page
This commit is contained in:
@@ -2,13 +2,14 @@ package nebula
|
||||
|
||||
import (
|
||||
"github.com/labstack/echo/v4"
|
||||
"github.com/onsonr/sonr/pkg/nebula/views"
|
||||
"github.com/onsonr/sonr/pkg/nebula/routes"
|
||||
"github.com/onsonr/sonr/pkg/nebula/view"
|
||||
)
|
||||
|
||||
func RouteViews(e *echo.Echo) {
|
||||
e.GET("/home", views.HomeView)
|
||||
e.GET("/login", views.LoginView)
|
||||
e.GET("/register", views.RegisterView)
|
||||
e.GET("/profile", views.ProfileView)
|
||||
e.GET("/authorize", views.AuthorizeView)
|
||||
e.GET("/home", view.Render(routes.HomeRoute))
|
||||
e.GET("/login", view.Render(routes.LoginRoute))
|
||||
e.GET("/register", view.Render(routes.RegisterRoute))
|
||||
e.GET("/profile", view.Render(routes.ProfileRoute))
|
||||
e.GET("/authorize", view.Render(routes.AuthorizeRoute))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user