Improved menu

This commit is contained in:
2017-06-21 03:05:34 +02:00
parent 62a5f391a4
commit 5ddf387f88
6 changed files with 33 additions and 37 deletions

View File

@ -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
View 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
View 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")