29 lines
783 B
Plaintext
29 lines
783 B
Plaintext
package homepage
|
|
|
|
import (
|
|
"git.markbailey.dev/cerbervs/ptpp/view/layout"
|
|
"git.markbailey.dev/cerbervs/ptpp/app/controller"
|
|
)
|
|
|
|
templ Homepage(env string, context controller.IControllerCtx) {
|
|
@layout.Layout() {
|
|
<div class="h-screen flex flex-col items-center justify-evenly text-blue-400 text-2xl">
|
|
<div>
|
|
Welcome to the homepage
|
|
</div>
|
|
<div>
|
|
<a href={ templ.SafeURL(context.GetRouteByName("app.user.sign_up")) }>
|
|
<button class="text-gray-400 text-md border-black rounded-lg bg-gray-300 p-2">
|
|
Sign Up
|
|
</button>
|
|
</a>
|
|
<a href={ templ.SafeURL(context.GetRouteByName("app.user.sign_in")) }>
|
|
<button class="text-gray-400 text-md border-black rounded-lg bg-gray-300 p-2">
|
|
Sign In
|
|
</button>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
}
|
|
}
|