package homepage

import "git.markbailey.dev/cervers/ptpp/view/layout"

templ Homepage(env string) {
	@layout.Layout() {
		<div class="h-screen flex flex-col items-center justify-evenly text-blue-400 text-2xl">
			<div>
				Welcome to the homepage
			</div>
			if env == "development" {
				<div>
					<a href="/signup">
						<button class="text-gray-400 text-md border-black rounded-lg bg-gray-300 p-2">
							Sign Up
						</button>
					</a>
					<a href="/signin">
						<button class="text-gray-400 text-md border-black rounded-lg bg-gray-300 p-2">
							Sign In
						</button>
					</a>
				</div>
			}
		</div>
	}
}
