Added frontpage and Google login

This commit is contained in:
2017-06-15 23:03:55 +02:00
parent 938057a626
commit 2d8d8299ef
12 changed files with 99 additions and 33 deletions

View File

@ -0,0 +1,11 @@
package frontpage
import (
"github.com/aerogo/aero"
"github.com/animenotifier/notify.moe/components"
)
// Get ...
func Get(ctx *aero.Context) string {
return ctx.HTML(components.FrontPage())
}

View File

@ -0,0 +1,8 @@
component FrontPage
p Anime Notifier 4.0 is currently under construction.
p
a(href="https://paypal.me/blitzprog", rel="noopener") Support the development
.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")

View File

@ -0,0 +1,11 @@
.login-buttons
horizontal-wrap
width 100%
justify-content center
.login-button
//
.login-button-image
max-width 236px
max-height 44px