2017-11-16 21:09:50 +00:00
|
|
|
component Login(target string)
|
2017-10-06 11:03:36 +00:00
|
|
|
.login-buttons.mountable
|
2018-04-07 12:17:33 +00:00
|
|
|
if arn.APIKeys.Google.Secret != ""
|
|
|
|
a.login-button.login-button-google(href="/auth/google", target=target, data-ajax="false")
|
|
|
|
Icon("google")
|
|
|
|
span Sign in via Google
|
2017-07-02 21:42:46 +00:00
|
|
|
|
2018-04-07 12:17:33 +00:00
|
|
|
if arn.APIKeys.Facebook.Secret != ""
|
|
|
|
a.login-button.login-button-facebook(href="/auth/facebook", target=target, data-ajax="false")
|
|
|
|
Icon("facebook")
|
|
|
|
span Sign in via Facebook
|