This commit is contained in:
zack 2024-10-21 19:20:35 -04:00
parent 561ea7543d
commit 43e6b6d318
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35
25 changed files with 8063 additions and 374 deletions

View file

@ -3,19 +3,25 @@ defmodule ZoeyscomputerWeb.UserLoginLive do
def render(assigns) do
~H"""
<div class="mx-auto max-w-sm">
<.header class="text-center">
<div class="mx-auto max-w-sm text-ctp-overlay2">
<.header class="text-center text-ctp-mauve">
Log in to account
<:subtitle>
Don't have an account?
<.link navigate={~p"/users/register"} class="font-semibold text-brand hover:underline">
<.link navigate={~p"/users/register"} class="font-semibold text-ctp-mauve hover:underline">
Sign up
</.link>
for an account now.
</:subtitle>
</.header>
<.simple_form for={@form} id="login_form" action={~p"/users/log_in"} phx-update="ignore">
<.simple_form
class="bg-ctp-crust"
for={@form}
id="login_form"
action={~p"/users/log_in"}
phx-update="ignore"
>
<.input field={@form[:email]} type="email" label="Email" required />
<.input field={@form[:password]} type="password" label="Password" required />