fix: move implementation to "internal" package
This commit was merged in pull request #138.
This commit is contained in:
25
internal/template/auth/verify.templ
Normal file
25
internal/template/auth/verify.templ
Normal file
@@ -0,0 +1,25 @@
|
||||
package auth
|
||||
|
||||
templ VerifyComp() {
|
||||
<main class="h-full">
|
||||
<div class=" flex flex-col items-center justify-center h-full">
|
||||
<h2 class="text-6xl mb-10">
|
||||
Verify your email
|
||||
</h2>
|
||||
<p class="text-lg text-center">
|
||||
We have sent you an email with a link to verify your account.
|
||||
</p>
|
||||
<p class="text-lg text-center">
|
||||
Please check your inbox/spam and click on the link to verify your account.
|
||||
</p>
|
||||
<button
|
||||
class="mt-8 button button-normal px-2 text-gray-500 text-xl"
|
||||
hx-get="/api/auth/verify-resend"
|
||||
hx-sync="this:drop"
|
||||
hx-swap="outerHTML"
|
||||
>
|
||||
resend verification email
|
||||
</button>
|
||||
</div>
|
||||
</main>
|
||||
}
|
||||
Reference in New Issue
Block a user