page login finit
This commit is contained in:
31
src/app/components/input-login/input-login.css
Normal file
31
src/app/components/input-login/input-login.css
Normal file
@@ -0,0 +1,31 @@
|
||||
.input-container {
|
||||
margin-top: 2em;
|
||||
width: 100%;
|
||||
border-bottom: 2.5px solid #93441a;
|
||||
padding-bottom: 5px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.input-container .icon {
|
||||
|
||||
}
|
||||
|
||||
|
||||
input {
|
||||
font-size: 1.4em;
|
||||
width: 100%;
|
||||
border: none;
|
||||
background: none;
|
||||
color: #93441a;
|
||||
}
|
||||
|
||||
input::placeholder {
|
||||
color: #93441a;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
}
|
||||
6
src/app/components/input-login/input-login.html
Normal file
6
src/app/components/input-login/input-login.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<div class="input-container">
|
||||
<div class="icon">
|
||||
<ng-content></ng-content>
|
||||
</div>
|
||||
<input placeholder="{{ inputPlaceholder() }}" type="{{ inputType() }}"/>
|
||||
</div>
|
||||
@@ -68,4 +68,72 @@
|
||||
object-fit: cover;
|
||||
border-radius: 20px;
|
||||
|
||||
}
|
||||
|
||||
.input-container {
|
||||
margin-top: 4em;
|
||||
}
|
||||
|
||||
.forgot-password {
|
||||
margin-top: 0.5em;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.forgot-password p {
|
||||
color: #93441a;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid #93441a;
|
||||
font-size: 0.8em;
|
||||
|
||||
}
|
||||
|
||||
.other-connection-container {
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
.other-connection {
|
||||
cursor: pointer;
|
||||
margin-top: 1em;
|
||||
border-radius: 30px;
|
||||
border: 1px solid black;
|
||||
display: flex;
|
||||
padding: 12px 20px;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.other-connection p {
|
||||
font-size: 1.15em;
|
||||
}
|
||||
.other-connection .icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.other-connection .icon img {
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
}
|
||||
|
||||
|
||||
.button-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 3em;
|
||||
}
|
||||
|
||||
.button-container .button {
|
||||
background: black;
|
||||
cursor: pointer;
|
||||
|
||||
border: 1px solid;
|
||||
border-radius: 30px;
|
||||
padding: 10px 25px;
|
||||
}
|
||||
|
||||
.button-container .button p {
|
||||
color: #fff;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
@@ -19,6 +19,53 @@
|
||||
<div class="top-img">
|
||||
<img src="assets/image/pyrofetes-logo.png" />
|
||||
</div>
|
||||
<div class="input-container">
|
||||
<app-input-login inputType="text" inputPlaceholder="Adresse e-mail">
|
||||
<svg width="1.6em" height="1.6em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M5 21C5 17.134 8.13401 14 12 14C15.866 14 19 17.134 19 21M16 7C16 9.20914 14.2091 11 12 11C9.79086 11 8 9.20914 8 7C8 4.79086 9.79086 3 12 3C14.2091 3 16 4.79086 16 7Z" stroke="#93441a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
</app-input-login>
|
||||
<app-input-login inputType="password" inputPlaceholder="Mot de passe">
|
||||
<svg width="1.6em" height="1.6em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M7 10.0288C7.47142 10 8.05259 10 8.8 10H15.2C15.9474 10 16.5286 10 17 10.0288M7 10.0288C6.41168 10.0647 5.99429 10.1455 5.63803 10.327C5.07354 10.6146 4.6146 11.0735 4.32698 11.638C4 12.2798 4 13.1198 4 14.8V16.2C4 17.8802 4 18.7202 4.32698 19.362C4.6146 19.9265 5.07354 20.3854 5.63803 20.673C6.27976 21 7.11984 21 8.8 21H15.2C16.8802 21 17.7202 21 18.362 20.673C18.9265 20.3854 19.3854 19.9265 19.673 19.362C20 18.7202 20 17.8802 20 16.2V14.8C20 13.1198 20 12.2798 19.673 11.638C19.3854 11.0735 18.9265 10.6146 18.362 10.327C18.0057 10.1455 17.5883 10.0647 17 10.0288M7 10.0288V8C7 5.23858 9.23858 3 12 3C14.7614 3 17 5.23858 17 8V10.0288" stroke="#93441a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
</app-input-login>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="button-container">
|
||||
<div class="button">
|
||||
<p>Se connecter</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="forgot-password">
|
||||
<p>Mot de passe oublié ?</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="other-connection-container">
|
||||
<div class="other-connection">
|
||||
<div class="icon">
|
||||
<img src="assets/google.svg" >
|
||||
|
||||
</div>
|
||||
<p>Connexion avec Google</p>
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="other-connection">
|
||||
<div class="icon">
|
||||
<img src="assets/apple.svg" >
|
||||
|
||||
</div>
|
||||
<p>Connexion avec Apple</p>
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,11 +1,16 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {InputLogin} from "../../input-login/input-login";
|
||||
|
||||
|
||||
@Component({
|
||||
selector: 'app-login',
|
||||
imports: [],
|
||||
imports: [
|
||||
InputLogin
|
||||
],
|
||||
templateUrl: 'login.html',
|
||||
styleUrls: ['login.css'],
|
||||
})
|
||||
export class Login {
|
||||
|
||||
|
||||
}
|
||||
|
||||
19
src/assets/apple.svg
Normal file
19
src/assets/apple.svg
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg width="800px" height="800px" viewBox="-1.5 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
|
||||
<title>apple [#173]</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs>
|
||||
|
||||
</defs>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="Dribbble-Light-Preview" transform="translate(-102.000000, -7439.000000)" fill="#000000">
|
||||
<g id="icons" transform="translate(56.000000, 160.000000)">
|
||||
<path d="M57.5708873,7282.19296 C58.2999598,7281.34797 58.7914012,7280.17098 58.6569121,7279 C57.6062792,7279.04 56.3352055,7279.67099 55.5818643,7280.51498 C54.905374,7281.26397 54.3148354,7282.46095 54.4735932,7283.60894 C55.6455696,7283.69593 56.8418148,7283.03894 57.5708873,7282.19296 M60.1989864,7289.62485 C60.2283111,7292.65181 62.9696641,7293.65879 63,7293.67179 C62.9777537,7293.74279 62.562152,7295.10677 61.5560117,7296.51675 C60.6853718,7297.73474 59.7823735,7298.94772 58.3596204,7298.97372 C56.9621472,7298.99872 56.5121648,7298.17973 54.9134635,7298.17973 C53.3157735,7298.17973 52.8162425,7298.94772 51.4935978,7298.99872 C50.1203933,7299.04772 49.0738052,7297.68074 48.197098,7296.46676 C46.4032359,7293.98379 45.0330649,7289.44985 46.8734421,7286.3899 C47.7875635,7284.87092 49.4206455,7283.90793 51.1942837,7283.88393 C52.5422083,7283.85893 53.8153044,7284.75292 54.6394294,7284.75292 C55.4635543,7284.75292 57.0106846,7283.67793 58.6366882,7283.83593 C59.3172232,7283.86293 61.2283842,7284.09893 62.4549652,7285.8199 C62.355868,7285.8789 60.1747177,7287.09489 60.1989864,7289.62485" id="apple-[#173]">
|
||||
|
||||
</path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
28
src/assets/google.svg
Normal file
28
src/assets/google.svg
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg width="800px" height="800px" viewBox="-0.5 0 48 48" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
|
||||
<title>Google-color</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs>
|
||||
|
||||
</defs>
|
||||
<g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="Color-" transform="translate(-401.000000, -860.000000)">
|
||||
<g id="Google" transform="translate(401.000000, 860.000000)">
|
||||
<path d="M9.82727273,24 C9.82727273,22.4757333 10.0804318,21.0144 10.5322727,19.6437333 L2.62345455,13.6042667 C1.08206818,16.7338667 0.213636364,20.2602667 0.213636364,24 C0.213636364,27.7365333 1.081,31.2608 2.62025,34.3882667 L10.5247955,28.3370667 C10.0772273,26.9728 9.82727273,25.5168 9.82727273,24" id="Fill-1" fill="#FBBC05">
|
||||
|
||||
</path>
|
||||
<path d="M23.7136364,10.1333333 C27.025,10.1333333 30.0159091,11.3066667 32.3659091,13.2266667 L39.2022727,6.4 C35.0363636,2.77333333 29.6954545,0.533333333 23.7136364,0.533333333 C14.4268636,0.533333333 6.44540909,5.84426667 2.62345455,13.6042667 L10.5322727,19.6437333 C12.3545909,14.112 17.5491591,10.1333333 23.7136364,10.1333333" id="Fill-2" fill="#EB4335">
|
||||
|
||||
</path>
|
||||
<path d="M23.7136364,37.8666667 C17.5491591,37.8666667 12.3545909,33.888 10.5322727,28.3562667 L2.62345455,34.3946667 C6.44540909,42.1557333 14.4268636,47.4666667 23.7136364,47.4666667 C29.4455,47.4666667 34.9177955,45.4314667 39.0249545,41.6181333 L31.5177727,35.8144 C29.3995682,37.1488 26.7323182,37.8666667 23.7136364,37.8666667" id="Fill-3" fill="#34A853">
|
||||
|
||||
</path>
|
||||
<path d="M46.1454545,24 C46.1454545,22.6133333 45.9318182,21.12 45.6113636,19.7333333 L23.7136364,19.7333333 L23.7136364,28.8 L36.3181818,28.8 C35.6879545,31.8912 33.9724545,34.2677333 31.5177727,35.8144 L39.0249545,41.6181333 C43.3393409,37.6138667 46.1454545,31.6490667 46.1454545,24" id="Fill-4" fill="#4285F4">
|
||||
|
||||
</path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
Reference in New Issue
Block a user