package view

import "github.com/rjNemo/rentease/internal/view/layout"

templ Login(lfvm LoginFormViewModel) {
	@layout.BaseLayout() {
		<section class="flex justify-center items-center">
			<div class="w-full max-w-md">
				<hgroup class="text-center py-8">
					<h1 class="text-4xl font-bold text-primary">Welcome</h1>
					<h2 class="text-xl text-base-content/70">Manage your rental property</h2>
				</hgroup>
				@LoginForm(lfvm)
			</div>
		</section>
	}
}
