rentease/internal/view/login.templ
2024-05-19 21:29:23 +02:00

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>
}
}