diff --git a/deliverables/2021-06-23 - AMOS SS2021 - Team 8 - Planning Document.pdf b/deliverables/2021-06-23 - AMOS SS2021 - Team 8 - Planning Document.pdf new file mode 100644 index 00000000..7ededc59 Binary files /dev/null and b/deliverables/2021-06-23 - AMOS SS2021 - Team 8 - Planning Document.pdf differ diff --git a/deliverables/2021-06-23 Kanban Board.png b/deliverables/2021-06-23 Kanban Board.png new file mode 100644 index 00000000..16251e69 Binary files /dev/null and b/deliverables/2021-06-23 Kanban Board.png differ diff --git a/frontend/src/components/details/navbar.css b/frontend/src/components/details/navbar.css index 48c9bf5e..3858d903 100644 --- a/frontend/src/components/details/navbar.css +++ b/frontend/src/components/details/navbar.css @@ -22,8 +22,8 @@ } .navbar i { - margin-right: auto; - margin-left: auto; + margin-right: 5px; + margin-left: 5px; } .navbar Link { @@ -67,7 +67,7 @@ .Addbtn { float: left; display: flex; - flex-direction: column; + flex-direction: row; font-weight: bold; /* color: var(--global--panel--color); */ background-color: var(--global--background--color); @@ -84,7 +84,7 @@ .Pdfbtn { float: left; display: flex; - flex-direction: column; + flex-direction: row; text-decoration: none; font-weight: bold; /* color: var(--global--panel--color); */ diff --git a/frontend/src/components/login/RecoverPasswordComponent.js b/frontend/src/components/login/RecoverPasswordComponent.js new file mode 100644 index 00000000..21dc9ac3 --- /dev/null +++ b/frontend/src/components/login/RecoverPasswordComponent.js @@ -0,0 +1,56 @@ +import './RecoverPasswordStyle.css'; +import { useContext } from 'react'; +import slugs from 'resources/slugs'; +import { GlobalContext } from 'hooks/GlobalContext'; +import React from 'react'; + +function RecoverPasswordComponent() { + const [, setState] = useContext(GlobalContext); + + return ( +
+
+
setState({ userIsLoggedIn: true })} + > +
+
+

Forgot Your Password ?

+
+
+ +
+
+

+ Don't fret! Just type in your email and we will send you a code to + reset the password +

+
+ + + + + +
+ Back to SignIn +
+
+
+
+
+ ); +} + +export default RecoverPasswordComponent; diff --git a/frontend/src/components/login/RecoverPasswordStyle.css b/frontend/src/components/login/RecoverPasswordStyle.css new file mode 100644 index 00000000..db26381c --- /dev/null +++ b/frontend/src/components/login/RecoverPasswordStyle.css @@ -0,0 +1,67 @@ +/* Stylefile for the RecoverPasswordComponent. */ + +/* Vertically Centering Container */ +.flex-container-recover { + display: flex; + flex-wrap: wrap; + justify-content: center; + align-items: center; + height: 100%; + overflow: auto; + color: 'white'; + background: radial-gradient(#54386e, #6b26af, #5d0785); +} + +/* Bordered form */ +form.recover { + display: flex; + flex-direction: column; + background-color: #ffffff; + border: 3px solid #cf9bff; + margin: auto; + border-radius: 25px; + max-width: 800px; +} +button { + background-color: #8a00e5; +} + +/* Full-width inputs */ +input[type='text'].recover { + width: 100%; + padding: 12px 20px; + margin: 8px 0; + display: inline-block; + border: 1px solid #cf9bff; + box-sizing: border-box; + border-radius: 10px; +} + +/* Making the selected text field appearance also rounded */ +input.recover:focus { + outline: none; + box-shadow: 0 0 0 2px; +} + +/* Set a style for all buttons */ +button.recover { + color: white; + padding: 14px 20px; + margin: 8px 0; + border: none; + cursor: pointer; + width: 100%; + border-radius: 10px; +} + +/* Add a hover effect for buttons */ +button.recover:hover { + opacity: 0.8; +} + +/* Add padding to containers */ +.recoverpassword-container { + padding: 16px; + max-width: 500px; + margin: auto; +} diff --git a/frontend/src/routes/PublicRoutes.js b/frontend/src/routes/PublicRoutes.js index 38238d21..a12f14c0 100644 --- a/frontend/src/routes/PublicRoutes.js +++ b/frontend/src/routes/PublicRoutes.js @@ -8,13 +8,14 @@ import { Redirect, Route, Router, Switch, useHistory } from 'react-router-dom'; import SLUGS from 'resources/slugs'; import Registration from 'components/login/Registration.js'; import LoginComponent from 'components/login/LoginComponent'; +import RecoverPasswordComponent from 'components/login/RecoverPasswordComponent'; function PublicRoutes() { return ( -
forgotPassword
} /> +