16 lines
604 B
Plaintext
Raw Normal View History

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")
2019-02-08 20:31:59 +00:00
span Sign in via Facebook
if arn.APIKeys.Twitter.Secret != ""
a.login-button.login-button-twitter(href="/auth/twitter", target=target, data-ajax="false")
Icon("twitter")
span Sign in via Twitter