change header and paragraph sizes

This commit is contained in:
2026-11-09 10:12:02 +01:00
parent aa9c882b08
commit 8df7ac982c
3 changed files with 22 additions and 27 deletions
+12 -14
View File
@@ -7,20 +7,18 @@ defmodule ChesstrainerWeb.UserLive.Login do
<Layouts.app flash={@flash} current_scope={@current_scope}>
<div class="mx-auto max-w-sm space-y-4">
<div class="text-center">
<.header>
<p>Log in</p>
<:subtitle>
<%= if @current_scope do %>
You need to reauthenticate to perform sensitive actions on your account.
<% else %>
Don't have an account? <.link
navigate={~p"/users/register"}
class="font-semibold text-primary hover:underline"
phx-no-format
>Sign up</.link> for an account now.
<% end %>
</:subtitle>
</.header>
<h1 class="settings-header">Log in</h1>
<%= if @current_scope do %>
You need to reauthenticate to perform sensitive actions on your account.
<% else %>
<p class="settings-subtitle my-4">
Don't have an account? <.link
navigate={~p"/users/register"}
class="font-semibold text-primary hover:underline"
phx-no-format
>Sign up</.link> for an account now.
</p>
<% end %>
</div>
<.form
@@ -11,16 +11,14 @@ defmodule ChesstrainerWeb.UserLive.Registration do
<Layouts.app flash={@flash} current_scope={@current_scope}>
<div class="mx-auto max-w-sm">
<div class="text-center">
<.header>
Register for an account
<:subtitle>
Already registered?
<.link navigate={~p"/users/log-in"} class="font-semibold text-primary hover:underline">
Log in
</.link>
to your account now.
</:subtitle>
</.header>
<h1 class="settings-header">Register for an account</h1>
<p class="settings-subtitle my-4">
Already registered?
<.link navigate={~p"/users/log-in"} class="font-semibold text-primary hover:underline">
Log in
</.link>
to your account now
</p>
</div>
<.form for={@form} id="registration_form" phx-submit="save" phx-change="validate">