diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..a6d5af4 Binary files /dev/null and b/.DS_Store differ diff --git a/public/fond_page_connexion.png b/public/fond_page_connexion.png new file mode 100644 index 0000000..f665ce3 Binary files /dev/null and b/public/fond_page_connexion.png differ diff --git a/public/index.html b/public/index.html index 2a092ef..27eb29d 100644 --- a/public/index.html +++ b/public/index.html @@ -11,7 +11,7 @@ /> JTT CrM - +
diff --git a/src/index.js b/src/index.js index 01bbdf0..f991f2a 100644 --- a/src/index.js +++ b/src/index.js @@ -1,6 +1,7 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; import App from './App'; +import "./styles/index.scss"; const root = ReactDOM.createRoot(document.getElementById('root')); root.render( diff --git a/src/pages/Connexion.js b/src/pages/Connexion.js index 6051e5a..86881db 100644 --- a/src/pages/Connexion.js +++ b/src/pages/Connexion.js @@ -3,19 +3,30 @@ import React from 'react'; const Connexion = () => { return ( -
+
{/* Create a connexion page */} - -
-
- - - - - -
-
- Mot de passe oubliƩ ? + +
+ + + Connexion + + + + + + + + +
+ + +
+ + +
+
+ Mot de passe oubliƩ ?
); }; diff --git a/src/styles/components/_connexion.scss b/src/styles/components/_connexion.scss index e69de29..38031e0 100644 --- a/src/styles/components/_connexion.scss +++ b/src/styles/components/_connexion.scss @@ -0,0 +1,95 @@ +.page_connexion { + display: flex; + flex-direction: column; + align-items: center; + + .logo { + width: 200px; + height: 200px; + } + + .formulaire_de_connexion { + background: rgba(255, 255, 255, 0.143); + box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); + backdrop-filter: blur(3px); + -webkit-backdrop-filter: blur(1.5px); + border-radius: 15px; + border: 1px solid rgba(255, 255, 255, 0.18); + + padding: 40px; + padding-top: 100px; + width: 450px; + height: 470px; + display: flex; + align-items: center; + flex-direction: column; + justify-content: space-between; + margin: 10px; + + .connexion_text { + font-size: 25px; + } + + .text_zone { + width: 370px; + height: 50px; + background-color: transparent; + border-radius: 5px; + border: 0.5px solid; + padding-left: 10px; + padding-right: 10px; + } + + .envoyer { + width: 100%; + display: flex; + justify-content: space-evenly; + align-items: center; + + button { + width: 150px; + height: 40px; + border-radius: 10px; + border: 0.5px solid; + color: $white; + border: 0; + background-color: rgba(163, 163, 163, 0.371); + border: 1px solid rgba(255,255,255,0.1); + backdrop-filter: blur(30px); + color: rgb(255, 255, 255); + cursor: pointer; + font-size: 15px; + &:hover{ + background-color: rgba(114, 114, 114, 0.371); + } + &:active{ + background-color:rgba(68, 68, 68, 0.972); + } + } + + .memory_me { + display: flex; + align-items: center; + + label { + margin-right: 10px; + font-size: 12px; + color: rgb(59, 59, 59); + } + input{ + cursor: pointer; + } + } + } + } + + .forgot_pw { + outline: none; + text-decoration: none; + color: rgb(159, 159, 159); + + &:hover { + color: rgba(53, 112, 206, 1); + } + } +} \ No newline at end of file diff --git a/src/styles/index.scss b/src/styles/index.scss index a38598e..b548b9e 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -1 +1,2 @@ -@import "./settings.scss"; \ No newline at end of file +@import "./settings.scss"; +@import "./components/connexion.scss"; \ No newline at end of file