mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-11 21:26:50 +00:00
18 lines
405 B
Text
18 lines
405 B
Text
package view
|
|
|
|
import (
|
|
"github.com/rjNemo/rentease/internal/auth"
|
|
"github.com/rjNemo/rentease/internal/view/layout"
|
|
)
|
|
|
|
// inject the providers into the template even if we don't use it
|
|
templ Login(providers *auth.ProviderIndex) {
|
|
@layout.PublicLayout() {
|
|
<main class="container">
|
|
<section>
|
|
<h1>Login</h1>
|
|
<a href="/auth?provider=google">Log in with Google</a>
|
|
</section>
|
|
</main>
|
|
}
|
|
}
|