diff --git a/TokanPages.ClientApp/src/Components/Account/ResetPassword/View/__snapshots__/resetPasswordView.test.tsx.snap b/TokanPages.ClientApp/src/Components/Account/ResetPassword/View/__snapshots__/resetPasswordView.test.tsx.snap index a6059f0aa..d19cf0ed5 100644 --- a/TokanPages.ClientApp/src/Components/Account/ResetPassword/View/__snapshots__/resetPasswordView.test.tsx.snap +++ b/TokanPages.ClientApp/src/Components/Account/ResetPassword/View/__snapshots__/resetPasswordView.test.tsx.snap @@ -5,28 +5,34 @@ exports[`test account group component: resetPasswordView should render correctly className="makeStyles-section-1" > + + + Reset Password diff --git a/TokanPages.ClientApp/src/Components/Account/ResetPassword/View/resetPasswordStyle.tsx b/TokanPages.ClientApp/src/Components/Account/ResetPassword/View/resetPasswordStyle.tsx index e6c6a23a0..992008d0f 100644 --- a/TokanPages.ClientApp/src/Components/Account/ResetPassword/View/resetPasswordStyle.tsx +++ b/TokanPages.ClientApp/src/Components/Account/ResetPassword/View/resetPasswordStyle.tsx @@ -5,6 +5,9 @@ export const ResetPasswordStyle = makeStyles(() => ({ section: { backgroundColor: Colours.colours.white, }, + container: { + maxWidth: 700, + }, account: { fontSize: 72, color: Colours.colours.violet, diff --git a/TokanPages.ClientApp/src/Components/Account/ResetPassword/View/resetPasswordView.tsx b/TokanPages.ClientApp/src/Components/Account/ResetPassword/View/resetPasswordView.tsx index d48530e58..4cceedbe6 100644 --- a/TokanPages.ClientApp/src/Components/Account/ResetPassword/View/resetPasswordView.tsx +++ b/TokanPages.ClientApp/src/Components/Account/ResetPassword/View/resetPasswordView.tsx @@ -9,6 +9,7 @@ import { Card, CardContent, CircularProgress } from "@material-ui/core"; import { AccountCircle } from "@material-ui/icons"; import Skeleton from "@material-ui/lab/Skeleton"; import { ViewProperties } from "../../../../Shared/Abstractions"; +import { BackArrow } from "../../../../Shared/Components"; import { ReactChangeEvent, ReactKeyboardEvent } from "../../../../Shared/types"; import { ResetPasswordStyle } from "./resetPasswordStyle"; @@ -43,8 +44,11 @@ export const ResetPasswordView = (props: Properties): JSX.Element => { const classes = ResetPasswordStyle(); return (
- - + + + + + diff --git a/TokanPages.ClientApp/src/Components/Account/ResetPassword/__snapshots__/resetPassword.test.tsx.snap b/TokanPages.ClientApp/src/Components/Account/ResetPassword/__snapshots__/resetPassword.test.tsx.snap index d77f510ec..9947bc30a 100644 --- a/TokanPages.ClientApp/src/Components/Account/ResetPassword/__snapshots__/resetPassword.test.tsx.snap +++ b/TokanPages.ClientApp/src/Components/Account/ResetPassword/__snapshots__/resetPassword.test.tsx.snap @@ -5,23 +5,57 @@ exports[`test account group component: resetPassword should renders correctly '< class="makeStyles-section-1" >
+

diff --git a/TokanPages.ClientApp/src/Components/Account/ResetPassword/resetPassword.test.tsx b/TokanPages.ClientApp/src/Components/Account/ResetPassword/resetPassword.test.tsx index ed68cc100..4246fa9a2 100644 --- a/TokanPages.ClientApp/src/Components/Account/ResetPassword/resetPassword.test.tsx +++ b/TokanPages.ClientApp/src/Components/Account/ResetPassword/resetPassword.test.tsx @@ -2,6 +2,7 @@ import "../../../setupTests"; import React from "react"; import * as Redux from "react-redux"; import * as Router from "react-router"; +import { BrowserRouter } from "react-router-dom"; import { render } from "enzyme"; import { ResetPassword } from "./resetPassword"; @@ -33,7 +34,11 @@ describe("test account group component: resetPassword", () => { }); it("should renders correctly '' when content is loaded.", () => { - const html = render(); + const html = render( + + + + ); expect(useDispatchMock).toBeCalledTimes(1); expect(html).toMatchSnapshot(); }); diff --git a/TokanPages.ClientApp/src/Components/Account/UpdatePassword/View/__snapshots__/updatePasswordView.test.tsx.snap b/TokanPages.ClientApp/src/Components/Account/UpdatePassword/View/__snapshots__/updatePasswordView.test.tsx.snap index 9052cad4d..da2a8f1a7 100644 --- a/TokanPages.ClientApp/src/Components/Account/UpdatePassword/View/__snapshots__/updatePasswordView.test.tsx.snap +++ b/TokanPages.ClientApp/src/Components/Account/UpdatePassword/View/__snapshots__/updatePasswordView.test.tsx.snap @@ -5,28 +5,34 @@ exports[`test account group component: updatePasswordView should render correctl className="makeStyles-section-1" > + + + Update password diff --git a/TokanPages.ClientApp/src/Components/Account/UpdatePassword/View/updatePasswordStyle.tsx b/TokanPages.ClientApp/src/Components/Account/UpdatePassword/View/updatePasswordStyle.tsx index c6c94a78f..03e632e04 100644 --- a/TokanPages.ClientApp/src/Components/Account/UpdatePassword/View/updatePasswordStyle.tsx +++ b/TokanPages.ClientApp/src/Components/Account/UpdatePassword/View/updatePasswordStyle.tsx @@ -5,6 +5,9 @@ export const UpdatePasswordStyle = makeStyles(() => ({ section: { backgroundColor: Colours.colours.white, }, + container: { + maxWidth: 700, + }, account: { fontSize: 72, color: Colours.colours.violet, diff --git a/TokanPages.ClientApp/src/Components/Account/UpdatePassword/View/updatePasswordView.tsx b/TokanPages.ClientApp/src/Components/Account/UpdatePassword/View/updatePasswordView.tsx index b63950074..39e299fcb 100644 --- a/TokanPages.ClientApp/src/Components/Account/UpdatePassword/View/updatePasswordView.tsx +++ b/TokanPages.ClientApp/src/Components/Account/UpdatePassword/View/updatePasswordView.tsx @@ -9,7 +9,7 @@ import { AccountCircle } from "@material-ui/icons"; import Skeleton from "@material-ui/lab/Skeleton"; import { ViewProperties } from "../../../../Shared/Abstractions"; import { ReactChangeEvent, ReactKeyboardEvent } from "../../../../Shared/types"; -import { TextFiedWithPassword } from "../../../../Shared/Components"; +import { BackArrow, TextFiedWithPassword } from "../../../../Shared/Components"; import { UpdatePasswordStyle } from "./updatePasswordStyle"; interface Properties extends ViewProperties { @@ -46,8 +46,11 @@ export const UpdatePasswordView = (props: Properties): JSX.Element => { const classes = UpdatePasswordStyle(); return (
- - + + + + + diff --git a/TokanPages.ClientApp/src/Components/Account/UpdatePassword/__snapshots__/updatePassword.test.tsx.snap b/TokanPages.ClientApp/src/Components/Account/UpdatePassword/__snapshots__/updatePassword.test.tsx.snap index 4c02b1515..c2e60e45d 100644 --- a/TokanPages.ClientApp/src/Components/Account/UpdatePassword/__snapshots__/updatePassword.test.tsx.snap +++ b/TokanPages.ClientApp/src/Components/Account/UpdatePassword/__snapshots__/updatePassword.test.tsx.snap @@ -5,23 +5,57 @@ exports[`test account group component: updatePassword should render correctly '< class="makeStyles-section-1" >
+

+ +
+
+

+ + + Create a new account diff --git a/TokanPages.ClientApp/src/Components/Account/UserSignup/View/userSignupStyle.tsx b/TokanPages.ClientApp/src/Components/Account/UserSignup/View/userSignupStyle.tsx index b0cfb89b9..736ae8d97 100644 --- a/TokanPages.ClientApp/src/Components/Account/UserSignup/View/userSignupStyle.tsx +++ b/TokanPages.ClientApp/src/Components/Account/UserSignup/View/userSignupStyle.tsx @@ -5,6 +5,9 @@ export const UserSignupStyle = makeStyles(() => ({ section: { backgroundColor: Colours.colours.white, }, + container: { + maxWidth: 700, + }, account: { fontSize: 72, color: Colours.colours.violet, diff --git a/TokanPages.ClientApp/src/Components/Account/UserSignup/View/userSignupView.tsx b/TokanPages.ClientApp/src/Components/Account/UserSignup/View/userSignupView.tsx index 5d47cdd68..06ca919f4 100644 --- a/TokanPages.ClientApp/src/Components/Account/UserSignup/View/userSignupView.tsx +++ b/TokanPages.ClientApp/src/Components/Account/UserSignup/View/userSignupView.tsx @@ -14,7 +14,7 @@ import Skeleton from "@material-ui/lab/Skeleton"; import { VioletCheckbox } from "../../../../Theme"; import { ViewProperties } from "../../../../Shared/Abstractions"; import { ReactChangeEvent, ReactKeyboardEvent } from "../../../../Shared/types"; -import { TextFiedWithPassword } from "../../../../Shared/Components"; +import { BackArrow, TextFiedWithPassword } from "../../../../Shared/Components"; import { ReactHtmlParser } from "../../../../Shared/Services/Renderers"; import { UserSignupStyle } from "./userSignupStyle"; @@ -63,8 +63,11 @@ export const UserSignupView = (props: Properties): JSX.Element => { const classes = UserSignupStyle(); return (
- - + + + + + diff --git a/TokanPages.ClientApp/src/Components/Account/UserSignup/__snapshots__/userSignup.test.tsx.snap b/TokanPages.ClientApp/src/Components/Account/UserSignup/__snapshots__/userSignup.test.tsx.snap index 05ba608d9..d2d82d063 100644 --- a/TokanPages.ClientApp/src/Components/Account/UserSignup/__snapshots__/userSignup.test.tsx.snap +++ b/TokanPages.ClientApp/src/Components/Account/UserSignup/__snapshots__/userSignup.test.tsx.snap @@ -5,23 +5,57 @@ exports[`test account group component: userSignup should render correctly '
+

+
+
+ +

+ Contact me +

+
@@ -67,10 +110,10 @@ exports[`test component: contactFormView should render correctly '