Added auth layout and route for login.

This commit is contained in:
mikestefanello 2021-12-03 15:41:40 -05:00
parent 869fa82f14
commit fe0fb8c801
8 changed files with 124 additions and 32 deletions

23
views/layouts/auth.gohtml Normal file
View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{template "metatags" .}}
{{template "css" .}}
</head>
<body>
<section class="hero is-info is-fullheight">
<div class="hero-body">
<div class="container">
<div class="columns is-centered">
<div class="column is-half">
<h1 class="title">Log in</h1>
<div class="box">
{{template "content" .}}
</div>
</div>
</div>
</div>
</div>
</section>
</body>
</html>