Skip to content

Commit

Permalink
Merge pull request #107 from G10-ISPC/MelisaSG
Browse files Browse the repository at this point in the history
se agrega visualizacion de la pagina de registro
  • Loading branch information
MelisaSG authored May 13, 2024
2 parents 6ada56c + d14c441 commit 8f06093
Show file tree
Hide file tree
Showing 3 changed files with 223 additions and 109 deletions.
10 changes: 6 additions & 4 deletions Ricco2024/src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ import { Routes } from '@angular/router';
import { ProductosComponent } from './pages/productos/productos.component';
import { HomeComponent } from './pages/home/home.component';
import { NosotrosComponent } from './pages/nosotros/nosotros.component';
import { AuthComponent } from './pages/auth/auth.component';



export const routes: Routes = [
{ path: "", redirectTo: "/home", pathMatch: "full" },
{ path: 'productos', component: ProductosComponent },
{ path: 'home', component: HomeComponent },
{ path: 'nosotros', component: NosotrosComponent },
{path: 'productos', component: ProductosComponent},
{path: 'home', component: HomeComponent},
{path: 'nosotros', component: NosotrosComponent},
{path: 'auth', component: AuthComponent},
];

258 changes: 154 additions & 104 deletions Ricco2024/src/app/pages/auth/auth.component.css
Original file line number Diff line number Diff line change
@@ -1,123 +1,173 @@
*{
padding:0;

box-sizing:border-box;

main{

background: url("/assets/img/plato.png");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
}
body {

.caja{
display: flex;
flex-direction: column;
min-height: 100vh;

flex-direction: row;
position: relative;
padding: 40px 20px 30px 20px;
height: 400px;
width: 350px;
background-color: rgba(255, 220, 220, 0.4);
border-radius: 30px;
-webkit-backdrop-filter: blur(15px);
backdrop-filter: blur(15px);
border: 3px solid rgba(255, 255, 255, 0.2);
overflow: hidden;
}
.caja2{
background-color: rgba(255, 220, 220, 0.4);
border-radius: 30px;
-webkit-backdrop-filter: blur(15px);
backdrop-filter: blur(15px);
border: 3px solid rgba(255, 255, 255, 0.2);
overflow: hidden;
}
.contenedor-ingreso{
position: absolute;
width: 85%;
left: 27px;
transition: .5s ease-in-out;
}
.contenedor-registro{
position: absolute;
width: 85%;
height: 1000px;
right: -350px;
transition: .5s ease-in-out;
}
.caja-titulo{
text-align: center;
/*margin: 30px;*/
}
.caja-titulo h3{
font-size: 30px;
font-weight: 600;
margin-bottom: 8px

}
nav div .navbar-nav a{
color: rgb(138, 135, 135);
/* .icon img{
width: 60px;
margin-bottom: 10px;
}
div .position-absolute h2{
color: rgb(255, 255, 255);
.icon {
display:flex;
justify-content:center;
} */
.grupo-inputs{
width: 100%;

}
.burguers1{
text-align:center;
justify-content: center;
color: rgb(0, 0, 0)
.campo-input{
margin: 12px 0;
position: relative;
}
.caja-input{
width: 100%;
height: 40px;
font-size: 15px;
color: #040404;
border: none;
border-radius: 10px;
padding: 7px 45px 0 20px;
background: rgba(224, 223, 223, 0.6);
backdrop-filter: blur(2px);
outline: none;

}
.btn-color{
background-color: rgb(106, 165, 18);
.caja-input1{
width: 49%;
height: 40px;
font-size: 15px;
color: #040404;
border: none;
border-radius: 10px;
padding: 7px 45px 0 20px;
background: rgba(224, 223, 223, 0.6);
backdrop-filter: blur(2px);
outline: none;

}

.filtro {
filter:brightness(50%);
-webkit-filter:brightness(50%);
.campo-input label {
position: absolute;
left: 20px;
top: 15px;
font-size: 15px;
transition: .3s ease-in-out;
}

.card__align--center{
display:flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
.caja-input:focus~ label, .caja-input:valid~ label{
top: 2px;
font-size: 10px;
color: grey;
font-weight: 500;
}

.form__input-error{
font-size: 12px;
margin-bottom:0;
display:none;
}
.form__input-error-active{
display:block;
}
.form__valid-state{
position:sticky;
right:10px;
bottom:15px;
z-index: 100;
font-size: 16px;
opacity:0;
}
.carousel-caption{
text-align: left;
margin-top: 0;
margin-bottom: 200px;
font-size: 20px;
}
footer{
margin-top: 0;
background-color: black;
}
.link {
margin-top: 0;
padding-top: 0;
text-decoration:none ;
color: rgb(255, 255, 255);
;
}
a:hover{
color: rgb(10, 10, 10);
font-size: small;
}
body #bg {
background-color:#0b0b0bbc;
}
.nosotros{
color:#252525

}
#team {
background: #ffffff;
background: -webkit-linear-gradient(to top, #707070, #000000);
background: linear-gradient(to top, #444248, #000000);
min-height: 100vh;
.input-submit{
width: 100%;
height: 40px;
font-size: 15px;
font-weight: 500;
border: none;
border-radius: 10px;
background: #cccccd;
color: black;
box-shadow: 0px 4px 20px rgba(62, 9, 9, 0.145);
cursor: pointer;
transition: .4s;
}
.input-submit:hover{
background: rgb(90, 87, 87);
box-shadow: 0px 4px 20px rgba(62, 9, 9, 0.32);
color:#fff;
}

.social-link {
width: 30px;
height: 30px;
border: 1px solid #ddd;
.cambio{
display: flex;
position: absolute;
bottom: 20px;
left: 25px;
width: 85%;
height: 40px;
background: rgba(255, 255, 255, 0.16);
backdrop-filter: blur(10px);
border-radius: 10px;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.cambio a{
display: flex;
align-items: center;
justify-content: center;
color: #666;
border-radius: 50%;
transition: all 0.3s;
font-size: 0.9rem;
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
-ms-transition: all 0.3s;
-o-transition: all 0.3s;
}

.social-link:hover, .social-link:focus {
background: #ddd;
align-items: center;
font-size: 14px;
font-weight: 500;
color: #000;
text-decoration: none;
color: #555;
width: 50%;
border-radius: 10px;
z-index: 10;
}
#btn{
position: absolute;
bottom: 0;
left: 0;
width: 145px;
height: 50px;
background: #cccccd;
border-radius: 10px;
box-shadow: 2px 0px 12px rgba(0, 0, 0, 0.1);
transition: .5s ease-in-out;
}

.master {
background: #000;
@media screen and (max-width: 850px){
.caja{
padding: 20px 20px 30px 20px;
height: 590px;
}
}

.team {
display: flex;
align-items: center;
justify-content: center;
}
64 changes: 63 additions & 1 deletion Ricco2024/src/app/pages/auth/auth.component.html
Original file line number Diff line number Diff line change
@@ -1 +1,63 @@
<p>auth works!</p>
<main id="bg">
<br><br><br><br>
<br>
<div>
<form class="container my-6 justify-content-center col-8 border caja2 ">
<br>
<br>
<!--<p class="text-dark">REGISTRATE</p>-->
<div class="caja-titulo">
<h3>Registrate</h3>
<br>
<br>

</div>
<!--GRUPO NOMBRE/APELLIDO-->
<div class="d-flex mb-3">
<label for="nombre"></label>
<input type="text" id="nombre" class="form-control" placeholder="Nombre" required maxlength="30">
<label for="apellido"></label>
<input type="text" id="apellido" class="form-control ms-1" placeholder="Apellido" required
maxlength="30">
</div>
<!--GRUPO EMAIL/DIRECCION-->
<div class="d-flex mb-3">
<label for="correo"></label>
<input type="email" id="correo" class="form-control" placeholder="Email" required>
<label for="direccion"></label>
<input type="text" id="direccion" class="form-control ms-1" placeholder="Dirección" required>
</div>
<!--GRUPO BARRIO/LOCALIDAD-->
<div class="d-flex mb-3">
<label for="barrio"></label>
<input type="text" id="barrio" class="form-control" placeholder="Barrio" required>
<label for="localidad"></label>
<input type="text" id="localidad" class="form-control ms-1" placeholder="Localidad">
</div>
<!--GRUPO TELEFONO/CP-->
<div class="d-flex mb-3">
<label for="telefono"></label>
<input type="tel" id="telefono" class="form-control" placeholder="Teléfono" required>
<label for="cp"></label>
<input type="text" id="cp" class="form-control ms-1" placeholder="CP" required>
</div>
<!--GRUPO CONTRASEÑAS-->
<div class="d-flex mb-3">
<label for="password"></label>
<input type="password" id="password" class="form-control" placeholder="Contraseña" required>
<label for="password2"></label>
<input type="password" id="password2" name="contrasenia2" class="form-control ms-1"
placeholder="Confirmar Contraseña" required>
</div>


<button type="submit" class="btn input-submit w-100 " value="registar" id="submitButton"
onclick="event">Enviar</button>
<br><br>
<a class="enlace" href="./auth_login/login/login.component.html">¿Ya tenés una cuenta? <b> Iniciá
sesión</b></a>
<p id="mensajeError" style="color:#F12C3E; font-size: 13px;"></p> <!--agregue-->
</form>
</div>

</main>

0 comments on commit 8f06093

Please sign in to comment.