@ -29,3 +29,14 @@ end
get "/register" do
slim :"user/register"
end
# API stuff
post "/user/login" do
# login user
redirect "/"
post "/user/new" do
# create user
redirect "/login"
@ -108,10 +108,10 @@ a.button:hover
h2
margin: 0
margin-bottom: .1rem
margin-bottom: 2.5rem
text-align: center
font-weight: bold
font-size: 2.8rem
font-size: 2.2rem
input
border-radius: .25rem
@ -119,7 +119,7 @@ a.button:hover
border: 3px solid $shadow_clr
color: $fg_alt_clr
font-family: $font_stack
font-size: 1.4rem
font-size: 1.2rem
padding: .2rem 1rem
input[type=submit]