From 0cf67261a0069151cb7a2c685d7b59676b4629af Mon Sep 17 00:00:00 2001 From: Maxime Lalo Date: Fri, 24 Nov 2023 15:15:25 +0100 Subject: [PATCH] :sparkles: Customer login page --- .../Layouts/LoginCustomer/classes.module.scss | 34 +++++++++++++++---- .../Layouts/LoginCustomer/index.tsx | 21 +++++++++--- 2 files changed, 43 insertions(+), 12 deletions(-) diff --git a/src/front/Components/Layouts/LoginCustomer/classes.module.scss b/src/front/Components/Layouts/LoginCustomer/classes.module.scss index e1e032e8..2fd71d0d 100644 --- a/src/front/Components/Layouts/LoginCustomer/classes.module.scss +++ b/src/front/Components/Layouts/LoginCustomer/classes.module.scss @@ -2,28 +2,48 @@ .root { display: flex; - align-items: center; - justify-content: center; flex-direction: column; - height: 100%; max-width: 530px; margin: auto; + margin-top: 220px; .title { - margin: 32px 0; - text-align: center; + margin-bottom: 32px; + text-align: left; @media (max-width: $screen-s) { font-family: 48px; } } + .logo { + margin-top: 32px; + cursor: pointer; + } + + .what_is_france_connect { + color: var(--light-text-action-high-blue-france, #000091); + /* 2.Corps de texte/SM - Texte détail/Desktop & Mobile - Regular */ + font-family: Marianne; + font-size: 14px; + font-style: normal; + font-weight: 400; + line-height: 24px; /* 171.429% */ + margin-top: 12px; + } + + .or { + margin-top: 32px; + } .forget-password { margin-top: 32px; margin-bottom: 8px; } - .logo { - cursor: pointer; + .form { + margin-top: 32px; + .submit_button { + margin-top: 32px; + } } } diff --git a/src/front/Components/Layouts/LoginCustomer/index.tsx b/src/front/Components/Layouts/LoginCustomer/index.tsx index 40cb3edf..fb386de1 100644 --- a/src/front/Components/Layouts/LoginCustomer/index.tsx +++ b/src/front/Components/Layouts/LoginCustomer/index.tsx @@ -1,4 +1,3 @@ -import CoffreIcon from "@Assets/Icons/coffre.svg"; import franceConnectLogo from "./france-connect.svg"; import Button, { EButtonVariant } from "@Front/Components/DesignSystem/Button"; import Typography, { ITypo } from "@Front/Components/DesignSystem/Typography"; @@ -11,6 +10,8 @@ import classes from "./classes.module.scss"; import LandingImage from "./landing-connect.jpeg"; import Link from "next/link"; import Confirm from "@Front/Components/DesignSystem/Modal/Confirm"; +import Form from "@Front/Components/DesignSystem/Form"; +import TextField from "@Front/Components/DesignSystem/Form/TextField"; export default function Login() { const router = useRouter(); @@ -45,17 +46,27 @@ export default function Login() { return (
- coffre -
Connexion espace client
+
Identifiez-vous
+ Pour accéder à votre espace de dépôt des documents, veuillez vous identifier. france-connect - +
Qu'est ce que FranceConnect ?
+ + Ou + +
+ + + + {/*
Vous n'arrivez pas à vous connecter ?
- + */}