Added welcome page

This commit is contained in:
2018-11-15 12:42:10 +09:00
parent 085417edce
commit 1ef1c55e49
19 changed files with 153 additions and 30 deletions

View File

@ -9,6 +9,7 @@ import (
"github.com/animenotifier/notify.moe/pages/login"
"github.com/animenotifier/notify.moe/pages/statistics"
"github.com/animenotifier/notify.moe/pages/terms"
"github.com/animenotifier/notify.moe/pages/welcome"
)
// Register registers the page routes.
@ -19,6 +20,9 @@ func Register(l *layout.Layout) {
// Login
l.Page("/login", login.Get)
// Welcome
l.Page("/welcome", welcome.Get)
// Activity
l.Page("/activity", activity.Global)
l.Page("/activity/from/:index", activity.Global)