diff --git a/assets/css/app.css b/assets/css/app.css index e2bd1e4..4236651 100755 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -17,6 +17,10 @@ body{ margin-right: auto; } +.root_header{ + background-color: #297177; +} + .login-a{ display: flex; flex-direction: column; @@ -46,6 +50,18 @@ body{ text-align: center; } +.reg_form{ + background-color: #297177; + border-radius: 5px; + display: flex; + flex-direction: column; + align-items: center; + padding: 15px; + height: max-content; + width: 250px; + text-align: center; +} + .auth_form img{ margin-top: 10px; margin-bottom: 20px; @@ -72,7 +88,7 @@ body{ border-radius: 5px; font-weight: bold; font-size: 18px; - margin-top: 5px; + margin-top: 10px; } .info_panel{ @@ -175,6 +191,12 @@ body{ border-radius: 5px; } +.register_screen{ + display: flex; + flex-direction: column; + align-items: center; +} + @media (min-width: 1250px) { .log_in_container{ width: 50%; diff --git a/lib/derivantes/accounts/user.ex b/lib/derivantes/accounts/user.ex old mode 100644 new mode 100755 index e2dc477..916cbf8 --- a/lib/derivantes/accounts/user.ex +++ b/lib/derivantes/accounts/user.ex @@ -51,7 +51,7 @@ defmodule Derivantes.Accounts.User do defp validate_email(changeset, opts) do changeset |> validate_required([:email]) - |> validate_format(:email, ~r/^[^\s]+@[^\s]+$/, message: "must have the @ sign and no spaces") + |> validate_format(:email, ~r/^[^\s]+@[^\s]+$/, message: "Ingrese un email válido") |> validate_length(:email, max: 160) |> maybe_validate_unique_email(opts) end diff --git a/lib/derivantes_web/components/core_components.ex b/lib/derivantes_web/components/core_components.ex index 1be9bc8..473d592 100755 --- a/lib/derivantes_web/components/core_components.ex +++ b/lib/derivantes_web/components/core_components.ex @@ -409,7 +409,7 @@ defmodule DerivantesWeb.CoreComponents do def error(assigns) do ~H""" -

+

<.icon name="hero-exclamation-circle-mini" class="mt-0.5 h-5 w-5 flex-none" /> <%= render_slot(@inner_block) %>

diff --git a/lib/derivantes_web/components/layouts/root.html.heex b/lib/derivantes_web/components/layouts/root.html.heex old mode 100644 new mode 100755 index 11cd701..895e8f9 --- a/lib/derivantes_web/components/layouts/root.html.heex +++ b/lib/derivantes_web/components/layouts/root.html.heex @@ -12,8 +12,8 @@ - -