Improved menu
This commit is contained in:
@ -4,8 +4,4 @@ component FrontPage
|
||||
a(href="https://paypal.me/blitzprog", target="_blank", rel="noopener") Support the development
|
||||
|
||||
p
|
||||
a(href="https://github.com/animenotifier/notify.moe", target="_blank", rel="noopener") Source on GitHub
|
||||
|
||||
.login-buttons
|
||||
a.login-button(href="/auth/google")
|
||||
img.login-button-image(src="/images/login/google", alt="Google Login", title="Login with your Google account")
|
||||
a(href="https://github.com/animenotifier/notify.moe", target="_blank", rel="noopener") Source on GitHub
|
11
pages/login/login.go
Normal file
11
pages/login/login.go
Normal file
@ -0,0 +1,11 @@
|
||||
package login
|
||||
|
||||
import (
|
||||
"github.com/aerogo/aero"
|
||||
"github.com/animenotifier/notify.moe/components"
|
||||
)
|
||||
|
||||
// Get ...
|
||||
func Get(ctx *aero.Context) string {
|
||||
return ctx.HTML(components.Login())
|
||||
}
|
4
pages/login/login.pixy
Normal file
4
pages/login/login.pixy
Normal file
@ -0,0 +1,4 @@
|
||||
component Login
|
||||
.login-buttons
|
||||
a.login-button(href="/auth/google")
|
||||
img.login-button-image(src="/images/login/google", alt="Google Login", title="Login with your Google account")
|
Reference in New Issue
Block a user