From d5d82f60a64b9752ccdcfe7d64644708758ee21b Mon Sep 17 00:00:00 2001 From: chevalliea Date: Thu, 27 Nov 2025 14:35:29 +0100 Subject: [PATCH] page login finit --- .../components/input-login/input-login.css | 31 +++++++++ .../components/input-login/input-login.html | 6 ++ src/app/components/pages/login/login.css | 68 +++++++++++++++++++ src/app/components/pages/login/login.html | 47 +++++++++++++ src/app/components/pages/login/login.ts | 7 +- src/assets/apple.svg | 19 ++++++ src/assets/google.svg | 28 ++++++++ 7 files changed, 205 insertions(+), 1 deletion(-) create mode 100644 src/app/components/input-login/input-login.css create mode 100644 src/app/components/input-login/input-login.html create mode 100644 src/assets/apple.svg create mode 100644 src/assets/google.svg diff --git a/src/app/components/input-login/input-login.css b/src/app/components/input-login/input-login.css new file mode 100644 index 00000000..ae06d9e5 --- /dev/null +++ b/src/app/components/input-login/input-login.css @@ -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; +} \ No newline at end of file diff --git a/src/app/components/input-login/input-login.html b/src/app/components/input-login/input-login.html new file mode 100644 index 00000000..85543a7a --- /dev/null +++ b/src/app/components/input-login/input-login.html @@ -0,0 +1,6 @@ +
+
+ +
+ +
\ No newline at end of file diff --git a/src/app/components/pages/login/login.css b/src/app/components/pages/login/login.css index 8e44631a..d04f77e8 100644 --- a/src/app/components/pages/login/login.css +++ b/src/app/components/pages/login/login.css @@ -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; } \ No newline at end of file diff --git a/src/app/components/pages/login/login.html b/src/app/components/pages/login/login.html index fde8a1f9..47c37a42 100644 --- a/src/app/components/pages/login/login.html +++ b/src/app/components/pages/login/login.html @@ -19,6 +19,53 @@
+
+ + + + + + + + + + + +
+ + +
+
+

Se connecter

+
+
+ +
+

Mot de passe oubliƩ ?

+
+ + + + + +
+
+
+ + +
+

Connexion avec Google

+
+
+
+
+ + +
+

Connexion avec Apple

+
+
+
\ No newline at end of file diff --git a/src/app/components/pages/login/login.ts b/src/app/components/pages/login/login.ts index 7c1a1df5..cce66991 100644 --- a/src/app/components/pages/login/login.ts +++ b/src/app/components/pages/login/login.ts @@ -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 { + } diff --git a/src/assets/apple.svg b/src/assets/apple.svg new file mode 100644 index 00000000..381f84a8 --- /dev/null +++ b/src/assets/apple.svg @@ -0,0 +1,19 @@ + + + + + apple [#173] + Created with Sketch. + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/assets/google.svg b/src/assets/google.svg new file mode 100644 index 00000000..d5f4dbeb --- /dev/null +++ b/src/assets/google.svg @@ -0,0 +1,28 @@ + + + + + Google-color + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file