diff --git a/src/front/Components/Layouts/MyAccount/classes.module.scss b/src/front/Components/Layouts/MyAccount/classes.module.scss new file mode 100644 index 00000000..7e5b5fbd --- /dev/null +++ b/src/front/Components/Layouts/MyAccount/classes.module.scss @@ -0,0 +1,27 @@ +@import "@Themes/constants.scss"; + +.root { + .title { + margin-top: 24px; + } + + .parts-container { + display: flex; + gap: 64px; + margin-top: 32px; + + @media (max-width: $screen-m) { + flex-direction: column; + } + .part { + flex: 1; + + .form-container { + display: flex; + flex-direction: column; + gap: 24px; + margin-top: 32px; + } + } + } +} diff --git a/src/front/Components/Layouts/MyAccount/index.tsx b/src/front/Components/Layouts/MyAccount/index.tsx new file mode 100644 index 00000000..2eaa1316 --- /dev/null +++ b/src/front/Components/Layouts/MyAccount/index.tsx @@ -0,0 +1,61 @@ +import Form, { IApiFormErrors } from "@Front/Components/DesignSystem/Form"; +import InputField from "@Front/Components/DesignSystem/Form/Elements/InputField"; +import Typography, { ITypo, ITypoColor } from "@Front/Components/DesignSystem/Typography"; +import Base from "@Front/Components/Layouts/Base"; +import DefaultTemplate from "@Front/Components/LayoutTemplates/DefaultTemplate"; +import React from "react"; + +import classes from "./classes.module.scss"; + +type IProps = {}; +type IState = {}; + +export default class MyAccount extends Base { + public override render(): JSX.Element { + return ( + +
+ + Mon compte + +
+
+ + Mes informations + +
+
+ + + + +
+
+
+
+ + Mon office + +
+
+ + + + +
+
+
+
+
+
+ ); + } + + private onFormSubmit( + e: React.FormEvent | null, + values: { + [key: string]: string; + }, + onApiErrors: (apiFormErrors: IApiFormErrors | null) => void, + ) {} +} diff --git a/src/pages/my-account/index.tsx b/src/pages/my-account/index.tsx new file mode 100644 index 00000000..cb91f1aa --- /dev/null +++ b/src/pages/my-account/index.tsx @@ -0,0 +1,5 @@ +import MyAccount from "@Front/Components/Layouts/MyAccount"; + +export default function Route() { + return ; +}