frontender 4
This commit is contained in:
parent
efd656a208
commit
ad3c3f8e33
@ -47,6 +47,7 @@ body{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-right: 150px;
|
||||
}
|
||||
|
||||
.log_in_form{
|
||||
@ -66,10 +67,11 @@ body{
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
border-radius: 5px;
|
||||
padding: 15px;
|
||||
height: max-content;
|
||||
max-width: 250px;
|
||||
width: 400px;
|
||||
text-align: center;
|
||||
padding-top: 25px;
|
||||
padding-bottom: 25px;
|
||||
}
|
||||
|
||||
.reg_form{
|
||||
@ -80,8 +82,9 @@ body{
|
||||
align-items: center;
|
||||
padding: 15px;
|
||||
height: max-content;
|
||||
width: 300px;
|
||||
text-align: center;
|
||||
width: 400px;
|
||||
height: max-content;
|
||||
}
|
||||
|
||||
div > .reg_form{}
|
||||
@ -205,7 +208,7 @@ div > .reg_form{}
|
||||
|
||||
.login-container{
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
justify-content: center;
|
||||
margin-top: 50px;
|
||||
align-items: flex-start;
|
||||
}
|
||||
@ -213,7 +216,7 @@ div > .reg_form{}
|
||||
.welcome_text{
|
||||
background-color: #a0cfd2;
|
||||
width: 40%;
|
||||
padding: 30px;
|
||||
padding: 35px;
|
||||
max-width: 500px;
|
||||
font-size: 18px;
|
||||
border-radius: 5px;
|
||||
|
@ -429,10 +429,10 @@ defmodule DerivantesWeb.CoreComponents do
|
||||
~H"""
|
||||
<header class={[@actions != [] && "flex items-center justify-between gap-6", @class]}>
|
||||
<div>
|
||||
<h1 class="text-lg font-semibold leading-8 text-zinc-800">
|
||||
<h1 class="text-3xl font-semibold leading-8 text-zinc-800 mt-4">
|
||||
<%= render_slot(@inner_block) %>
|
||||
</h1>
|
||||
<p :if={@subtitle != []} class="mt-2 text-sm leading-6 text-zinc-600">
|
||||
<p :if={@subtitle != []} class="mt-6 text-md leading-6 text-zinc-600">
|
||||
<%= render_slot(@subtitle) %>
|
||||
</p>
|
||||
</div>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<!-- <.flash_group flash={@flash} />
|
||||
<.flash_group flash={@flash} />
|
||||
<div class="left-[40rem] fixed inset-y-0 right-0 z-0 hidden lg:block xl:left-[50rem]">
|
||||
<svg
|
||||
viewBox="0 0 1480 957"
|
||||
@ -36,8 +36,10 @@
|
||||
fill="#A41C42"
|
||||
fill-opacity=".2"
|
||||
/>
|
||||
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
<div class="px-4 py-10 sm:px-6 sm:py-28 lg:px-8 xl:px-28 xl:py-32">
|
||||
<div class="mx-auto max-w-xl lg:mx-0">
|
||||
<svg viewBox="0 0 71 48" class="h-12" aria-hidden="true">
|
||||
@ -216,8 +218,7 @@
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
</div>
|
@ -7,7 +7,7 @@ defmodule DerivantesWeb.UserRegistrationLive do
|
||||
def render(assigns) do
|
||||
~H"""
|
||||
<div class="register_screen">
|
||||
<.header class="text-center mb-5 mt-5">
|
||||
<.header class="text-center mb-5 mt-5 text-xl">
|
||||
Registre su nueva cuenta
|
||||
<:subtitle>
|
||||
¿Ya tiene una cuenta?
|
||||
@ -31,13 +31,13 @@ defmodule DerivantesWeb.UserRegistrationLive do
|
||||
<.error :if={@check_errors}>
|
||||
Hubo un error.
|
||||
</.error>
|
||||
<img src={~p"/images/sana_americano_logo.png"} alt="Sanatorio Americano Logo" style="margin-top: 5px; margin-bottom: 20px;"/>
|
||||
<img src={~p"/images/sana_americano_logo.png"} alt="Sanatorio Americano Logo" style="margin-top: 30px; margin-bottom: 20px;"/>
|
||||
<.input class="imput_text w-40" field={@form[:matricula]} type="text" placeholder="Matrícula" required />
|
||||
<.input class="imput_text w-40" field={@form[:email]} type="email" placeholder="Email" required />
|
||||
<.input class="imput_text w-40" field={@form[:password]} type="password" placeholder="Contraseña" required />
|
||||
|
||||
<:actions>
|
||||
<.button phx-disable-with="Creando cuenta..." class="submit_button" style="margin-top: 15px;">Crear cuenta</.button>
|
||||
<.button phx-disable-with="Creando cuenta..." class="submit_button" style="margin-top: 20px; margin-bottom: 25px;">Crear cuenta</.button>
|
||||
</:actions>
|
||||
</.simple_form>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user