11 lines
421 B
Plaintext
11 lines
421 B
Plaintext
component Login(target string)
|
|
.login-buttons.mountable
|
|
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
|
|
|
|
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 |